[Freeswitch-users] tel: uri freeswitch

Ben Langfeld ben at langfeld.co.uk
Sat Sep 27 20:23:30 MSD 2014


You have to rewrite tel URIs in your dialplan to a sofia path based on your
choice of gateway.

https://wiki.freeswitch.org/wiki/Dialplan_XML#Dialing_Through_A_Gateway_.28SIP_Provider.29

You can use something like this in the dialplan:

*<extension name="oubout_pstn">
*  *<condition field="destination_number"
expression="^tel:+(\d{12})$">*    *<action application="bridge"
data="sofia/gateway/outbound/$1"/>
*  *</condition>
**</extension>*

or:

https://wiki.freeswitch.org/wiki/Mod_translate

On 27 September 2014 06:54, joe <jigar_desai12 at hotmail.com> wrote:

> 2014-09-27 05:52:40.377783 [ERR] sofia_glue.c:983 URL Error! tel: uri's not
> supported at this time
>
>
> i am not able to set tel uri's in  sip_invite_req_uri= during originate
>  pstn outbound call from freeswitch.
>
> awaiting positive answer asap.
>
> tx
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140927/9e8969be/attachment-0001.html 


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