instead of t_relay_to("xxx.xxx.xxx.xxx","5060"); try
rewritehostport("xxx.xxx.xxx.xxx:5060");
-----Original Message-----
From: budi wibowo [mailto:bu1d@yahoo.com]
Sent: Friday, April 18, 2003 09:54
To: serusers(a)lists.iptel.org
Subject: [Serusers] pstn connectivity
hi i'm new guy in this list
and i have a litle problem with connectivity to psnt
thru cisco as5300
below is my ser.cfg, yyy.yyy.yyy.yyy is ip of ser and
xx.xxx.xxx.xxx is ip of the cisco gw
if (uri=~"^sip:[0-9]*@yyy.yyy.yyy.yyy"){
log("Forward to pstn \n");
t_relay_to("xxx.xxx.xxx.xxx","5060");
break;
};
and i have this on my cisco
!
dial-peer voice 4 voip
incoming called number .
destination-pattern 2525T
session protocol sipv2
session target sip-server
codec g723r63
!
!
sip-ua
calling-info sip-to-pstn number set 113950029
sip-server ipv4:yyy.yyy.yy.yyyy
!
my pproblem is.. i cant if i dial to 252544123 from my
softphone , it's not work
but when i dial with format 252544123(a)xxx.xxx.xxx.xxx
it always work
anyone have clue for my problem?
thx
budi
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers