[Asterisk-Users] Re: Variables

Shaun mailinglists at unix-scripts.com
Tue Apr 18 18:28:35 MST 2006


How can i get this uniq call session id?


-- 

~Shaun
<pdhales at optusnet.com.au> wrote in message 
news:018601c66277$667c4bd0$6401a8c0 at adairs.com.au...
> Each call has a unique callid - I used that for a dialplan a short while
> ago, to do a very similar job to what you are doing...
>
> Paul Hales
> Technical Manager
> AsteriskIT
>
> ----- Original Message ----- 
> From: "Shaun" <mailinglists at unix-scripts.com>
> To: <asterisk-users at lists.digium.com>
> Sent: Sunday, April 16, 2006 5:06 PM
> Subject: [Asterisk-Users] Variables
>
>
>> 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
>>
>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> Asterisk-Users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 






More information about the asterisk-users mailing list