[asterisk-users] Set Parameter of Call Files

Lee Jenkins lee at datatrakpos.com
Fri Jan 19 08:41:14 MST 2007


Hi all,

I'm implementing call files and everything works nicely except that the 
variable that I set in the call file does not seem to get populated.


Channel:	SIP/MyProvider/9105555555
MaxRetries: 	1
RetryTime: 	60
WaitTime: 	30
Context: 	myCallFileContext
Extension: 	s
Priority: 	1
Set: 		myVar=MyNewValue

and...

[myCallFileContext]
exten=>s,1,NoOp(${myVar}) ; <====== myVar is empty


I thought it might be related to write space since call files didn't 
seem to work until inserted a tab (9) between param name and value.  I 
tried just using a single space as well, but it didn't seem to make a 
difference.

I'm running 1.2.14 on CentOS4.4...

Is there something obvious that I have overlooked?

Thank you,


-- 

Warm Regards,

Lee



More information about the asterisk-users mailing list