Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: bbialy on February 04, 2008, 01:38:24 PM

Title: Custom App question.
Post by: bbialy on February 04, 2008, 01:38:24 PM
How to use SetVar in customs apps. for example:


exten => _0X.,1,SetVar(CALLFILENAME=${CALLERIDNAME}___${TIMESTAMP:0:4}-${TIMESTAMP:4:2}-${TIMESTAMP:9:4}___${EXTEN})

in extensions.conf it works but in custom app not why?


or other question

how set variables in custom apps.

if i use
exten => _0X.,1,Set(CALLFILENAME=${CALLERIDNAME}___${TIMESTAMP:0:4}-${TIMESTAMP:4:2}-${TIMESTAMP:9:4}___${EXTEN})

                          my variable will look like this CALLERIDNAME_______EXTEN   

no time stamps

what to do