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@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@fasttrackcomm.net
(970) 247-3366 office
(970) 247-2426 fax