I’m very new to SIP/Asterisk and was hoping I could get some help setting up the conf files to forward SIP calls onto the PSTN.
I currently have a basic OpenSER setup which allows any SIP client on my network to make and receive calls. I’m not using any authentication for simplicity. This seems to work fine.
Next, I have Asterisk installed on the same box as OpenSER. I would like to know if and how I can configure OpenSER to forward calls beginning with a ‘9’ to the Asterisk server, which in turn would dial the number and make the call using the PSTN. Please note that the ‘9’ digit is used to get an external line on our phone system here. Also, I do not require authentication on the Asterisk box, as this is only a test system.
I’ve had a look at quite a few examples listed in this forum and on the voip-info wiki, but I haven’t had much luck so far.
I am unsure how to have OpenSER send the 9 but you can send the call to asterisk and have asterisk send the 9. You can do.
Exten => _X.,1,Dial(ZAP/1/9${EXTEN})
So, I ended up using a fresh Trixbox install. I set up the Trixbox -> PSTN config with no problems - I can now make and receive calls via the PSTN.
My only issue with the setup is that the IM feature of the CounterPath X-Lite/eyeBeam does not work. I am aware that this is a problem with the core Asterisk tech and cannot be patched, so I would like to use OpenSER for this functionality. Has anyone successfully implemented this?