Not sure but... You can force the contact extension in the gateway... instead of having the "gw+ss" The parameter is extension = your_provider_expected_extension extension-in-contact = true see: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Gateway+Authentic... Regards, António On 03/26/2015 11:09 AM, Кирилл Преслер wrote:
Provider not accepting calls because of “bad” Contact header
sip:gw+ss@10.50.244.15:5060;transport=udp;gw=ss
ITSP needs sip:username@10.50.244.15:5060 <sip:username@10.50.244.15:5060>, where username should be passed from dialplan for every call and there is no params.
I’ve tried following variables with set and export, but nothing seems to work.
sip_contact_user
sip_outgoing_contact_uri
sip_invite_contact_params
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
-- --- António Silva