[Freeswitch-users] Contact header in gateway invite

Seven Du dujinfang at gmail.com
Sat Dec 7 02:19:51 MSK 2013


Looks there is a  

} else if (!strcmp(var, "extension-in-contact")) {

in source


and 

  <!--<param name="contact-params" value="tport=tcp"/>-->

in config.

maybe still not get it working?


-- 
Seven Du
http://www.freeswitch.org.cn
http://about.me/dujinfang
http://www.dujinfang.com


Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Sunday, December 1, 2013 at 6:43 PM, Remco van Vugt wrote:

> Hi Michael, 
> Thanks for your answer. Caller-id-in-from works, however only for the from header. The contact header is not affected by this parameter. Probably it would be a good idea to include a similar parameter for the contact header? i.e. caller-id-in-contact. 
> Regards, 
> Remco 
> Op 26 nov. 2013 15:15 schreef "Michael Jerris" <mike at jerris.com (mailto:mike at jerris.com)>:
> > It looks like these settings are poorly doc'ed on the wiki.  This should be the one you need.  Could someone clean up the docs on sofia gateway params?
> > 
> > https://wiki.freeswitch.org/wiki/Authentication
> > 
> > caller-id-in-from
> > 
> > On Nov 22, 2013, at 4:09 AM, Remco van Vugt <remconl87 at gmail.com (mailto:remconl87 at gmail.com)> wrote: 
> > > 
> > > Hi,
> > > I have the following issue: a carrier wants the A number in the contact field i.e.: Contact: <sip:+31xxxxxxxxx at ip.ad.dr.ess;[add. params]>
> > > I know; the contact is not up to the called party but they want it anyway. I spent quite some time, and I found some earlier mailing list threads but no answer that solves my particular problem.
> > > I noticed that by setting the extension parameter in the gateway configuration, this results in the desired header format. However, this is not dynamic and therefore not the A number (freeswitch runs in a SBC configuration, passing traffic in and out of the network). Is there any way to either pass the extension= parameter from the dialplan or somehow change the contact header?
> > > Thanks,
> > > Remco _________________________________________________________________________
> > > Professional FreeSWITCH Consulting Services:
> > > consulting at freeswitch.org (mailto: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 (mailto: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
> > 
> > 
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org (mailto: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 (mailto: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
> > 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org (mailto: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 (mailto: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/20131207/2e8cb420/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list