[Serusers] SER as fake SBC...

Greger V. Teigre greger at teigre.com
Wed Sep 13 11:26:04 CEST 2006


Ok, NAT-handling proxy :-)
g-)

Natambu Obleton wrote:
>
> My softswitch doesn't support clients behind NAT, but to use the 
> centrex based features I need the clients to register directly with 
> the softswitch. So pretty much I need it to proxy for NAT translation.
>
>  
>
> Natambu Obleton
>
> Network Engineer
>
> FastTrack Communications
>
> nobleton at fasttrackcomm.net <mailto:nobleton at fasttrackcomm.net>
>
> (970) 247-3366 office
>
> (970) 247-2426 fax
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* Greger V. Teigre [mailto:greger at teigre.com]
> *Sent:* Tuesday, September 12, 2006 12:58 AM
> *To:* Natambu Obleton
> *Cc:* serusers at iptel.org
> *Subject:* Re: [Serusers] SER as fake SBC...
>
>  
>
> I'm curious: Why do you want to simulate an SBC? (that is Session 
> Border Controller for those who don't know)
> Topology hiding? Do you want to proxy everything as well?
> g-)
>
> Natambu Obleton wrote:
>
> If anyone is playing along with me.. I got registration to work. I 
> replaced "save" with "save_noreply". Now to get NAT working....
>
>  
>
>  
>
> Natambu Obleton
>
> Network Engineer
>
> FastTrack Communications
>
> nobleton at fasttrackcomm.net <mailto:nobleton at fasttrackcomm.net>
>
> (970) 247-3366 office
>
> (970) 247-2426 fax
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* serusers-bounces at lists.iptel.org 
> <mailto:serusers-bounces at lists.iptel.org> 
> [mailto:serusers-bounces at lists.iptel.org] *On Behalf Of *Natambu Obleton
> *Sent:* Monday, September 11, 2006 12:25 PM
> *To:* serusers at iptel.org <mailto:serusers at iptel.org>
> *Subject:* [Serusers] SER as fake SBC...
>
>  
>
> I understand that SER is not an SBC, but I can see how it could maybe 
> do it. So I started with hello-world.cfg from the onsip.org crowd and 
> started playing. So I rewrite the contact address to send the address 
> and port of the SER server and that works. I can make calls out, but 
> when call come in they get routed to SER and it fails because my UA is 
> not in the location database.
>
>  
>
>         # 
> ------------------------------------------------------------------------
>
>         # Call Type Processing Section
>
>         # 
> ------------------------------------------------------------------------
>
>         if (uri!=myself) {
>
>                 if (method=="REGISTER") {
>
>                         if (!subst('/Contact: <sip:(.*)@(.*)> 
> <mailto:sip:%28.*%29@%28.*%29>/Contact: <sip:\1 at 206.123.214.55:5060> 
> <mailto:sip:%5C1 at 206.123.214.55:5060>/ig')) {
>
>                                 
> log("******************************SUBST FAILED 
> ************************************\n");
>
>                         };
>
>                         # save("location");
>
>                 };
>
>                 if (!t_relay()) {
>
>                         sl_reply_error();
>
>                 };
>
>                 break;
>
>         };
>
>  
>
>  
>
> When I have 'save("location")' in my configuration, Then I don't get 
> registered with my softswitch. So what does 'save("location")' do 
> exactly? Beside put an entry in my location database? Thanks.
>
>  
>
> In my setup I am not using NAT at all. UA, SER, and my softswitch all 
> have public ip addresses.
>
>  
>
>  
>
> Natambu Obleton
>
> Network Engineer
>
> FastTrack Communications
>
> nobleton at fasttrackcomm.net <mailto:nobleton at fasttrackcomm.net>
>
> (970) 247-3366 office
>
> (970) 247-2426 fax
>
>  
>
>  
>
>  
>
>
> ------------------------------------------------------------------------
>
>
>  
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org <mailto:Serusers at lists.iptel.org>
> http://lists.iptel.org/mailman/listinfo/serusers
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060913/1b6a264d/attachment.htm>


More information about the sr-users mailing list