[Freeswitch-users] Reject Inbound Call and Callback

Deepika Yadav deepikay at iiitd.ac.in
Sat Jun 11 22:20:56 MSD 2016


Hi,

I want to reject an incoming call from a mobile number in the public
context and callback to it

how should the dialplan look like:


<include>
  <extension name="public_did">
    <condition field="destination_number" expression="^(88888888)$">
<action application="set" data="domain_name=$${domain}"/>
<action application="log" data="INFO domain is $${domain}"/>
<action application="set" data="callerID = $${caller_id_number}"/>
<action application="log" data="INFO src number is $${callerID}"/>
<action application="respond" data="503"/>
<action application="bridge"
data="{sip_auth_username=1003,sip_auth_password=R at D
~o$121$@IIITD}sofia/external/1003 at 52.38.67.78 9769658019"/>
<!--<action application="respond" data="reponse_info" data="407"/> -->
<!--<action application="transfer" data="5000 XML default"/> -->

    </condition>
  </extension>
</include>






Regards,
Deepika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160611/44a23bf4/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list