[Asterisk-Users] dial timeout not working
I've got a timeout set on a dial statement but I can't seem to get it to work. NO matter what the value is set to, the phone just rings and rings and rings exten => _9NXX,1,Dial(${PSTN}/${EXTEN:1}|${timeout});dial the number exten => _9NXX,102,macro(dial-post-b,${EXTEN},${CFREF}) ;busy, so go here exten => _9NXX,2,macro(dial-post-u,${EXTEN},${CFREF}) ;unavailable, so go here I have set the timeout=15 and according to the console, the variable is getting to the dial command ok. -- Executing Dial("SIP/8006-5bcf", "Zap/g1/7771000|15") in new stack -- Called g1/7771000 -- Zap/1-1 answered SIP/8006-5bcf -- Hungup 'Zap/1-1' Anybody know what I'm screwing up ?? -Lance ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] dial timeout not working
well onces Zap/1-1 answers SIP/8006 the timeout doesn't matter it thinks its answered ( I bet this is an x100p isn' it) bkw On Sat, 7 Feb 2004, Lance Arbuckle wrote: > > I've got a timeout set on a dial statement but I can't seem to get it to > work. NO matter what the value is set to, the phone just rings and > rings and rings > > exten => _9NXX,1,Dial(${PSTN}/${EXTEN:1}|${timeout});dial > the number > exten => _9NXX,102,macro(dial-post-b,${EXTEN},${CFREF}) ;busy, > so go here > exten => _9NXX,2,macro(dial-post-u,${EXTEN},${CFREF}) > ;unavailable, so go here > > I have set the timeout=15 and according to the console, the variable is > getting to the dial command ok. > > -- Executing Dial("SIP/8006-5bcf", "Zap/g1/7771000|15") in new stack > -- Called g1/7771000 > -- Zap/1-1 answered SIP/8006-5bcf > -- Hungup 'Zap/1-1' > > Anybody know what I'm screwing up ?? > > -Lance > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] dial timeout not working
Brian West wrote: > > well onces Zap/1-1 answers SIP/8006 the timeout doesn't matter it thinks > its answered ( I bet this is an x100p isn' it) > > bkw > > On Sat, 7 Feb 2004, Lance Arbuckle wrote: > > > > > I've got a timeout set on a dial statement but I can't seem to get it to > > work. NO matter what the value is set to, the phone just rings and > > rings and rings > > > > exten => _9NXX,1,Dial(${PSTN}/${EXTEN:1}|${timeout});dial > > the number > > exten => _9NXX,102,macro(dial-post-b,${EXTEN},${CFREF}) ;busy, > > so go here > > exten => _9NXX,2,macro(dial-post-u,${EXTEN},${CFREF}) > > ;unavailable, so go here > > > > I have set the timeout=15 and according to the console, the variable is > > getting to the dial command ok. > > > > -- Executing Dial("SIP/8006-5bcf", "Zap/g1/7771000|15") in new stack > > -- Called g1/7771000 > > -- Zap/1-1 answered SIP/8006-5bcf > > -- Hungup 'Zap/1-1' > > > > Anybody know what I'm screwing up ?? > > > > -Lance Yup, it certainly is... So why is Zap/1-1 "answering" the call that it's making instead of waiting for the far end to answer ? -Lance ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users