Greater than 8: >
Greater or equal than 8: >=
VoIP Forums
www.Go4Calls.com wrote:
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 Get it now!
<http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline>
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
--
Alex Balashov
Evariste Systems
Web :
http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599