if you are debugging visually then look at SIP BYE message ... who sent it first
and on PRI who sent the DISCONNECT message first.

if you need to know that in the dialplan ... then if the originating
channel hanged up
then the dialplan should stop executing and go straight to h,1 even if
Dial(,,g) is used

also there is a channel variable HANGUPCAUSE and you can check what it
does on the next step
with Dial(,,g) and on h,1 ... since I don't know :)

Martin

On Thu, Oct 22, 2009 at 12:12 PM, B.Masoud @ SH <i...@saudihome.com> wrote:
> When Asterisk establish a call through an outbound trunk, Is there any way I
> can know who hang up the call first? The caller or the party called?
>
>
>
> Thanks.
>
> _______________________________________________
> -- 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
>

_______________________________________________
-- 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