Hello, I was wondering how to set my dialing plans to use # only for Sip 2 Sip calls. A user has to press the # sign if he wants to call another sip number, and just dial normally for PSTN calls?
I came up with something like this:
lookup("aliases");
if (uri=~"^sip:#[0-9]*@"){
xlog("Sip 2 SIP\n");
route(4);
route(1);
return;
};
Which of course don't work. So I'll need help. I know its possible to use 9 for PSTN calls, but I'm sure that you can use # for Sip 2 Sip. Please help me out here. Thank you.