[Serusers] Forward calls to a second proxy

Jiri Kuthan jiri at iptel.org
Tue Jan 13 20:43:08 CET 2004


if (uri=~"sip:123") {
  rewritehostport("1.2.3.4");
  t_relay();
  break;
};
if (uri=~"sip:456") {
  rewritehostport("4.5.6.7");
  t_relay();
  break;
};

etc.

At 06:49 PM 1/13/2004, Fábio Silvestri wrote:
>Hi to all,
>
>I have on my ser.cfg many dial plans forwarding calls to several Cisco PSTN, now I need to configure, if the call could not find a specific dial plan the forward to a second SIP proxy!
>
>How can I do this?
>
>Regards.
>
>-- 
>|o
>|o
>|o Fabio Silvestri
>|o fabio at informatec.com.br
>|o ICQ: 1667351
>|o
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers

--
Jiri Kuthan            http://iptel.org/~jiri/ 




More information about the sr-users mailing list