[Serusers] Forwarding Invites to SBC
Kostas Marneris
K.Marneris at otenet.gr
Tue May 15 09:36:41 CEST 2007
Take a look at Getting Started guide
http://www.iptel.org/ser/doc/gettingstarted.
Chapter 9 (PSTN GW Connectivity) is similar with that you want.
- INVITE handler -
...
if ((uri =~ "^sip:1[0-9]{9}@") ||
(uri =~ "^sip:00[1-9]{1}[0-9]{8}[0-9]*@")) {
rewritehostport("SBC_IP_address:port");
route(1);
break;
} else {
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
route(1);
};
...
route[1] {
if (!t_relay()) {
sl_reply_error();
};
}
Wroclawski, Gregory J (Greg) wrote:
> I am trying to configure the ser.cfg file so I can forward invites from
> a user registered on the SER to a ACME session border. I HAVE HAD NO
> SUCCESS. I have a IP adress for the SBC. Does anyone have a sample
> ser.cfg file that illustrates the "if then else' statements to effect
> this.
>
> Thanks in advance
>
> Greg Wroclawski
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
More information about the sr-users
mailing list