Ok I got this one…just put
ext-in-contact setting and then define the extension to be same as FromUser in my
provider.xml in /conf/sip-profile/external/
<!--/// extension for inbound calls: *optional* same as
username, if blank ///-->
<param name="extension" value="xxxxxxxxxx"/>
<!--extra sip params to send in the contact-->
<param name="extension-in-contact"
value="true"/>
From:
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Ujjval
Karihaloo
Sent: Thursday, October 22, 2009 2:00 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] FS Registration Contact
Hi All,
I have FS registered to an ITSP. The
contact is showing as follows..
Contact: sip:gw+itsp@1.1.1.1:5080;transport=udp
Itsp is the name of the SIP gatway and its IP is changed to
1.1.1.1
I want the Phone number (FromUser)to show in the contact
header in the REGISTER msg going to the ITSP.
How can I do that?
Thx,
Ujjval.