Hi Andre, I have that at work and I notice the same type of behavior when I tried to program a speed dial key. If I program the key as 9-1-403-555-5555-1234, where 1234 is my billing code, then I still get the beep asking for my biling code. We also have a PRI so I think the whole string gets sent as part of call setup then it goes on to another step and asks for the billing code digits. It's not like the old modem days when you could "at dt 9,14035555555,,1234"
You could try inserting a couple of pauses before the billing code when using the D parameter for Dial(). Maybe that would trick it. Otherwise, you could try the SendDTMF command after the dial command, hopefully it would complete the call setup and accept your digits that way. http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+SendDTMF I'd be interested in knowing if you get it working. Good luck, Dave On Feb 6, 2008 6:22 PM, Andre Courchesne - Consultant <[EMAIL PROTECTED]> wrote: > Hi, > > On an Allstream PRI circuit, the customer has account codes handled by > AllStream. When you dial, you hear a beeeeep at which point you need to > enter the account code. This works well when manually dialing. > > We are trying to initiate calls via the manager interface, it works > well again if we enter the account code manualy. > > Trying to automize it further, we are trying to have the account code > sent automatically. Using the D() parameter or Dial does not work as it > looks like the call if not "answered" when AllStream plays the beeeeep > for the account code... > > Any suggestions. > > Andre > > --------------------------------------------------------------------- > 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]
