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

Vardan Harutyunyan hvardan71 at gmail.com
Wed May 19 12:50:32 CDT 2010


OK I will try to explain my problems, sorry for my English.

So, I want to indicate in dial plan, that the dialed channel is connectted.

For example(extensions.conf):

exten = s,1,Dial(ToSomeOne)
exten = s,n,Hangup

In this example, you can know about that the channel is connected after 
if hangup.
So, if you do this:

exten = s,1,Dial(ToSomeOne,,M(macros))
exten = s,n,Hangup


[macro-macros]
exten = s,1,Noop(Call conected)


After Noop in macros, the dial plan is do nothing.

This is a work.

If I want make this using AEL (Asterisk 1.6.2), the macro is not working.
While how we know, macro in AEL is changed to gosub.
I can continue use the macros, that I have make in extensions.conf, but 
I dont want.
So, in Dial application in asterisk 1.6.2 is now new option U.
It the same, as M, but used gosub meanings.
But he dont work same like M.

Can any body help me to understand how this work.

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: info at eif.am
www.eif-it.com

Philipp von Klitzing wrote:
> Hi!
>
>> as I understand, nobody not used this option?
>
> Would you like everyone on this list to give you an answer? ;->
>
> If you have a _real_ question about the U option of Dial(), then post it,
> and someone here might or might not have an answer.
>
> Philipp
>
>




More information about the asterisk-users mailing list