[Asterisk-Users] Variables
    Shaun 
    mailinglists at unix-scripts.com
       
    Sun Apr 16 00:06:18 MST 2006
    
    
  
I have a call screening system setup, caller calls in runs a macro and sets 
a far to track the recording that was taken of the callers name... then the 
callee runs a macro also that plays him that recording (pulled from that var 
that was set).... This works fine until i use a queue in the middle of it 
all... it appears that with queues that the file name stored in a var called 
SCREEN_FILE is lost once the caller is taken out of the queue..  Is their a 
uniq ID or somthing thats set to each call that i can use as the file name 
so i can always play back that file that was recorded or is their a way to 
to not loose the value of SCREEN_FILE once the caller is put into the queue? 
I though about setting SCREEN_FILE as global but i think that will cause 
problems with multiple calls and SCREEN_FILE being overwritten by other 
callers and the screening macro running...
If each call had a uniq session id i could easily just use that....
-- 
~Shaun 
    
    
More information about the asterisk-users
mailing list