I know the question has been asked, but I can’t get a straightforward, clear answer on this topic. Setting up with a new ISP for our phones, and need to do a bunch of testing etc first. Main problem is the headers that are sent out from PBX are not accepted. Here’s the reply from ISP,
Here’s what you’re sending
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK65d3116f;rport
Max-Forwards: 70
From: “BELL_TEST” sip:[email protected];tag=as35cd392a
To: sip:[email protected]
Contact: sip:[email protected]:5060
If you send the calls in either these two methods you should get the 401 challenge.
TGRP Method:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK65d3116f;rport
Max-Forwards: 70
From: “BELL_TEST” sip:[email protected];tag=as35cd392a
To: sip:[email protected]
Contact: sip:1234567890;tgrp=CUST5_1234567890_01A;[email protected]:5060
OTG Method:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK65d3116f;rport
Max-Forwards: 70
From: “BELL_TEST” sip:[email protected];otg=CUST5_1234567890_01A;tag=as35cd392a
To: sip:[email protected]
Contact: sip:[email protected]:5060
So, for TGRP, the “From” and “Contact” parts need to be modified to include the correct header, and OTG needs to only have the “From” header modified.
So is there an easy way to do this through freepbx, or is the end answer going to be the need for a SBC to handle all of this?