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

David Knell dave at 3c.co.uk
Thu Jul 16 07:51:18 PDT 2009


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 --

Dave

> Hello again,
> 
> I wanted to first say thanks to Brain for helping me fix my from  
> domain issue the other day. It helped quite a bit.
> 
> Now with more testing and talking with the vendor (please don't shoot  
> the messenger :) )
> 
> They want the caller id info in the from and the charge number/ 
> screening number in the P-Asserted-ID.
> 
> I have tested this and verified that this does work like they say it  
> does by setting the callerid number to my charge number and setting  
> the from user in the gateway config to the callerid I want displayed.  
> But this solution doesn't scale very well.
> 
> I know I can set the gateway option caller-id-in-from to get that part  
> done. But is there a way to set the P-Asserted-ID to something other  
> than the callerid?
> 
> Any hints would be welcomed.
> 
> Thanks,
> 
> -Dale
> 
> _______________________________________________
> 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
> 
-- 
David Knell, Director, 3C Limited
T: +44 20 3298 2000
E: dave at 3c.co.uk
W: http://www.3c.co.uk





More information about the FreeSWITCH-users mailing list