[OpenSIPS-Users] Wrong IP when relaying REGISTER to Asterisk

Web Support web at fubutel.com
Tue Mar 9 16:53:02 CET 2010


Currently I have OpenSIPS installed on one machine, and have my Asterisk
(PBXware) on another machine. When trying to register my UAD through
OpenSIPS, the relay is happening correctly and the device is showing up in
Asterisk, but it's showing up with the IP of OpenSIPS. 

 

Ideally, I would like it to be the public IP of the device trying to
register. As it stands right now, my UAD gets authenticated fine, registered
in Asterisk. I can make extension to extension calls, extension to PSTN
calls, but can NOT receive calls. 

 

How can I change the IP when relaying the REGISTER to Asterisk so that it's
the public IP of the deivce, instead of my OpenSIPS server?

 

Note: I am a LAMP guy, programming is not new to me, however. OpenSIPS
scripting is still sort of foggy.

 

Thanks in advance.

 

-Tyler

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100309/89a0f6fe/attachment.htm 


More information about the Users mailing list