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@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users