Hello,
I`m adding an FXS/FXO Gateway as a trunk to my PBX.
I have configured FXS port on HT813 without a problem, works inbound and out.
But FXO port keeps sending me 403 for unknown reason, I have tried with registration (host=dynamic) the gate registeres just fine but returns 403.
My preffered method is IP auth and when setting the host ip I get the same issue 403 forbidden.
This is my FXO trunk config on PBX
type=peer
username=026821080
secret=sifra123
host=10.10.12.99
port=5062
context=from-trunk
dtmfmode=rfc2833
allow=alaw,ulaw
In the HT, make sure that Stage Method is set to 1 and Wait for Dial Tone is set to No.
If you still have trouble, at the Asterisk command prompt type sip set debug on
make a failing test call, paste the Asterisk log for the call at pastebin.freepbx.org and post the link here. If you are too new to post links, just post the last 8 hex characters of the URL.
Im in Serbia for the initial trace Ive pasted I found an option on HT813 for PSTN out dial code (pic below)
So I was checking out will it work, but no matter what I send to HT813 I get the same 403.
HT status Page shows
FXO Idle026821080Not Registered
If i switch to Registrations options and define trunk on pbx to register It shows
FXO Idle026821080Registered
But nevertheless It rejects with 403 any calls sent to it
For the moment I don’t have option to test inbound calls to FXO port but I` have tested the line with an actual phone, works all right.
Connected to copper pair from the CO