--
/Saúl
http://www.saghul.net | http://www.sipdoc.net
Y si haces el SET de CDR desde el dialplan te funciona?
Yo al final me he tenido que hacer una chuleta con los comportamientos de la h
y el CDR en función de si la llamada se ha contestado, no se ha contestado, se
ha hecho un dial o no...
Claro que como no tengo DeadAgi mi chuleta está incompleta en este caso
particular...
--
First they ignore you.
Then they laugh at you.
Then they fight you.
**Then you win.**
DaHjaj jaj QaQ Daghajjaj :)
>
> Ok no tiene nada que ver con el AGI, es el CDR y la extensión h
> Con el Set(CDR(userfield)) no funciona tampoco.
>
Deja en el CDR simplemente
enable=yes
unanswered=yes
y haz una prueba con Dial y sin dial, contestando y no contestando la llamada.
Extensions: While a macro is being executed, it becomes the current context.
This means that if a hangup occurs, for instance, that the macro
will be searched for an 'h' extension, NOT the context from which
the macro was called. So, make sure to define all appropriate
extensions in your macro! (you can use 'catch' in AEL)