Hello guys !
Once again i am in your mercy for some help with my new voip gateway. i want to utilize this regardless of my sip trunks just to connect my pstn line to my freepbx.
I am running FreePBX 14.0.13.26
This is the device
When you change Bind Port in Asterisk SIP Settings, you must restart (not just reload) Asterisk.
Assuming chan_sip trunk has host=dynamic: In the VOX, Advanced Registration Options, change Port to 5070 (to match Asterisk’s Bind Port).
If it still won’t register, see whether registration attempts result in anything in the Asterisk Log. If so, post that. If not, see whether running sngrep on the PBX shows the attempts. If so, it’s a FreePBX firewall issue. If sngrep also shows nothing, capture traffic on the VOX or on the wire to see what the VOX is sending when trying to register.
@Stewart1
first of all thanks for being the only one to reply !
I was expecting more support guys to hop in but anyways…
I did manage to get it working BUT the registration on the GATEWAY (OPENVOX) says
SIP STATUS: NO AUTHENTICATION
RESPONSE CODE: 403 FORBIDDEN
please check my screenshots.
Also this is my pstn trunk PEER DETAILS:
You can have the Vox register to the PBX, in which case I believe you need host=dynamic
and remove the port=5070
If it still won’t register, post the log for an attempted registration, including SIP trace.
Or, you can set it up statically (as you have it), but then you need to turn off registration at the Vox.
With host=dynamic and no port= setting, turn on sip debug, then reboot the VOX so it will try to register.
Past the log (including SIP trace) at pastebin.freepbx.org and post the link here.
At the Asterisk command prompt, type sip set debug on
and reboot the Vox to retry the registration, then paste another log. With luck the SIP trace may show something strange.
I’m quite puzzled here. I ran a script to compute the response tag of the Authorization header for your password and it indeed matches what the Vox sent. So, I don’t know why Asterisk didn’t accept it. Possibly, there is another entry matching the username. Or, there is a bug and the Asterisk config file didn’t get updated or Asterisk didn’t process it correctly.
Try restarting Asterisk. If that doesn’t help, look at /etc/asterisk/sip_additional.conf and see if there are any contexts containing 2112133281 other than the intended one for your trunk. If there are none, compare the entries for your trunk with what you put in PEER details. If they appear ok, please paste them and post the link.
User Details and Register String should be left blank.
Submit, Apply Config, then restart Asterisk with fwconsole restart
reboot Vox and with luck it will register. If not, I recommend either trying a pjsip trunk or a static configuration (turning off registration on the Vox).