<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi All,<br><br>I was trying to make dialplan if dialed number length >= 8 it should go for PSTN call otherwise local call. <br>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<br><br>"Message to Big"<br><br>if ($(rU{s.len}) >= 8) {<br> rewritehostport("89.21.XXX.XX:5060");<br> route(1);<br> exit;<br><br> }else{<br> lookup("location");<br> route(1);<br> exit;<br> };<br><br>Thank psl suggest us how i can do the local call if it is < to 8<br><br>thank you<br><br /><hr />Connect to the next generation of MSN Messenger <a href='http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline' target='_new'>Get it now! </a></body>
</html>