Well I would becarefull using # since some UA's use # to terminate digit input 
and dial..... Not positive but I think * would be a better choice.
---------------------
Sent with ChatterEmail
True push email for the Treo Smartphone
www.chatteremail.com


-----Original Message-----
From: Kenny Chua <[EMAIL PROTECTED]>
Date: Wednesday, Jun 28, 2006 10:56 pm
Subject: [Users] Using # for Sip 2 Sip calls

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.
 
                
---------------------------------
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail Beta.
--0-591390942-1151549737=:48905
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

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?<br> <br> I came up with something like 
this: <br> &nbsp;&nbsp;&nbsp; lookup("aliases");<br> &nbsp;&nbsp;&nbsp; if 
(uri=~"^sip:#[0-9]*@"){<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; xlog("Sip 2 
SIP\n");<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route(4);<br> 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route(1);<br> &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; return;<br> &nbsp;&nbsp;&nbsp; };<br> <br> 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.<br> <p>&#32;
                <hr size=1>Do you Yahoo!?<br> 
Get on board. <a 
href="http://us.rd.yahoo.com/evt=40791/*http://advision.webevents.yahoo.com/handraisers";>You're
 invited</a> to try the new Yahoo! Mail Beta.
--0-591390942-1151549737=:48905--

[Users] Using # for Sip 2 Sip callsKenny Chua <[EMAIL PROTECTED]>To: 
[email protected]


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to