On 3/8/2010 9:34 AM, Erik Schwartz wrote:
Does anyone have any experience scripting the routes for OpenSIPS?
I'm trying to utilize OpenSIPS infront of our Asterisk to enable TLS
support. Currently, OpenSIPS is on one machine, while our Asterisk (PBXware)
is on another machine and the idea is that UADs will register through
OpenSIPS and the registration is relayed to Asterisk.
My problem right now is that authentication works fine through OpenSIPS
(just using the db for now, then I'll work on TLS), but the registration
doesn't get relayed properly to Asterisk. I can make calls from the UAD
registered, extension to extension as well as extension to PSTN. The calls
are definitely going through Asterisk, as they're showing up in the CDRs and
CallerID is being set to the Asterisk values. However, the UAD is not
registered in Asteriks, so the extension cannot RECEIVE calls.
I've noticed that after the save("location") call in the OpenSIPS config,
the location is saved to the db with the UADs local IP on my network, I feel
that this might be why it's not registering in Asterisk. I can't figure out
how to send the relay to Asterisk with the UADs public IP instead.
If you invoke save(), it means that you are using opensips as a
registrar and registrations are handled locally.
If you don't want to use opensips as a registrar and you want to pass
registrations to asterisk, then you need to relay the REGISTER to
asterisk in the same way as you relay INVITE to asterisk.
Hope this helps.
For more help on opensips please post your questions to the opensips
mailing list.
Regards,
Ovidiu Sas
Anyone have any experience/ideas?
Thanks in advance.
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]