I saw your comment on why this is not a SBC ;-)
Feel free to add it as a how-to at
. That will make it more
widely available and easier to discuss.
For yawl out there. Here is a working copy.
http://www.natambu.com/sbc-rtpproxy.cfg
Setup the clients with a domain that points directly to the interface
of your softswitch, and put the ip address of the SER server into the
'proxy' section of the configuration.
Natambu Obleton
Network Engineer
FastTrack Communications
nobleton(a)fasttrackcomm.net <mailto:nobleton@fasttrackcomm.net>
(970) 247-3366 office
(970) 247-2426 fax
------------------------------------------------------------------------
*From:* serusers-bounces(a)lists.iptel.org
[mailto:serusers-bounces@lists.iptel.org] *On Behalf Of *Natambu Obleton
*Sent:* Tuesday, September 12, 2006 8:32 AM
*To:* 'Greger V. Teigre'
*Cc:* serusers(a)iptel.org
*Subject:* RE: [Serusers] SER as fake SBC...
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(a)fasttrackcomm.net <mailto:nobleton@fasttrackcomm.net>
(970) 247-3366 office
(970) 247-2426 fax
------------------------------------------------------------------------
*From:* Greger V. Teigre [mailto:greger@teigre.com]
*Sent:* Tuesday, September 12, 2006 12:58 AM
*To:* Natambu Obleton
*Cc:* serusers(a)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(a)fasttrackcomm.net <mailto:nobleton@fasttrackcomm.net>
(970) 247-3366 office
(970) 247-2426 fax
------------------------------------------------------------------------
*From:* serusers-bounces(a)lists.iptel.org
<mailto:serusers-bounces@lists.iptel.org>
[mailto:serusers-bounces@lists.iptel.org] *On Behalf Of *Natambu Obleton
*Sent:* Monday, September 11, 2006 12:25 PM
*To:* serusers(a)iptel.org <mailto:serusers@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@206.123.214.55:5060>
<mailto:sip:%5C1@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(a)fasttrackcomm.net <mailto:nobleton@fasttrackcomm.net>
(970) 247-3366 office
(970) 247-2426 fax
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org <mailto:Serusers@lists.iptel.org>
http://lists.iptel.org/mailman/listinfo/serusers
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers