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 dialplan execution

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

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

2009-02-22 Thread Jim Dickenson
Subject: Re: [asterisk-users] Dial() application 'g' option How to determine which channel hung up first? Regards, Mindaugas Kezys http://www.kolmisoft.com VoIP Billing and Routing Solutions -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users

[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 =

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 ge...@gjctech.co.uk 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

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 =

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 effect if

[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