Giter Site home page Giter Site logo

ahn-rails's People

Contributors

baldrailers avatar benlangfeld avatar bklang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

bklang

ahn-rails's Issues

ActiveRecord 3.0 and AHN

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/116. Created by Ben Klang

Begin forwarded message:

> From: Polysics <[email protected]
> Date: September 2, 2010 5:51:58 PM EDT
> To: Adhearsion <[email protected]>
> Subject: [Adhearsion] ActiveRecord 3.0 and AHN
> Reply-To: [email protected]
> 
> Hello,
> aside from a few version gripes, I ran into trouble trying to run my
> apps after upgrading to 0.8.5.
> 
> Basically, starting up the app with database enabled was resulting in:
> FATAL ahn: Database support requires the "activerecord" gem.
> 
> I had installed AR 3.0 earlier in the afternoon.
> 
> After putting "gem 'activerecord', '2.3.5'" in /usr/bin/ahn,
> everything went good.
> I suppose that is not a solution, but I wanted to bring it up so
> better people would look at it.
> 
> Keep up the good work!
> 
> Luca/Polysics
> 
> P.S. everyone follow #GWOB on Twitter, it's for a good cause! http://gwob.org

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

sip calling asterisk

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/131. Created by gokulnath

on calling adhearsion context from ekiga, the below error was displayed in asterisk

== Using SIP RTP CoS mark 5
-- Executing [121@mgov_ivr:1] AGI("SIP/101-0000000b", "agi://127.0.0.1:4573") in new stack
-- <SIP/101-0000000b>AGI Script agi://127.0.0.1:4573 completed, returning 0
-- Auto fallthrough, channel 'SIP/101-0000000b' status is 'UNKNOWN'

my context in extentions.conf is
[mgov_ivr]
exten => _XXX,1,AGI(agi://127.0.0.1:4573)

Pls let me know why this error comes. Thanks

Cant connect to asterisk using sip

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/129. Created by gokulnath

I have created a most basic adhearsion project and added the context in extentions.con as exten => _8000,1,AGI(agi://127.0.0.1:4573) . I have also started the ahn app also. but when I call from ekiga to asterisk using 8000, the asterisk console prints " NOTICE[29756]: chan_sip.c:20059 handle_request_invite: Call from '101' to extension '8000' rejected because extension not found."

Please tell me if there are any other configuration options needed.

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

sip calling asterisk

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/131. Created by gokulnath

on calling adhearsion context from ekiga, the below error was displayed in asterisk

== Using SIP RTP CoS mark 5
-- Executing [121@mgov_ivr:1] AGI("SIP/101-0000000b", "agi://127.0.0.1:4573") in new stack
-- <SIP/101-0000000b>AGI Script agi://127.0.0.1:4573 completed, returning 0
-- Auto fallthrough, channel 'SIP/101-0000000b' status is 'UNKNOWN'

my context in extentions.conf is
[mgov_ivr]
exten => _XXX,1,AGI(agi://127.0.0.1:4573)

Pls let me know why this error comes. Thanks

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi - 2011-02-24 22:10:24 UTC

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

sip calling asterisk

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/131. Created by gokulnath

on calling adhearsion context from ekiga, the below error was displayed in asterisk

== Using SIP RTP CoS mark 5
-- Executing [121@mgov_ivr:1] AGI("SIP/101-0000000b", "agi://127.0.0.1:4573") in new stack
-- <SIP/101-0000000b>AGI Script agi://127.0.0.1:4573 completed, returning 0
-- Auto fallthrough, channel 'SIP/101-0000000b' status is 'UNKNOWN'

my context in extentions.conf is
[mgov_ivr]
exten => _XXX,1,AGI(agi://127.0.0.1:4573)

Pls let me know why this error comes. Thanks

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

dial() with :caller_id and :name ignores :name

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/123. Created by Ben Klang

When calling dial() with :caller_id and :name the resulting caller ID has a blank caller ID name.

The problem is that :name => "Foo" triggers an AGI SET VARIABLE CALLERID(name) Foo where :caller_id => 1234 triggers SET CALLERID 1234. The latter resets all caller ID information, not just the number. Also, Adhearsion prevents using :caller_id to specify the entire caller ID string as it is expecting only a number.

We should discuss whether :caller_id should accept a name string, but for now I don't want to change that.

Cant connect to asterisk using sip

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/129. Created by gokulnath

I have created a most basic adhearsion project and added the context in extentions.con as exten => _8000,1,AGI(agi://127.0.0.1:4573) . I have also started the ahn app also. but when I call from ekiga to asterisk using 8000, the asterisk console prints " NOTICE[29756]: chan_sip.c:20059 handle_request_invite: Call from '101' to extension '8000' rejected because extension not found."

Please tell me if there are any other configuration options needed.

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi - 2011-02-24 22:10:24 UTC

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

Cant connect to asterisk using sip

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/129. Created by gokulnath

I have created a most basic adhearsion project and added the context in extentions.con as exten => _8000,1,AGI(agi://127.0.0.1:4573) . I have also started the ahn app also. but when I call from ekiga to asterisk using 8000, the asterisk console prints " NOTICE[29756]: chan_sip.c:20059 handle_request_invite: Call from '101' to extension '8000' rejected because extension not found."

Please tell me if there are any other configuration options needed.

Possible spec race condition - intermittent failure

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/130. Created by Ben Langfeld

  1. ManagerInterface after calling connect!() with events enabled, both connections perform a login
    Failure/Error: write_queue_mock.actions.first.name.should == "login"
    NoMethodError:
    undefined method `name' for :"STOP!":Symbol

    ./spec/voip/asterisk/ami/test_ami.rb:171:in`block (2 levels) in <top (required)>'

Ruby 1.9.2
e5da2a97e3dcef0704aa828801bd73150326da63

adhearsion does not know how to parse agi_xxx: param without value

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/125. Created by ik_5

call.rb contain a method called separate_line_into_key_value_pair.
This class method uses regex in order to parse the agi_xxxxx params from Asterisk, but it does not know how to handle parameters with no values like so:

"agi_accountcode:"

I'm attaching a patch of the parsing in order to also be able to handle such case.

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

Adhearsion always loads latest Rails installed instead of what is in environment.rb

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/77. Created by jsgoecke

From an Adhearsion community member"

There is a problem with Adhearsion. I installed Rails 2.3.2 and however it should still be using Rails 2.2.2 but doesn't.

Workaround in the ahn binary:

require 'rubygems'
gem 'rails', '2.2.2'

require 'adhearsion'
require 'adhearsion/cli'

Adhearsion::CLI::AhnCommand.execute

Possible spec race condition - intermittent failure

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/130. Created by Ben Langfeld

  1. ManagerInterface after calling connect!() with events enabled, both connections perform a login
    Failure/Error: write_queue_mock.actions.first.name.should == "login"
    NoMethodError:
    undefined method `name' for :"STOP!":Symbol

    ./spec/voip/asterisk/ami/test_ami.rb:171:in`block (2 levels) in <top (required)>'

Ruby 1.9.2
e5da2a97e3dcef0704aa828801bd73150326da63

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

sip calling asterisk

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/131. Created by gokulnath

on calling adhearsion context from ekiga, the below error was displayed in asterisk

== Using SIP RTP CoS mark 5
-- Executing [121@mgov_ivr:1] AGI("SIP/101-0000000b", "agi://127.0.0.1:4573") in new stack
-- <SIP/101-0000000b>AGI Script agi://127.0.0.1:4573 completed, returning 0
-- Auto fallthrough, channel 'SIP/101-0000000b' status is 'UNKNOWN'

my context in extentions.conf is
[mgov_ivr]
exten => _XXX,1,AGI(agi://127.0.0.1:4573)

Pls let me know why this error comes. Thanks

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi - 2011-02-24 22:10:24 UTC

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi - 2011-02-24 22:10:24 UTC

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

sip calling asterisk

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/131. Created by gokulnath

on calling adhearsion context from ekiga, the below error was displayed in asterisk

== Using SIP RTP CoS mark 5
-- Executing [121@mgov_ivr:1] AGI("SIP/101-0000000b", "agi://127.0.0.1:4573") in new stack
-- <SIP/101-0000000b>AGI Script agi://127.0.0.1:4573 completed, returning 0
-- Auto fallthrough, channel 'SIP/101-0000000b' status is 'UNKNOWN'

my context in extentions.conf is
[mgov_ivr]
exten => _XXX,1,AGI(agi://127.0.0.1:4573)

Pls let me know why this error comes. Thanks

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

sip calling asterisk

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/131. Created by gokulnath

on calling adhearsion context from ekiga, the below error was displayed in asterisk

== Using SIP RTP CoS mark 5
-- Executing [121@mgov_ivr:1] AGI("SIP/101-0000000b", "agi://127.0.0.1:4573") in new stack
-- <SIP/101-0000000b>AGI Script agi://127.0.0.1:4573 completed, returning 0
-- Auto fallthrough, channel 'SIP/101-0000000b' status is 'UNKNOWN'

my context in extentions.conf is
[mgov_ivr]
exten => _XXX,1,AGI(agi://127.0.0.1:4573)

Pls let me know why this error comes. Thanks

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi - 2011-02-24 22:10:24 UTC

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi - 2011-02-24 22:10:24 UTC

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi - 2011-02-24 22:10:24 UTC

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

Sandbox - inbound AGI proxy (Erlang)

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/62. Created by jsgoecke

If a user enters a wrong uname/passwd combo the Erlang server/Sandbox component erroneously report that the connection was successful. But then immediately disconnect, connect again reporting it was successful resulting in a tight loop of connects/disconnects. Once the proper uname/passwd are used, then connects the first time no problem.

A better error message should be given as opposed to indicating the connection was successful.

Cant connect to asterisk using sip

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/129. Created by gokulnath

I have created a most basic adhearsion project and added the context in extentions.con as exten => _8000,1,AGI(agi://127.0.0.1:4573) . I have also started the ahn app also. but when I call from ekiga to asterisk using 8000, the asterisk console prints " NOTICE[29756]: chan_sip.c:20059 handle_request_invite: Call from '101' to extension '8000' rejected because extension not found."

Please tell me if there are any other configuration options needed.

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi - 2011-02-24 22:10:24 UTC

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi - 2011-02-24 22:10:24 UTC

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

Possible spec race condition - intermittent failure

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/130. Created by Ben Langfeld

  1. ManagerInterface after calling connect!() with events enabled, both connections perform a login
    Failure/Error: write_queue_mock.actions.first.name.should == "login"
    NoMethodError:
    undefined method `name' for :"STOP!":Symbol

    ./spec/voip/asterisk/ami/test_ami.rb:171:in`block (2 levels) in <top (required)>'

Ruby 1.9.2
e5da2a97e3dcef0704aa828801bd73150326da63

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

AMI Parser Syntax Error

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/128. Created by padwasabi - 2011-02-24 22:10:24 UTC

I was playing around with the AMI connection in a script. I set the events callback to a proc that just puts the events on STDOUT. Then shortly after connecting I started seeing this:

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com!

So I am reporting it hear as requested. Below is a copy of the output. If you have any questions please just email me directly.

@@@
irb(main):003:0> @ami.conn.send :establish_events_connection
INFO ami: Successful AMI events-only connection into [email protected]
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):004:0> logr = _
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):005:0> log
NameError: undefined local variable or method `log' for #Object:0xb7f4394c
from (irb):5
irb(main):006:0> logr
=> [#<Log4r::StdoutOutputter:0xb7c160bc @out=#IO:0xb7f39564, @mon_waiting_queue=[], @Level=0, @name="stdout", @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @Formatter=#<Log4r::DefaultFormatter:0xb7c154dc @Depth=7>>]
irb(main):007:0> #Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c93238

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92b58

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92734

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c92388

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91fdc

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c91c30

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c917a8

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c913d4

^C
irb(main):007:0> ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"\nEvent: Hangup"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: call,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Channel: IAX2/0671-3236"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Uniqueid: 1298584203.51"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause: 19"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Cause-txt: User alerting, no answer"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8cfb4

ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"vent: PeerStatus"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Privilege: system,all"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"Peer: SIP/0572"
ERROR ami: ADHEARSION'S AMI PARSER ENCOUNTERED A SYNTAX ERROR! PLEASE REPORT THIS ON http://bugs.adhearsion.com! OFFENDING TEXT:
"PeerStatus: Registered"

Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceEvent:0xb7c8bde4

@@@

Cant connect to asterisk using sip

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/129. Created by gokulnath

I have created a most basic adhearsion project and added the context in extentions.con as exten => _8000,1,AGI(agi://127.0.0.1:4573) . I have also started the ahn app also. but when I call from ekiga to asterisk using 8000, the asterisk console prints " NOTICE[29756]: chan_sip.c:20059 handle_request_invite: Call from '101' to extension '8000' rejected because extension not found."

Please tell me if there are any other configuration options needed.

Possible spec race condition - intermittent failure

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/130. Created by Ben Langfeld

  1. ManagerInterface after calling connect!() with events enabled, both connections perform a login
    Failure/Error: write_queue_mock.actions.first.name.should == "login"
    NoMethodError:
    undefined method `name' for :"STOP!":Symbol

    ./spec/voip/asterisk/ami/test_ami.rb:171:in`block (2 levels) in <top (required)>'

Ruby 1.9.2
e5da2a97e3dcef0704aa828801bd73150326da63

sip calling asterisk

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/131. Created by gokulnath

on calling adhearsion context from ekiga, the below error was displayed in asterisk

== Using SIP RTP CoS mark 5
-- Executing [121@mgov_ivr:1] AGI("SIP/101-0000000b", "agi://127.0.0.1:4573") in new stack
-- <SIP/101-0000000b>AGI Script agi://127.0.0.1:4573 completed, returning 0
-- Auto fallthrough, channel 'SIP/101-0000000b' status is 'UNKNOWN'

my context in extentions.conf is
[mgov_ivr]
exten => _XXX,1,AGI(agi://127.0.0.1:4573)

Pls let me know why this error comes. Thanks

sip calling asterisk

Imported from lighthouse. Original ticket at: http://adhearsion.lighthouseapp.com/projects/5871/tickets/131. Created by gokulnath

on calling adhearsion context from ekiga, the below error was displayed in asterisk

== Using SIP RTP CoS mark 5
-- Executing [121@mgov_ivr:1] AGI("SIP/101-0000000b", "agi://127.0.0.1:4573") in new stack
-- <SIP/101-0000000b>AGI Script agi://127.0.0.1:4573 completed, returning 0
-- Auto fallthrough, channel 'SIP/101-0000000b' status is 'UNKNOWN'

my context in extentions.conf is
[mgov_ivr]
exten => _XXX,1,AGI(agi://127.0.0.1:4573)

Pls let me know why this error comes. Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.