• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Callid Session Variable

Status
Not open for further replies.

len@Arena

Forum User
Joined
Aug 4, 2009
Messages
11
Reaction score
0
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?
 
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.
 
So in the example above (#2/45) the 45 would be a sequence number? What about the 2?
 
The first part is the quantity of simultaneous calls, not sure if calls in the IVR or the entire PBX...
 
Status
Not open for further replies.
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.