[Freeswitch-users] Setting P-Asserted-ID to something other than the callerid

Brian West brian at freeswitch.org
Thu Jul 16 07:58:16 PDT 2009


Kinda wrong there!

Gotta use CDATA because it has < and > in the data you're setting.   
And you'll wanna export it I suspect.

<action application="export"><![CDATA[sip_h_P-Asserted-Identity=<sip:${caller_id_number}@1.2.3.4 
 >]]></action>

/b



On Jul 16, 2009, at 9:51 AM, David Knell wrote:

> Hi Dale,
>
> You can set the header to anything you like by including something  
> along
> the lines of
> <action application="set" data="sip_h_P-Asserted-Identity=<sip:
> ${caller_id_number}@1.2.3.4>" />
> in your dialplan.
>
> Cheers --

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090716/15b3fd87/attachment-0001.html 


More information about the FreeSWITCH-users mailing list