As far as I can tell, it's almost exactly the same as the M() option.
I've used it for call screening.

On 19 May 2010 01:27, Vardan <[email protected]> wrote:
> Hello
>
> Has anyone used this?
> How it works?
> What you do by end of this gosub extension?
>
>  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
> --
> 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: [email protected]
> www.eif-it.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to