[asterisk-users] cant use h,1 at cancel!

2009-06-11 Thread BERGANZ François
Hello, In my dialplan, I do s,n,DIAL(…) If my called phone response and after hangup, asterisk execute the h,1,… But, if I the caller hangup at ringing (cancel), it don’t execute the h,1,… Know you why? Thank you Cordialement, BERGANZ François P Pensez à

Re: [asterisk-users] cant use h,1 at cancel!

2009-06-11 Thread Steve Howes
On 11 Jun 2009, at 08:59, BERGANZ François wrote: In my dialplan, I do s,n,DIAL(…) If my called phone response and after hangup, asterisk execute the h,1,… But, if I the caller hangup at ringing (cancel), it don’t execute the h,1,… Know you why? Because the call was cancelled and

Re: [asterisk-users] cant use h,1 at cancel!

2009-06-11 Thread BERGANZ François
-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] De la part de Steve Howes Envoyé : jeudi 11 juin 2009 10:59 À : Asterisk Users Mailing List - Non-Commercial Discussion Objet : Re: [asterisk-users] cant use h,1 at cancel! On 11 Jun 2009, at 08:59, BERGANZ François

Re: [asterisk-users] cant use h,1 at cancel!

2009-06-11 Thread jonas kellens
How about this : if you add the option 'g' in your Dial()-command, then when the caller hangs up Asterisk will continue to execute the commands hat follow. You could then read the ${DIALSTATUS}-variable (which will be 'CANCEL') and execute a command based on this.

Re: [asterisk-users] cant use h,1 at cancel!

2009-06-11 Thread Tilghman Lesher
On Thursday 11 June 2009 03:59:01 Steve Howes wrote: On 11 Jun 2009, at 08:59, BERGANZ François wrote: In my dialplan, I do s,n,DIAL(…) If my called phone response and after hangup, asterisk execute the h,1,… But, if I the caller hangup at ringing (cancel), it don’t execute the

Re: [asterisk-users] cant use h,1 at cancel!

2009-06-11 Thread Anthony
Tilghman Lesher wrote: On Thursday 11 June 2009 03:59:01 Steve Howes wrote: On 11 Jun 2009, at 08:59, BERGANZ François wrote: In my dialplan, I do s,n,DIAL(…) If my called phone response and after hangup, asterisk execute the h,1,… But, if I the caller hangup at ringing (cancel),

Re: [asterisk-users] cant use h,1 at cancel!

2009-06-11 Thread Ishfaq Malik
Anthony wrote: Tilghman Lesher wrote: On Thursday 11 June 2009 03:59:01 Steve Howes wrote: On 11 Jun 2009, at 08:59, BERGANZ François wrote: In my dialplan, I do s,n,DIAL(…) If my called phone response and after hangup, asterisk execute the h,1,… But, if I