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@jerris.com (mailto:mike@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@gmail.com (mailto:remconl87@gmail.com)> wrote:
Hi, I have the following issue: a carrier wants the A number in the contact field i.e.: Contact: <sip:+31xxxxxxxxx@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@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto: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