Re: [asterisk-users] Dial() application 'g' option

2009-02-22 Thread Jim Dickenson
CHANNEL -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ > From: Mindaugas Kezys > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > > Date: Sun, 22 Feb 2009 11:42:41 +0200 > To: > Subject: Re: [asterisk-users] Dial() application 

Re: [asterisk-users] Dial() application 'g' option

2009-02-22 Thread Geoff Lane
On Sunday, February 22, 2009, Mindaugas Kezys wrote: > How to determine which channel hung up first? It doesn't seem to matter on my system since including the following line in extension h always seems to record the channel that made the call. exten => h,n,Log(NOTICE,Call made via channel ${CHA

Re: [asterisk-users] Dial() application 'g' option

2009-02-22 Thread Mindaugas Kezys
. vasario 22 d. 04:10 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Dial() application 'g' option On Saturday, February 21, 2009, Philipp Kempgen wrote: > To be quite precise the documentation says > ---cut--- >g- Proceed with di

Re: [asterisk-users] Dial() application 'g' option

2009-02-21 Thread Geoff Lane
On Saturday, February 21, 2009, Philipp Kempgen wrote: > To be quite precise the documentation says > ---cut--- >g- Proceed with dialplan execution at the current extension if the >destination channel hangs up. > ---cut--- > So I would not expect the g option to have any effec

Re: [asterisk-users] Dial() application 'g' option

2009-02-21 Thread Philipp Kempgen
Geoff Lane schrieb: > I'm trying to increment an AstDB key with the length of the last > outgoing call. Here's what I've got for "01" UK geographical numbers: > > exten => _01.,1,Dial(${UKGeographical}/${EXTEN},,g) > exten => _01.,n,Log(NOTICE,Call to ${EXTEN} lasted ${DIALEDTIME}) > exten => _01.

Re: [asterisk-users] DIAL() application 'g' option

2009-02-21 Thread michel freiha
hi all, I have the script but i have a small issue and need some help..can you help plz? On 2/21/09, Geoff Lane wrote: > Hi All, > > Asterisk 1.4.12 on CentOS 5 > > I'm trying to increment an AstDB key with the length of the last > outgoing call. Here's what I've got for "01" UK geographical numb

[asterisk-users] DIAL() application 'g' option

2009-02-21 Thread Geoff Lane
Hi All, Asterisk 1.4.12 on CentOS 5 I'm trying to increment an AstDB key with the length of the last outgoing call. Here's what I've got for "01" UK geographical numbers: exten => _01.,1,Dial(${UKGeographical}/${EXTEN},,g) exten => _01.,n,Log(NOTICE,Call to ${EXTEN} lasted ${DIALEDTIME}) exten =

[Asterisk-Users] Dial application "g" option

2005-12-06 Thread Peter Krnjevic
I'm trying to use Dial with the "g" option. If i understand the docs correctly, when the dialed number hangs up, control returns to the initial context. In other words, the original caller shouldn't hangup, just the destination and context execution should resume with the next level. However, in p