Re: [asterisk-users] Polycom Digit Map

2007-12-31 Thread Jerry Jones

On Dec 31, 2007, at 11:36 AM, Michael Munger wrote:

 I need the digit map to call China. Example number:



 011-86-10-6887-



 011-International (obvious)

 86 is country code (China)

 10 is city code (Beijing)

 Last 8 digits are the number.



 I tried using 011xxx.T but it always asks me to enter more digits.  
 Tried some variations as well, but no joy.



Yours should work if you wait long enough for t to timeout.

How about 01186xx?

Plus, IARC, when dialing offhook, pressing # should terminate dialing  
and send what it has at that point.


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom Digit Map

2007-12-31 Thread Mojo with Horan Company, LLC
Jerry Jones wrote:
 Yours should work if you wait long enough for t to timeout.
I think your digit map needs a T on the end of it if you want to allow 
timeouts for that match.


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom Digit Map

2007-12-31 Thread Michael Munger
That was one of the many iterations I tried already. It seems to respond
in that it recognizes that I am dialing 01186106887, but then it
only connects me to a dial tone and says Enter More Digits.

There has to be something simple I am over looking here. I understand
regular expressions, etc... I do have a tendancy to make a problem more
complex than it really is though!

This is my current digit map:
2XX|[2-9]11|0T|011|[0-1][2-9]x|[2-9]x|[2-9]x
xxT

Yours,

Michael Munger, dCAP
404-438-2128
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jerry
Jones
Sent: Monday, December 31, 2007 12:53 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Polycom Digit Map


On Dec 31, 2007, at 11:36 AM, Michael Munger wrote:

 I need the digit map to call China. Example number:



 011-86-10-6887-



 011-International (obvious)

 86 is country code (China)

 10 is city code (Beijing)

 Last 8 digits are the number.



 I tried using 011xxx.T but it always asks me to enter more digits.  
 Tried some variations as well, but no joy.



Yours should work if you wait long enough for t to timeout.

How about 01186xx?

Plus, IARC, when dialing offhook, pressing # should terminate dialing  
and send what it has at that point.


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom Digit Map

2007-12-31 Thread Doug Lytle
Michael Munger wrote:
 only connects me to a dial tone and says Enter More Digits.
   

It actually says this? 

I would say then it's not the phone, but your phone system's 
programming.  The Polycoms don't verbally say anything, at least not the 
ones I deal with.

Doug


-- 
 
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.



___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom Digit Map

2007-12-31 Thread Mojo with Horan Company, LLC
Doug Lytle wrote:
 Michael Munger wrote:
   
 only connects me to a dial tone and says Enter More Digits.
   
 

 It actually says this? 

 I would say then it's not the phone, but your phone system's 
 programming.  The Polycoms don't verbally say anything, at least not the 
 ones I deal with.

 Doug


   
No it doesn't SAY it -- the polycoms put on the screen Enter more 
digits.  I think it's when what you've dialed doesn't match an entry in 
your digit map, or possibly when asterisk says that extension does not 
match anything

So try: 011XXT in your digit map, meaning 011 plus at least six 
digits, consider it good   because you can't know how long the string 
will be in advance.  You want to allow for the smallest possible, which 
I suspect would be a three digit country code, like in Tonga (676) -- 
and you want to allow for the longest possible, to account for stuff 
like in Tajikistan:  992 37962 is BEFORE the local number, so you'd want 
011+ at least 9 Xs following it 011XX -- Tricky!

**
Moj

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom Digit Map

2007-12-31 Thread Mojo with Horan Company, LLC
Mojo with Horan  Company, LLC wrote:
 So try: 011XXT in your digit map, meaning 011 plus at least six
 digits, consider it good   
Err duh, that's ten X's not six :)  To account for the Tajikistan 
example plus a little bit of local number.

Really, it's dead simple to just do it like 011XT,  which means 011 
plus ANYTHING else plus a timeout :)

Moj

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom Digit Map

2007-12-31 Thread Doug
At 14:27 12/31/2007, Mojo with Horan  Company, LLC wrote:
 Mojo with Horan  Company, LLC wrote:
  So try: 011XXT in your digit map, meaning 011 plus at least six
  digits, consider it good
 Err duh, that's ten X's not six :)  To account for the Tajikistan
 example plus a little bit of local number.
 
 Really, it's dead simple to just do it like 011XT,  which means 011
 plus ANYTHING else plus a timeout :)
 
 Moj

I think you might need a dot . in there to
accept any length:


dialplan.1.digitmap=*xxx|*|[2-9]11|0T|011xxx.T|[0-1][2-9]x|[2-9]x|[2-9]xxxT|xxxT
   dialplan.1.digitmap.timeOut=3



 
 ___
 --Bandwidth and Colocation Provided by http://www.api-digital.com--
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Polycom Digit Map

2007-12-31 Thread Mojo with Horan Company, LLC
Doug wrote:
 At 14:27 12/31/2007, Mojo with Horan  Company, LLC wrote:
  Mojo with Horan  Company, LLC wrote:
   So try: 011XXT in your digit map, meaning 011 plus at least six
   digits, consider it good
  Err duh, that's ten X's not six :)  To account for the Tajikistan
  example plus a little bit of local number.
  
  Really, it's dead simple to just do it like 011XT,  which means 011
  plus ANYTHING else plus a timeout :)
  
  Moj

 I think you might need a dot . in there to
 accept any length:

 
 dialplan.1.digitmap=*xxx|*|[2-9]11|0T|011xxx.T|[0-1][2-9]x|[2-9]x|[2-9]xxxT|xxxT
dialplan.1.digitmap.timeOut=3
   
Oooh, too true.  Thanks for remembering!

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users