I have this. exten => 8,1,ANSWER exten => 8,2,DigitTimeout,5 exten => 8,3,ResponseTimeout,10 exten => 8,4,playback(IVR/en_enter_destination) exten => _1XXXXXXX.,1,dial(SIP/${EXTEN}@146.82.15.241) Basicaly its like pressing 8 for long distance, but more controled. But it has to wait until the timeout before it starts to dial. Is there a way to make them press # when they are done dialing the num in order to execute the _1XXXXXXX. I want to turn the timeout up but don't want to have them waiting forever. I also need to have a "exten => _011." in there as well. So it won't have the same amount of digits everytime.
That would be implimented on the phone. Grandstream is like that but on the snom you press OK. ----- Original Message ----- From: "Mike Roberts" <manipura@gmail.com> To: <asterisk-users@lists.digium.com> Sent: Sunday, November 07, 2004 7:08 AM Subject: [Asterisk-Users] press # to execute>I have this. > > exten => 8,1,ANSWER > exten => 8,2,DigitTimeout,5 > exten => 8,3,ResponseTimeout,10 > exten => 8,4,playback(IVR/en_enter_destination) > > exten => _1XXXXXXX.,1,dial(SIP/${EXTEN}@146.82.15.241) > > Basicaly its like pressing 8 for long distance, but more controled. > But it has to wait until the timeout before it starts to dial. Is there > a way to make them press # when they are done dialing the num > in order to execute the _1XXXXXXX. I want to turn the timeout up > but don't want to have them waiting forever. I also need to have a > "exten => _011." in there as well. So it won't have the same > amount of digits everytime. > _______________________________________________ > 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 >
Mike, Please elaborate it little bit. I am having the same problem. Are you using read() for the EXTEN variable? if so, how? Thanks I found it, read() does exactly what I need On Sun, 7 Nov 2004 06:09:51 -0800, Mike Roberts <manipura at gmail.com> wrote:> I'm trying to do this from PSTN -> DID -> * > > And yes, please spare me the lecture of security, Ialready know.> > > > > On Sun, 7 Nov 2004 09:01:57 -0500, Steve Totaro > <asterisk at totarotechnologies.com> wrote: > > > > That would be implimented on the phone. > > > > Grandstream is like that but on the snom you pressOK.> > > > > > > > > > ----- Original Message ----- > > From: "Mike Roberts" <manipura at gmail.com> > > To: <asterisk-users at lists.digium.com> > > Sent: Sunday, November 07, 2004 7:08 AM > > Subject: [Asterisk-Users] press # to execute > > > > >I have this. > > > > > > exten => 8,1,ANSWER > > > exten => 8,2,DigitTimeout,5 > > > exten => 8,3,ResponseTimeout,10 > > > exten => 8,4,playback(IVR/en_enter_destination) > > > > > > exten =>_1XXXXXXX.,1,dial(SIP/${EXTEN}@146.82.15.241)> > > > > > Basicaly its like pressing 8 for long distance,but more controled.> > > But it has to wait until the timeout before itstarts to dial. Is there> > > a way to make them press # when they are donedialing the num> > > in order to execute the _1XXXXXXX. I want toturn the timeout up> > > but don't want to have them waiting forever. Ialso need to have a> > > "exten => _011." in there as well. So it won'thave the same> > > amount of digits everytime. > > > _______________________________________________ > > > Asterisk-Users mailing list > > > Asterisk-Users at 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> > > > > >__________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com
You could pass the pound sign as a PLAR (Private Line Automatic Ringdown) code, with say a PIN number after that. The PLAR code is also called "Automatic Dial when Off-Hook". On Sunday 07 November 2004 12:08 pm, Mike Roberts wrote:> I have this. > > exten => 8,1,ANSWER > exten => 8,2,DigitTimeout,5 > exten => 8,3,ResponseTimeout,10 > exten => 8,4,playback(IVR/en_enter_destination) > > exten => _1XXXXXXX.,1,dial(SIP/${EXTEN}@146.82.15.241) > > Basicaly its like pressing 8 for long distance, but more controled. > But it has to wait until the timeout before it starts to dial. Is there > a way to make them press # when they are done dialing the num > in order to execute the _1XXXXXXX. I want to turn the timeout up > but don't want to have them waiting forever. I also need to have a > "exten => _011." in there as well. So it won't have the same > amount of digits everytime. > _______________________________________________ > 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-- -- Heritage Communications Corporation Melbourne, FL USA 32935 http://www.hcc.net