Callid Session Variable

Dedicated forum for the visual 'drag and drop' voice application designer that allows easy creation of advanced voice applications without programming knowledge

Moderators: kevin, 3CX staff

Callid Session Variable

Postby len@Arena » Thu Aug 20, 2009 8:19 am

Hi, I need to confirm the values kept in the session object. When a script is executed the session object contains three variables: ani, callid and dnis.

It seems ani is the phonenumber that originally called the script and dnis is the extension number the script is registered to. From the various debugging sessions conducted it seems that the callid is composed of :
From_<ani>_to_<dnis>_menu_<dnis>_#2/45

The numbers after the # keep changing after every call. Any ideas what info these numbers represent?
len@Arena
New User
 
Posts: 7
Joined: Tue Aug 04, 2009 2:12 pm

Re: Callid Session Variable

Postby VAD_Support » Thu Aug 20, 2009 1:54 pm

The final part of the callid is a sequence number. The idea is that the callid is unique. You may use it to distinguish two calls from the same origin to the same destination.
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 421
Joined: Thu Aug 06, 2009 5:29 pm

Re: Callid Session Variable

Postby len@Arena » Thu Aug 20, 2009 3:45 pm

So in the example above (#2/45) the 45 would be a sequence number? What about the 2?
len@Arena
New User
 
Posts: 7
Joined: Tue Aug 04, 2009 2:12 pm

Re: Callid Session Variable

Postby VAD_Support » Thu Aug 20, 2009 4:30 pm

The first part is the quantity of simultaneous calls, not sure if calls in the IVR or the entire PBX...
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 421
Joined: Thu Aug 06, 2009 5:29 pm


Return to 3CX Voice Application Designer (VAD)

Who is online

Users browsing this forum: No registered users and 0 guests