Really? That line (+/- the IP address) came directly out of a working dialplan. To be fair, the box is running a faintly prehistoric FreeSWITCH - you crazy cats haven't been chewing on the tail of my cherished mouse of backwards compatibility again, have you?! What has been incorrect in this discussion is the name of the header: it's P-Asserted-Identity, not P-Asserted-ID. The fact that it's usually shortened to PAID doesn't help; nor does the fact that Remote-Party-ID (which is deprecated, but still widely used for the same job as P-Asserted-Identity) is about as well. --Dave
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 --
_______________________________________________ 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 -- David Knell, Director, 3C Limited T: +44 20 3298 2000 E: dave@3c.co.uk W: http://www.3c.co.uk