[asterisk-users] About option U in Dial Ast version 1.6.2

Vardan hvardan71 at gmail.com
Wed May 19 02:50:31 CDT 2010


Hello
as I understand, nobody not used this option?


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

Vardan wrote:
> Has any one used this?
>    U(x[^arg[^...]]):
>           x - Name of the subroutine to execute via Gosub
>           arg - Arguments for the Gosub routine
>       Execute via Gosub the routine<x>  for the *called* channel before
>       connecting to the calling channel. Arguments can be specified to
> the Gosub
>       using '^' as a delimiter. The Gosub routine can set the variable ${GO
>       SUB_RESULT} to specify the following actions after the Gosub returns.
>           ${GOSUB_RESULT}:
>               ABORT: Hangup both legs of the call.
>               CONGESTION: Behave as if line congestion was
>               encountered.
>               BUSY: Behave as if a busy signal was encountered.
>               CONTINUE: Hangup the called party and allow the
>               calling party to continue dialplan execution at the next
> priority.
>               GOTO:<context>^<exten>^<priority>: Transfer the call
>               to the specified priority. Optionally, an extension, or
> extension
>               and priority can be specified.
>       NOTE: You cannot use any additional action post answer options in
>       conjunction with this option. Also, pbx services are not run on the
> peer
>       (called) channel, so you will not be able to set timeouts via the
> TIMEOUT()
>       function in this routine.
>
>
> Thanks




More information about the asterisk-users mailing list