[Kamailio-Users] URI length
VoIP Forums www.Go4Calls.com
go4calls at hotmail.com
Wed Oct 22 21:03:08 CEST 2008
Hi All,
I was trying to make dialplan if dialed number length >= 8 it should go for PSTN call otherwise local call.
I did the following but PSTN is working well if length is greater than 8 but when number comes for local call i am getting the error
"Message to Big"
if ($(rU{s.len}) >= 8) {
rewritehostport("89.21.XXX.XX:5060");
route(1);
exit;
}else{
lookup("location");
route(1);
exit;
};
Thank psl suggest us how i can do the local call if it is < to 8
thank you
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20081023/1fb13a50/attachment.htm
More information about the Users
mailing list