[Serusers] How to forward the call to PSTN GW
Joseph Cheung
Joseph.Cheung2 at TELUS.COM
Fri Jun 18 15:30:59 CEST 2004
I think you need to forward the ACK to complete the handoff and the CANCEL in case the user abandon the call in the mid-way.
-----Original Message-----
From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] On Behalf Of john
Sent: June 16, 2004 11:19 AM
To: jiri at iptel.org; klaus.mailinglists at pernau.at
Cc: serusers at lists.iptel.org
Subject: [Serusers] How to forward the call to PSTN GW
Hi Jiri,
I have a question.
I want to route all call start with 0026xxxxxxxxxxxxxxxxxxxx to the PSTN
gateway.
And I tried it with the command
if (uri=~"^sip:0026*@") {
forward(IP,5060);
break;
};
Is this correct?
Do I need to inculde this condition is the following condition statment:
if (method=="INVITE") {
if (uri=~"^sip:0026*@" {
forward(ip , 5060);
break;
};
};
Thanks for your help.
Regards
John
_______________________________________________
Serusers mailing list
serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list