[asterisk-users] Dial command and its g option
didier.cuffaut
didier.cuffaut at neuf.fr
Thu Jun 12 07:48:32 CDT 2008
Hi,
With the g option, you just have to continue in the CALLER Dialplan, you
have nothing to do, just continue your Dialplan i.e:
exten=> s,n,Dial(what you want) <= and when the Called hangup you're goto
the next line
exten=> s,n,Goto(where you want) or
exten=> s,n, 'DO WHAT YOU WANT: playback, background and so'
After the CALLED party hangup (of course, not the caller), the CALLER
continue in his dialplan......
Hope i'm not misunderstanding your question......
BUT if the two legs hangup, you have to use DEADAGI on the h extension......
----- Original Message -----
From: "voip crazy" <voipcrazy at gmail.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Thursday, June 12, 2008 12:25 PM
Subject: [asterisk-users] Dial command and its g option
> I need to execute an action after a call is hangup. I just see the
> command Dial has an option for that, the "g" option.
> I configure the dial command as
>
> exten => s,n,Dial(SIP/100,100,Ttg)
>
> How should I add the line which the command will be executed after the
> dial command in this example?
>
> I don`t how its works, someone could put a example about the way to use
it.
>
> Thanks you in advance.
>
> VoipCrazy
>
> _______________________________________________
> -- 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
More information about the asterisk-users
mailing list