[Freeswitch-dev] Sofia - RFC2396 URI escape

Brian West brian at freeswitch.org
Sat Nov 26 01:38:02 MSK 2011


We could url encode it ... but it would break things out there that don't properly URL decode... ie nextone if I recall.

/b

On Nov 24, 2011, at 8:33 AM, Visciano Giovanni wrote:

> I have modified my dialplan configuration to apply url_encode() to the destination number I want to bridge to.
> 
> <action application="bridge" data="sofia/gateway/voip-line1/${url_encode(${destination_number})}" />
> 
> So sofia receive a correctly escaped URI.
> 
> Thanks.
> Giovanni

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20111125/298bf718/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list