Koozali.org: home of the SME Server

Custom App question.

Offline bbialy

  • ****
  • 105
  • +0/-0
Custom App question.
« 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

Reading with understanding is the hardest thing IN THE WORLD