Hi there, I am trying to delay sending out DTMF from Voicetronix OpenLine4 to the CO line. The reason being is that Voicetronix sends out the DTMF too fast even before the line is fully established with the carrier. Usually when dialing an 8 digit number, only 7 digits are actually successfully heard by the carrier. Currently, my dial plan is: exten => _9.,1,Dial(vpb/1-1/${EXTEN:1}) Daniel said to insert a , before the numbers. I am not too sure where to insert it. I tried exten => _9.,1,Dial(vpb/1-1/,${EXTEN:1}) and that seems to be cause a parsing error. Anybody has any ideas for a hack? David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040129/7907f37b/attachment.htm
I would suggest that you use exten => _9.,1,Dial(vpb/1-1/ww${EXTEN:1}) But as I understand it the VPB channel driver does not support the "w" (wait) option on the Dial string. An alternative would be this: exten => 9,1,Dial(vpb/1-1/) Which would just connect you to the PSTN dialtone when you dialed "9". On Thu, 2004-01-29 at 18:10, David Liu wrote:> Hi there, > > I am trying to delay sending out DTMF from Voicetronix OpenLine4 to > the CO > line. The reason being is that Voicetronix sends out the DTMF too > fast even > before the line is fully established with the carrier. Usually when > dialing > an 8 digit number, only 7 digits are actually successfully heard by > the > carrier. > > Currently, my dial plan is: > exten => _9.,1,Dial(vpb/1-1/${EXTEN:1}) > > Daniel said to insert a , before the numbers. I am not too sure where > to > insert it. I tried > exten => _9.,1,Dial(vpb/1-1/,${EXTEN:1}) and that seems to be cause a > parsing error. > > Anybody has any ideas for a hack? > > David > > > ______________________________________________________________________ > This message has been scaned for viruses. This means that potentially > dangerous content or viruses has been rewritten or removed. The > following log describes which actions were taken. > > Sanitizer (start="1075422274"): > Part (pos="2797"): > SanitizeFile (filename="unnamed.txt", mimetype="text/plain"): > Match (names="unnamed.txt", rule="1"): > Enforced policy: accept > > Part (pos="3586"): > SanitizeFile (filename="unnamed.html", mimetype="text/html"): > Match (names="unnamed.html", rule="2"): > ScanFile (file="/tmp/att-4019a442-1FJ-unnamed.html"): > Scan succeeded, file is clean. > > Enforced policy: unknown > > Match (names="unnamed.html", rule="4"): > Enforced policy: accept > > Note: Styles and layers give attackers many tools to fool the > user and common browsers interpret Javascript code found > within style definitions. References: > - http://www.securityfocus.com/bid/630 > - http://archives.indenial.com/hypermail/bugtraq/2001/January2001/0512.html > Rewrote HTML tag: >>_style_0 _/STYLE_<< > as: >>_DANGEROUS_style_0 _/STYLE_<< > Total modifications so far: 1 > > > > Anomy 0.0.0 : Sanitizer.pm $Id: Sanitizer.pm,v 1.81 2003/12/17 > 12:49:44 bre Exp $ >-- Go to http://www.digium.com/index.php?menu=documentation and look at the "Unofficial Links" section. This section has links to a wide variety of 3rd party Asterisk related pages. My page is the "Asterisk Resource Pages". BTEL Consulting 504-899-1387 or 850-484-4545 or 877-677-9643
On Thu, Jan 29, 2004 at 04:10:42PM -0800, David Liu wrote:> Hi there, > > I am trying to delay sending out DTMF from Voicetronix OpenLine4 to the CO > line. The reason being is that Voicetronix sends out the DTMF too fast even > before the line is fully established with the carrier. Usually when dialing > an 8 digit number, only 7 digits are actually successfully heard by the > carrier. > > Currently, my dial plan is: > exten => _9.,1,Dial(vpb/1-1/${EXTEN:1}) > > Daniel said to insert a , before the numbers. I am not too sure where to > insert it. I tried > exten => _9.,1,Dial(vpb/1-1/,${EXTEN:1}) and that seems to be cause a > parsing error. > > Anybody has any ideas for a hack? > > DavidThe token to insert a pause is `W` (must be upper case). Try this: exten => _9.,1,Dial(vpb/1-1/W${EXTEN:1}) each `W` will cause a 0.5 second pause. -- ******** DataCrest, Inc. -- Technically Superior ****************** Walker Haddock http://www.datacrest.com DataCrest, Inc. e-mail: wh@datacrest.com 1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589 Birmingham, AL 35216 fax: 1-205-823-7838 ***********************************************************************
<HTML> <HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="Open WebMail 2.20 20031102" name=GENERATOR> </HEAD> <BODY bgColor=#ffffff> Tilghman, <br /> <br />Thanks again for the patch - and the updated patch too! <br /> <br />Actually, I was looking more closely at the chan_vpb.c file earlier <br />after the first patch and tried recompiling * again after removing <br />'char' from char t* - since I gather that wasn't required again. <br />Asterisk now compiles properly, but crashes when a call is actually <br />made out (with and without the 'w'). Here's what happens: <br /> <br />With the extensions setting of "exten => <br />_9.,1,Dial(vpb/1-1/w${EXTEN:1},r)" - when I dial a number, for example <br />918501, asterisk crashes with the output: <br /> <br /> -- Executing Dial("SIP/TerenceParker-465d", "vpb/1-1/w18501|r") in new <br />stack <br /> Read_channel ## vpb/1-1: Setting record mode, bridge = 0 <br /> -- 1-1 requested, got: [vpb/1-1] <br /> Ouch ... error while writing audio data: : Broken pipe <br /> Ouch ... error while writing audio data: : Broken pipe <br /> Ouch ... error while writing audio data: : Broken pipe <br /> <br /> [1]+ Segmentation fault asterisk -vvvg <br /> <br />Also, when I try to revert back to my standard dial plan using "exten <br />=> 9,1,Dial(vpb/1-1/)" - asterisk crashes in exactly the same way, <br />except without the 'w'. <br /> <br />Though I don't program in C, reading through your patch it looks fine <br />to me - I can see that you're merely trying to find instances of 'w' or <br />'f' after the / and replace them with , or & . What I don't know is how <br />the rest of the chan_vpb.c file interacts with that function. <br /> <br />Any further ideas on how to solve this? <br /> <br />Thanks again for your help. <br /> <br />Terence <br /> </BODY> </HTML>