[Serusers] SER as fake SBC...

Natambu Obleton nobleton at fasttrackcomm.net
Mon Sep 11 20:25:29 CEST 2006


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

(970) 247-3366 office

(970) 247-2426 fax

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060911/d23b3bb1/attachment.htm>


More information about the sr-users mailing list