Stefano Capitanio
2007-Nov-19 09:49 UTC
[asterisk-users] Registration problem: UA -> SER -> Asterisk
Hi, we a have a SER (OpenSER) in front of 2 real-time Asterisk. SER simply forward SIP messages to 1 of the Asterisks: UA --> SER --> Asterisk We have a problem with REGISTERs: Asterisk answers with 200 OK, but changes the Contact header, inserting the IP of SER instead of the original IP (the IP of the UA). It seems that performs a sort of NAT-traversal, but all the elements are on public IPs! The Asterisk's version is 1.2.21, they are in real-time configuration, installed on a virtual machine with gentoo-linux. I've tried the same scenario with an Asterisk 1.0.9 (without virtual and without real-time) on a Fedora Core distribution, and it works. Any idea? Best regards, -Stefano -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071119/775a0b59/attachment.htm
Stefano Capitanio
2007-Nov-19 09:49 UTC
[asterisk-users] Registration problem: UA -> SER -> Asterisk
Hi, we a have a SER (OpenSER) in front of 2 real-time Asterisk. SER simply forward SIP messages to 1 of the Asterisks: UA --> SER --> Asterisk We have a problem with REGISTERs: Asterisk answers with 200 OK, but changes the Contact header, inserting the IP of SER instead of the original IP (the IP of the UA). It seems that performs a sort of NAT-traversal, but all the elements are on public IPs! The Asterisk''s version is 1.2.21, they are in real-time configuration, installed on a virtual machine with gentoo-linux. I''ve tried the same scenario with an Asterisk 1.0.9 (without virtual and without real-time) on a Fedora Core distribution, and it works. Any idea? Best regards, -Stefano -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071119/775a0b59/attachment.htm
Giovanni Miano
2007-Nov-20 21:55 UTC
[asterisk-users] Registration problem: UA -> SER -> Asterisk
Stefano, It is not Asterisk, It is SER (dispatcher module ?). Why Asterisk is acting as Register ? make sense use openSER as Register/Proxy and Asterisk only Proxy and MG Regards, Giovanni 2007/11/19, Stefano Capitanio <s.capitanio at mclink.it>:> > Hi, > > > > we a have a SER (OpenSER) in front of 2 real-time Asterisk. > > SER simply forward SIP messages to 1 of the Asterisks: > > UA --> SER --> Asterisk > > We have a problem with REGISTERs: > > Asterisk answers with 200 OK, but changes the Contact header, inserting > the IP of SER instead of the original IP (the IP of the UA). > > It seems that performs a sort of NAT-traversal, but all the elements are > on public IPs! > > > > The Asterisk's version is 1.2.21, they are in real-time configuration, > installed on a virtual machine with gentoo-linux. > > > > I've tried the same scenario with an Asterisk 1.0.9 (without virtual and > without real-time) on a Fedora Core distribution, and it works. > > > > Any idea? > > > > Best regards, > > -Stefano > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Giovanni Miano -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071120/1a3dcb89/attachment-0001.htm
Stefano Capitanio
2007-Nov-29 12:25 UTC
[asterisk-users] Registration problem: UA -> SER -> Asterisk
Hi, Yes it make sense to have multiple registrars and to have SER acting as a transparent proxy that forwards also REGISTER messages. The question is: why it does not work! :-( Regards, Stefano Stefano, It is not Asterisk, It is SER (dispatcher module ?). Why Asterisk is acting as Register ? make sense use openSER as Register/Proxy and Asterisk only Proxy and MG Regards, Giovanni -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071129/9b6ca01c/attachment-0001.htm
Stefano Capitanio
2007-Nov-29 12:25 UTC
[asterisk-users] Registration problem: UA -> SER -> Asterisk
Hi, Yes it make sense to have multiple registrars and to have SER acting as a transparent proxy that forwards also REGISTER messages. The question is: why it does not work! :-( Regards, Stefano Stefano, It is not Asterisk, It is SER (dispatcher module ?). Why Asterisk is acting as Register ? make sense use openSER as Register/Proxy and Asterisk only Proxy and MG Regards, Giovanni -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071129/9b6ca01c/attachment-0001.htm
Giovanni Miano
2007-Nov-29 14:58 UTC
[asterisk-users] Registration problem: UA -> SER -> Asterisk
Stefano, if you have distributed Registrars, which will keep the user location of registration ? And you do not need OpenSER to fwd Register message.. Register / Proxy / Redirect could be totally separate entities. By the way, if you post the SIP Register message likely someone could help you. "Check in Register msg Contact field" Contact: Bob <sip:6000@ 69.177.27.32>;expires=660. Probably SER replace it. Beside it, you can have a multiple OpenSER and Radius (AA) with shared db acting as Registrars, I do not understand why you want asterisk to do that. Regards, Giovanni 2007/11/29, Stefano Capitanio <s.capitanio at mclink.it>:> > > Hi, > > Yes it make sense to have multiple registrars and to have SER acting as a transparent proxy that forwards also REGISTER messages. > > The question is: why it does not work! L > > Regards, > Stefano > > > > > > Stefano, > It is not Asterisk, It is SER (dispatcher module ?). > Why Asterisk is acting as Register ? make sense use openSER as > Register/Proxy and Asterisk only Proxy and MG > > Regards, > Giovanni > > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Giovanni Miano
Seemingly Similar Threads
- Fwd: SER as a Session Border Controller
- MWI, Realtime SIP, Voicemail and Extensions, UAs registered with SER
- Asterisk, FreeSWITCH, TrixBox, SER, OpenSER, sipX, CallWeaver, and YATE.
- SER, OpenSER, Kamailio, OpenSIPS -- what are you using?
- Asterisk with SourdCard