ami log

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ami log

David L-2

Hello,
I have a variable in asterisk that store a url as well as other
parameters seperated by coma  eg

Set(eventstring=${Number}','${urlstring})

where urlstring=http://xx.xx.xx.xx/eventmanger

but in my ami event in adhearsion it replaces ':' with "=>"
ideas why?

INFO ami: #<Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:
0xb787b2a4 @name="Newexten", @headers={"AppData: 4504,86,2,2,SIP/
192.168.x.x-081914c0,http"=>"//192.168.x.x/EventManager",
"Channel"=>"SIP/192.168.x.x-081914c0", "Context"=>"cb_emergency_temp",
"Uniqueid"=>"1236958200.106", "Application"=>"NoOp",
"Privilege"=>"call,all", "Priority"=>"7", "Extension"=>"s"}>

thanks
David L
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/adhearsion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: ami log

JasonGoecke

I believe it is related to this open bug:

http://adhearsion.lighthouseapp.com/projects/5871/tickets/45-channel-improperly-parsed-in-events

Where the way Adhearsion parses AMI it is bound by colons. I will add
your details to the bug as well.

On Mar 13, 8:41 am, David L <[hidden email]> wrote:

> Hello,
> I have a variable in asterisk that store a url as well as other
> parameters seperated by coma  eg
>
> Set(eventstring=${Number}','${urlstring})
>
> where urlstring=http://xx.xx.xx.xx/eventmanger
>
> but in my ami event in adhearsion it replaces ':' with "=>"
> ideas why?
>
> INFO ami: #<Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:
> 0xb787b2a4 @name="Newexten", @headers={"AppData: 4504,86,2,2,SIP/
> 192.168.x.x-081914c0,http"=>"//192.168.x.x/EventManager",
> "Channel"=>"SIP/192.168.x.x-081914c0", "Context"=>"cb_emergency_temp",
> "Uniqueid"=>"1236958200.106", "Application"=>"NoOp",
> "Privilege"=>"call,all", "Priority"=>"7", "Extension"=>"s"}>
>
> thanks
> David L
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/adhearsion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: ami log

David L-2

Thanks Jason.

On Mar 13, 10:21 am, JasonGoecke <[hidden email]> wrote:

> I believe it is related to this open bug:
>
> http://adhearsion.lighthouseapp.com/projects/5871/tickets/45-channel-...
>
> Where the way Adhearsion parses AMI it is bound by colons. I will add
> your details to the bug as well.
>
> On Mar 13, 8:41 am, David L <[hidden email]> wrote:
>
> > Hello,
> > I have a variable in asterisk that store a url as well as other
> > parameters seperated by coma  eg
>
> > Set(eventstring=${Number}','${urlstring})
>
> > where urlstring=http://xx.xx.xx.xx/eventmanger
>
> > but in my ami event in adhearsion it replaces ':' with "=>"
> > ideas why?
>
> > INFO ami: #<Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:
> > 0xb787b2a4 @name="Newexten", @headers={"AppData: 4504,86,2,2,SIP/
> > 192.168.x.x-081914c0,http"=>"//192.168.x.x/EventManager",
> > "Channel"=>"SIP/192.168.x.x-081914c0", "Context"=>"cb_emergency_temp",
> > "Uniqueid"=>"1236958200.106", "Application"=>"NoOp",
> > "Privilege"=>"call,all", "Priority"=>"7", "Extension"=>"s"}>
>
> > thanks
> > David L
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/adhearsion?hl=en
-~----------~----~----~----~------~----~------~--~---