The application delimiter is now the comma,not the pipe ...

1,300 views
Skip to first unread message

JL

unread,
Dec 8, 2010, 5:47:07 AM12/8/10
to Adhearsion
Hi, I'm new in Adhearsion. I'm have a try the following code in
dialplan.rb

from_pstn {

case extension

when 34300
play "hello-world"

when 34303
dial("SIP/10...@192.168.10.10")

else
end
}

When I try to dial 34303, it shows some failure in asterisk:



-- Accepting call to '34303' on CIC 22
-- Executing [34303@from-pstn:1] AGI("DAHDI/22-1", "agi://
localhost") in new stack
-- AGI Script Executing Application: (Dial) Options: (SIP/
10...@192.168.10.10||)
[Dec 8 18:15:47] WARNING[21000]: pbx.c:1348 pbx_exec: The application
delimiter is now the comma, not the pipe. Did you forget to convert
your dialplan? (Dial(SIP/10...@192.168.10.10||))
== Using SIP RTP CoS mark 5
[Dec 8 18:15:48] WARNING[21000]: chan_sip.c:5375 create_addr: No such
host: 192.168.10.10||



I'm using Adhearsion 1.0, Asterisk 1.6.2.14.

Can give some suggestion? Thanks!

Regards,
JL

Ludovic Gasc

unread,
Dec 8, 2010, 7:17:50 AM12/8/10
to adhea...@googlegroups.com
You must change this line in your config/startup.rb:
# NOTE: Pay special attention to the argument_delimiter field below:
# For Asterisk <= 1.4, use "|" (default)
# For Asterisk >= 1.6, use ","
# This setting applies to AMI and AGI
config.enable_asterisk :argument_delimiter => ','

> --
> You received this message because you are subscribed to the Google Groups "Adhearsion" group.
> To post to this group, send email to adhea...@googlegroups.com.
> To unsubscribe from this group, send email to adhearsion+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/adhearsion?hl=en.
>
>

--
Ludovic Gasc

Reply all
Reply to author
Forward
0 new messages