tel URIs and FreeSwitch
Hi List, Could you, please, confirm that FreeSwitch (Version :* FreeSWITCH Version 1.3.13b+git~20130213T200819Z~cd7d1efc2a (git cd7d1ef 2013-02-13 20:08:19Z)*) supports "tel:" URIs in all SIP messages ? For example, if I receive on my FS an INVITE from a provider like this : *INVITE <tel:+33312345678@example.domain>* Could FS be able to parse and process this URI as it does with "sip:" URIs ? I've found that Sofia-SIP is able, but what about mod_sofia in FS ? Thanks a lot, * Bien cordialement, Best Regards, **Kevin MATHY* * * --
Try it and tell us? Regards, Ben Langfeld On 5 March 2013 14:10, Kevin Mathy <k.mathy@hexanet.fr> wrote:
Hi List,
Could you, please, confirm that FreeSwitch (Version :* FreeSWITCH Version 1.3.13b+git~20130213T200819Z~cd7d1efc2a (git cd7d1ef 2013-02-13 20:08:19Z) * ) supports "tel:" URIs in all SIP messages ?
For example, if I receive on my FS an INVITE from a provider like this :
*INVITE <tel:+33312345678@example.domain>*
Could FS be able to parse and process this URI as it does with "sip:" URIs ?
I've found that Sofia-SIP is able, but what about mod_sofia in FS ?
Thanks a lot,
* Bien cordialement, Best Regards,
**Kevin MATHY* * *
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I presume that "tel:+33312345678" would be the entire destination_number. You can match ^(?:tel:)?\+?(\d*)$ so e.g. if you have: tel:+33312345678 +33312345678 33312345678 ... then $1 in freeswitch will always be 33312345678. -Avi Marcus BestFone On Tue, Mar 5, 2013 at 4:10 PM, Kevin Mathy <k.mathy@hexanet.fr> wrote:
Hi List,
Could you, please, confirm that FreeSwitch (Version :* FreeSWITCH Version 1.3.13b+git~20130213T200819Z~cd7d1efc2a (git cd7d1ef 2013-02-13 20:08:19Z) * ) supports "tel:" URIs in all SIP messages ?
For example, if I receive on my FS an INVITE from a provider like this :
*INVITE <tel:+33312345678@example.domain>*
Could FS be able to parse and process this URI as it does with "sip:" URIs ?
I've found that Sofia-SIP is able, but what about mod_sofia in FS ?
Thanks a lot,
* Bien cordialement, Best Regards,
**Kevin MATHY* * *
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Avi Marcus
-
Ben Langfeld
-
Kevin Mathy