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, 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
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
On 26.03.2015 13:01, Antonio Silva wrote:
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
This is old and I'm facing such bad devices on provider. I set: <param name="extension" value="auto_to_user"/> <param name="extension-in-contact" value="true"/> But then other problem arise. When provider sends a call to me the destination_number is populated with username from contact instead of from ${sip_to_user}. When I set <param name="extension-in-contact" value="false"/> then destination_number is populated correctly. How can I change contact header another way?
participants (3)
-
Antonio Silva
-
Mimiko
-
Кирилл Преслер