I have several trunks with the local carrier which work fine on a different asterisk server running asterisk 1.4.22 but will not register with my new Elastix server I keep getting Forbidden from the carrier
Here is the trunk setting in free PBX
username=USERID type=peer secret=SECRET port=5060 nat=yes insecure=very host=voip.xxxxxx.com fromuser=USERID fromdomain=voip.xxxxxx.com disallow=all allow=ulaw qualify=yes context=from-sip-external trustrpid=yes sendrpid=yes With the registration string of: [email protected]:[email protected]/USERID
as mentioned in the this link since asterisk 1.6
the register string should be the domain should be root zone.
in the debug asterisk seems to strips the voip.xxxxxx.com the diagest username and only sends xxxxxx.com since its not root zone.
Here is debugs from asterisk 1.4 and asterisk 1.8 with the same register string
This is for FreePBX running Asterisk 1.4.22
User-Agent: FPBX-2.9.0(1.4.22) Max-Forwards: 70 Authorization: Digest username="[email protected]", realm="voip.xxxxxx.com", ...
And This is for FreePBX running Asterisk 126.96.36.199
Authorization: Digest username="USERID", realm="voip.xxxxxx.com",.....
Any help will be appreciated