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), it don’t execute
>>> the  h,1,…
>>>
>>>
>>> Know you why?
>>>       
>> Because the call was cancelled and not actually hung up? Generally the
>> hangup context is used to 'clean up' or provide info about the call.
>> If it didn't happen its a bit irrelevant.
>>     
>
> I think you mean that it wasn't ANSWERED, and therefore, it cannot be
> hung up.
>
>   
Yes, the simple answer is to use Answer() and then play a ring while 
connecting the caller to the callee.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to