[asterisk-users] Function IMPORT and Local channels

Ethy H. Brito
Tue, 28 Apr 2015 02:56:30 -0000

On Mon, 27 Apr 2015 23:52:30 -0300
"Ethy H. Brito" <ethy.brito at inexo.com.br> wrote:

>
> Hi all
>
> These questions were asked back in 2009 at lists.digium.com and got
> unanswered:
>
> - Has someone been successful in using IMPORT on a Local channel ?
> - Is there a known limitation in doing so ?
>
> I run into the same problem.
>
> ${IMPORT(Local/1234 at example-abcd;2,CALLERID(dstchannel))} returns
> nothing. But I can read the dstchannel for it into the CDR.

MY MISTAKE HERE!!

the correct instance is:

${IMPORT(Local/1234 at example-abcd;2,CDR(dstchannel))}

Stupid cut and paste error.

sorry for that.

Ethy