[asterisk-users] Asterisk Messaging Refuses To Work!

Leandro Dardini ldardini at gmail.com
Wed Jan 30 12:28:49 CST 2013


2013/1/30 XBrian <boboodz at yahoo.co.uk>

> I am pulling my hairs out here. This is my dialplan.
>
> exten => 100,1,Set(AGISIGHUP=no)
> exten => 100,n,AGI(a2billing.php,4,callingcard)
> exten => 100,n,Set(__APP_MSG_IND=${APP_MSG_IND})
> exten => 100,n,Set(__APP_MESSAGE=${APP_MESSAGE})
> exten => 100,n,Hangup()
>
> exten => h,1,GotoIf($["${APP_MSG_IND}" = "YES"]?send-msg,1)
> exten => h,n,Hangup()
>
> exten => send-msg,1,SendText(${APP_MESSAGE})
> exten => send-msg,n,Hangup()
>
> I can see on the command line that the SendText() is actually being
> called, but
> the softphone isnt getting the text.
> What am I doing wrong?
> Is there a variable to be set?
>
> Any ideas will be most welcome
>
>
>
If I was in your shoes (is this the right English sentence?)  I'll run a
tcpdump command to check the content of the SIP packet containing the
message. That way you'll know if the asterisk or the softphone is to blame.

Leandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130130/6789037e/attachment.htm>


More information about the asterisk-users mailing list