[asterisk-dev] Local channel origination issue.

Richard Mudgett rmudgett at digium.com
Tue Oct 11 10:10:16 CDT 2011


> Thank you, very much. I had suspicions I missed something trivial.
> 
> Have another Local channel related question/issue.
> My original origination command is
> action:originate
> channel:local/listener-SOME_ID at vsm-context/n
> context:vsm-context
> exten:record
> priority:1
> async:true
> codecs:alaw
> timeout:10
> variable:ordernum=SOME_ID
> variable:vsmfile=FILENAME
> 
> where SOME_ID and FILENAME are replaced by real value. Now, when
> action works, I expecting to have initialised variables in record leg
> of channel, but I there is no variables I expected, so my dialplan
> completely fails its task. When calling to real device(e.g SIP) all
> variables are initialised as expected. Where is caveat? Asterisk
> 1.8.4.4

The code processing the "variable:" headers in the originate action
expects a space after the colon.  This is a bug in the code that I
will commit a fix for soon.  Thank you for pointing it out.

Richard



More information about the asterisk-dev mailing list