[Freeswitch-users] SIP invite contact header... again

Yuriy Nasida nasida at live.ru
Sat Apr 28 00:04:38 MSD 2012



Usually caller phone number transferring in "From:" header or in "Remote-Party-ID"http://wiki.freeswitch.org/wiki/Variable_effective_caller_id_number
orhttp://wiki.freeswitch.org/wiki/Variable_sip_cid_type

use it from dialplan.
If you still want to change "Contact:", try use it:http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Changing_the_SIP_Contact_user 


> Date: Thu, 26 Apr 2012 11:21:41 +0200
> From: rico-freeswitch at ricozome.net
> To: freeswitch-users at lists.freeswitch.org
> Subject: [Freeswitch-users] SIP invite contact header... again
> 
> Hi list,
> 
> I have some analogic phones (to be axact two Siemens Gigaset DECT
> phones) connected to my FS server through a RTC-to-SIP gateway.
> 
> It is working well, except for announcing the caller phone number. After
> some investigations, it appear the SIP gateway expect the caller number
> into the "Contact" SIP header like this :
> 
> Contact: <sip:105002 at 46.28.168.58:5060>
> 
> I found a lot of documentation related to manipulating SIP header on
> gateways, but in that particular case, I need to alter SIP contact
> header from and to a particular extension, and most of call don't even
> transit through a SIP gateway as they are handled into the same SIP profile.
> 
> I guess this is trivial, but I'm still a newbie on IPBX and FS, and
> explanations I found on the wiki are too obsure for me...
> 
> Thanks for your help,
> 
> -- 
> Eric
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120428/e7914b9f/attachment-0001.html 


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