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!