[Serusers] SER as fake SBC...

Greger V. Teigre greger at teigre.com
Tue Sep 12 08:57:48 CEST 2006


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] *On Behalf Of *Natambu Obleton
> *Sent:* Monday, September 11, 2006 12:25 PM
> *To:* 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:(.*)@(.*)>/Contact: 
> <sip:\1 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
> http://lists.iptel.org/mailman/listinfo/serusers
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060912/c75970cb/attachment.htm>


More information about the sr-users mailing list