Daryl G. Jurbala
2005-Feb-01 09:03 UTC
[Asterisk-Users] Zap channel occasionally misses dialing the first digit
....I THINK. When dialing 1+10 digits, I occasionally get a telco message "You must first dial a 1....". When I look at the console, the number is being sent to the ZAP channel properly. We're talking about a couple of POTS lines on a TDM400P. I'm thinking that it may be starting the dial too early after coming off-hook because I can just redial and have it work (or not) randomly. Does anyone know what this might be and/or an easy way to have the ZAP channel come off-hook, delay for 1/2 second or so, and then dial? Thanks, Daryl G. Jurbala NGM Tec, Inc. Tel: 215-862-1160 ext. 235 Fax: 215-862-9880
Asterisk
2005-Feb-01 09:26 UTC
[Asterisk-Users] Zap channel occasionally misses dialing the first digit
have a look at http://www.voip-info.org/wiki-Asterisk+zap+channels Here it tells you that you can specify a wait period. Here are some examples of complete Dial commands as they might appear in your Dialplan <http://www.voip-info.org/wiki-Asterisk+config+extensions.conf>: exten => s,1,Dial(Zap/1) ; Ring extension on channel 1 exten => s,1,Dial(Zap/1r2) ; Ring extension on channel 1 with distinctive ring #2 exten => s,1,Dial(Zap/1,30) ; Ring extension on channel 1 with 30 second timeout exten => s,1,Dial(Zap/2/5551234) ; Dial 5551234 on channel 2 exten => s,1,Dial(Zap/2c/5551234) ; Dial 5551234 on channel 2 with answer confirmation exten => s,1,Dial(Zap/2/ww5551234) ; Wait 1 second then dial 5551234 on channel 2 exten => s,1,Dial(Zap/g1/5551234) ; Dial 5551234 on the first available channel in group 1 exten => s,1,Dial(Zap/1-2/1234) ; Dial 1234 on span 1, port 2 exten => s,1,Dial(Zap/1-2/c1234) ; Dial 1234 on span 1, port 2, with PRI clear channel option HTH Julian Lyndon-Smith IT Director Tessera Group Plc. Daryl G. Jurbala wrote:>....I THINK. When dialing 1+10 digits, I occasionally get a telco >message "You must first dial a 1....". When I look at the console, the >number is being sent to the ZAP channel properly. We're talking about a >couple of POTS lines on a TDM400P. > >I'm thinking that it may be starting the dial too early after coming >off-hook because I can just redial and have it work (or not) randomly. >Does anyone know what this might be and/or an easy way to have the ZAP >channel come off-hook, delay for 1/2 second or so, and then dial? > >Thanks, >Daryl G. Jurbala >NGM Tec, Inc. >Tel: 215-862-1160 ext. 235 >Fax: 215-862-9880 >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > >
Andrew Kohlsmith
2005-Feb-01 09:26 UTC
[Asterisk-Users] Zap channel occasionally misses dialing the first digit
On February 1, 2005 11:03 am, Daryl G. Jurbala wrote:> ....I THINK. When dialing 1+10 digits, I occasionally get a telco > message "You must first dial a 1....". When I look at the console, the > number is being sent to the ZAP channel properly. We're talking about a > couple of POTS lines on a TDM400P.I am seeing this too, only I'm using 100% PRI. I'm not sure how it would be a Zap problem since the Zap driver doesn't see any digits when you're dealing with PRI. Several tries later and it suddenly works.... It's very sporadic. -A.
Jason Kawakami
2005-Feb-01 09:42 UTC
[Asterisk-Users] RE: Zap channel occasionally misses dialing the first digit
-----Original Message----- <snip> Does anyone know what this might be and/or an easy way to have the ZAP channel come off-hook, delay for 1/2 second or so, and then dial? -look at the w option to the dial command on the wiki Exten=???????,1,Dial(Zap/G?/w${EXTEN}) Jason Kawakami