I had the exact same issue on a PRI and never found a solution. The bottom line is that you can't make asterisk do anything until it thinks the call has been answered. It just waits at the dial stage forever.
This was in the Asterisk 1.2 days so perhaps there is something new in 1.4 that might solve this? John On Thu, 2008-02-14 at 14:45 -0500, Dave Donovan wrote: > Hi Jim, > > Someone posted within the last few weeks with the same issue. I don't > think it was ever solved. > > One outside the box answer is to tell your carrier that you don't want > billing codes anymore so they turn off the prompt. > > Another suggestion I gave in the last thread was using playback to > generate actual in-band audio, like playback(DTMF-1.wav) for the 1 key > etc. > > I have the same service on my circuit here at work but haven't put > Asterisk on it yet. I expect to run into the same problem so I'm > interested to hear what works and what doesn't. > > Good luck, > Dave > > > On Thu, Feb 14, 2008 at 2:30 PM, Jim Van Meggelen > <[EMAIL PROTECTED]> wrote: > > Folks, > > > > Got an interesting one. > > > > We have a client who's carrier requires a long distance code on the call > > before proceeding. > > > > The challenge is that this happens before the call is answered, (via a > > PROGRESS message I guess), so if the caller is making the call manually, > > they can key in the digits, but if we want to script something in the back > > end, we can't tell Dial() to send the code in response to the PROGRESS > > event. > > > > It seems this can be done for incoming calls via the PROGRESS() app, but I > > can't see a way to send anything on outgoing calls that encounter this. > > > > Any thoughts? Experience? War stories? > > > > Thanks, > > > > Jim > > > > FYI, I think section 5.4 applies here, but it doesn't help much > > (http://www.itu.int/rec/T-REC-Q.931-199805-I/en) > > > > > > -- > > Jim Van Meggelen > > Core Telecom Innovations > > [EMAIL PROTECTED] > > www.coretel.ca > > 416-425-6111 x6001 > > 877-CORETEL x6001 (Canada) > > www.oreillynet.com/pub/au/2177 > > http://downloads.oreilly.com/books/9780596510480.pdf > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
