[asterisk-users] identify caller hangup or callee hangup?

Vardan hvardan71 at gmail.com
Mon May 17 06:45:58 CDT 2010


And how you want check the both leg?
Look, you have to channel.
Incoming and Outgoing.

You want to see, who first do hangup.
How you want do this with "g"?


-- 
Vardan Harutyunyan,
Senior System Administrator

Enterprise Incubator Foundation
123 Hovsep Emin Street,
Yerevan 0051, Republic of Armenia
Tel: + 374 10 219735
Fax: + 374 10 219777
E-mail: info at eif.am
www.eif-it.com

Aurimas Skirgaila wrote:
> so you can go for it.
> the basic idea:
>
> Dian(***,***,g)
> Noop("Called party hung up first")
> Hangup
>
>
>
> On Mon, May 17, 2010 at 1:23 PM, Vardan <hvardan71 at gmail.com
> <mailto:hvardan71 at gmail.com>> wrote:
>
>     Yes, I know about this option, You can you this also, but, how you want
>     to see what leg was hangup the channel?
>
>     Olivier wrote:
>      > Have you looked at Dial's g option ?
>      > "*g*: When the called party hangs up, exit to execute more
>     commands in
>      > the current context."
>      >
>
>     --
>     Vardan Harutyunyan,
>     Senior System Administrator
>
>     Enterprise Incubator Foundation
>     123 Hovsep Emin Street,
>     Yerevan 0051, Republic of Armenia
>     Tel: + 374 10 219735
>     Fax: + 374 10 219777
>     E-mail: info at eif.am <mailto:info at eif.am>
>     www.eif-it.com <http://www.eif-it.com>
>
>
>     --
>     _____________________________________________________________________
>     -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>     New to Asterisk? Join us for a live introductory webinar every Thurs:
>     http://www.asterisk.org/hello
>
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>
> --
> Mvh,
> Aurimas Skirgaila
>




More information about the asterisk-users mailing list