<br><br><div class="gmail_quote">2013/1/30 XBrian <span dir="ltr"><<a href="mailto:boboodz@yahoo.co.uk" target="_blank">boboodz@yahoo.co.uk</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am pulling my hairs out here. This is my dialplan.<br>
<br>
exten => 100,1,Set(AGISIGHUP=no)<br>
exten => 100,n,AGI(a2billing.php,4,callingcard)<br>
exten => 100,n,Set(__APP_MSG_IND=${APP_MSG_IND})<br>
exten => 100,n,Set(__APP_MESSAGE=${APP_MESSAGE})<br>
exten => 100,n,Hangup()<br>
<br>
exten => h,1,GotoIf($["${APP_MSG_IND}" = "YES"]?send-msg,1)<br>
exten => h,n,Hangup()<br>
<br>
exten => send-msg,1,SendText(${APP_MESSAGE})<br>
exten => send-msg,n,Hangup()<br>
<br>
I can see on the command line that the SendText() is actually being called, but<br>
the softphone isnt getting the text.<br>
What am I doing wrong?<br>
Is there a variable to be set?<br>
<br>
Any ideas will be most welcome<br>
<br>
<br></blockquote><div><br></div><div>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.</div>
<div><br></div><div>Leandro</div></div>