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(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of
john
Sent: June 16, 2004 11:19 AM
To: jiri(a)iptel.org; klaus.mailinglists(a)pernau.at
Cc: serusers(a)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(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers