[Serusers] Forwarding to a CISCO 1760 with FXO

Nhadie nhadie at cbcpworld.com
Thu Sep 29 16:06:04 CEST 2005


Hi All,

I have this on my SIP server;

# Local PSTN Destination forward to CISCO 1760
if ((uri=~"^(sip:)?02[0-9]*@................etc..etc..
if (is_user_in("From", "local-pstn")) {
rewritehostport("12.34.56.78:5060");
consume_credentials();
t_relay_to_udp("12.34.56.78", "5060");


# World PSTN Destination forward to gateway provider
} else if ((uri=~"^(sip:)?00[0-9]*@......etc.etc.. {
if (is_user_in("From", "world-pstn")) {
strip(2);
prefix("00000#");
rewritehostport("87.65.43.21:5060");
consume_credentials();
t_relay_to_udp("87.65.43.21", "5060");

The forwarding to the gateway provider works no problem, but the one going
to local pstn, rings on the pstn line but when I answer it session will be
cut, busy signal. Is this a problem on the CISCO 1760 or in my
configuration?

TIA

Regards,
Nhadie




More information about the sr-users mailing list