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 strain15@yahoo.com 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> lookup("aliases");<br> if (uri=~"^sip:#[0-9]*@"){<br> xlog("Sip 2 SIP\n");<br> route(4);<br> route(1);<br> return;<br> };<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>  <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 strain15@yahoo.comTo: users@openser.org
Hi,
that's right. For example SIPURA ATAs with two lines but online one terminal use # for line selection.... you better use a digit that does not overlap with the PSTN dialling plan.
regards, bogdan
Glenn Dalgliesh wrote:
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 strain15@yahoo.com 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> lookup("aliases");<br> if (uri=~"^sip:#[0-9]*@"){<br> xlog("Sip 2 SIP\n");<br> route(4);<br> route(1);<br> return;<br> };<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>  <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 strain15@yahoo.comTo: users@openser.org
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Glenn Dalgliesh writes:
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.
I came up with something like this: lookup("aliases"); if (uri=~"^sip:#[0-9]*@"){
note that # is not a valid character in user part of uri unless it is escaped. note also, that openser does not currently support escaped characters.
-- juha