[asterisk-users] How to know who hangup ?

2006-12-15 Thread Gregory Duchatelet
 

Hi,

 

Using AMI or dial plan, how can i know which leg (channel ?) of a bridged
call, hangup ?

 

AMI send 2 hangup events, which have both cause 16 (normal clearing), and
the first hangup event is the called leg hangup event, not the one who
hangup.

 

Greg

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] How to know who hangup ?

2006-12-15 Thread Nicolas

Gregory Duchatelet a écrit :


Hi,

Using AMI or dial plan, how can i know which leg (channel ?) of a 
bridged call, hangup ?


AMI send 2 hangup events, which have both cause 16 (normal clearing), 
and the first hangup event is the called leg hangup event, not the one 
who hangup…


Greg



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
  
adding g in your dial application and the call will go on the extension 
when the callee hangup

___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] How to know who hangup ?

2006-12-15 Thread Gregory Duchatelet
 adding g in your dial application and the call will go on the extension
 when the callee hangup

Yes, i could also use h extension, but how to know which one hangup first
? ${HANGUPCAUSE} always say 16 (Normal clearing), and ${CHANNEL} is set to
the current channel in the dial plan...

Greg

___
--Bandwidth and Colocation provided by Easynews.com --

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