<div dir="ltr">On Sun, Aug 3, 2008 at 10:02 PM, Henk Oegema <span dir="ltr">&lt;<a href="mailto:pabx_freeswitch@telenet.be">pabx_freeswitch@telenet.be</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In * I use the following to send a SMS message to my mobile phone, &nbsp;in case of<br>
no answer:<br>
<br>
[macro-send_sms_message]<br>
exten =&gt; s,1,NoOp(${ARG1})<br>
exten =&gt;<br>
s,n,System(/usr/bin/curl -s &quot;<a href="http://localhost/asterisk/sms/sms.php?number=$%7BARG1%7D&amp;msg=At%20$%7BARG3%7D%20$%7BARG2%7D%20called" target="_blank">http://localhost/asterisk/sms/sms.php?number=${ARG1}&amp;msg=At%20${ARG3}%20${ARG2}%20called</a>.&quot;)<br>

<br>
<br>
exten =&gt; 1200,1,Dial(SIP/1200,10,tT)<br>
exten =&gt; 1200,n,Macro(send_sms_message,00324763788xx<br>
,${CALLERID(num)},${STRFTIME(${EPOCH},,%d.%m.%Y-%H:%M)})<br>
.....<br>
.....<br>
<br>
This send f.e. the following message:<br>
At 03.08.2008-17:52 00313446413xx called.<br>
<br>
How can I do something simular in FS?</blockquote><div><br>You would probably use a language of your choice from <a href="http://wiki.freeswitch.org/wiki/Languages_for_Call_Control">http://wiki.freeswitch.org/wiki/Languages_for_Call_Control</a>.<br>
<br>See <a href="http://wiki.freeswitch.org/wiki/Channel_Variables#caller_id_number">http://wiki.freeswitch.org/wiki/Channel_Variables#caller_id_number</a> to get the callerid.<br><br>Hope this helps.<br></div></div><br>-- <br>
wasim h. baig | principal consultant | convergence pk | +92 300 8508070<br>
</div>