VoiceGuide IVR Software Main Page
Jump to content

Cidnumber Value

Recommended Posts

Hello,

We need to use the RV_CIDNUMBER value.

From the help file, we know

 

On many telephone systems the Caller ID information is sent between the first and the second Ring. Hence it is usually necessary to set the line to answer after the second Ring if this Result Variable is to carry any information. Select "Line Device Config" from the View menu when running VoiceGuide to set the Ring count.

 

But not sure what does it mean.

 

I found on some posts in forum that this might help:

 

<RingsBeforeAnswer>2</RingsBeforeAnswer>

Is it correct?

FYI we are using vg7.4 with dialogic board D4PCIU4SEW on some environments and also HMP on some others.

 

 

Another question:

Is there a way to set "$RV_CIDNUMBER" inside the script for testing purposes?

We test always using phonerlite, and that gives us something like "SIPPER@IP_ADDRESS" as cidnumber, but while testing it whould be good if I can set it to something like "77777".

 

Best regards,

 

Share this post


Link to post

On VoIP (HMP) systems the CallerID is sent at beginning of call.

 

On many Analog systems connected to normal telephone company lines the CallerID is sent by the Telco Switch between 1st and 2nd Ring.

 

On some analog systems that are connected to a PBX the CallerID is sent as "Inband Signalling" immediately after the call is answered (see: http://www.voiceguide.com/vghelp/source/html/inbandsignaling.htm )

 

The setting

 

<RingsBeforeAnswer>2</RingsBeforeAnswer>

 

controls answer time on analog systems only.

 

 

Is there a way to set "$RV_CIDNUMBER" inside the script for testing purposes?

 

No. $RV_CIDNUMBER is a system variable and cannot be set by user.

 

Probably best approach is to create your own RV that stores the Caller ID and use that throughout the script.Then at beginning of the script you could set that RV to $RV_CIDNUMBER or to a string of your choosing.

 

 

ie. at beginning of the script have an Evaluate Expression module that evaluates:

 

"$RV_CIDNUMBER"

 

and stores it in:

 

myCallerIDvalue

 

and then throughout rest of script you can use $RV[myCallerIDvalue]

 

 

When wanting to test with your own CallerID value that module can just be modified to evaluate "77777" instead of "$RV_CIDNUMBER"

 

 

Also, in VoIP environments if you just want say the first 10 characters of the caller ID then you could use this expression in the Evaluate Expression module:

 

Left("$RV_CIDNUMBER", 10)

Share this post


Link to post

Thanks!

So, I should set the RingsBeforeAnswer setting for those analog systems.

Is there a way to know if the analog system I'm connecting to uses Inband Signaling from viewing some log file?

I cannot do what the help file do (hearing the tones played).

 

Looking at some log files, I see that on VoIP systems, CID_NUMBER is like "1055@10.29.21.20"

Is that always the case for VoIP systems?

 

Thanks and regards,

Share this post


Link to post
Is there a way to know if the analog system I'm connecting to uses Inband Signaling from viewing some log file?

 

Inband Signalling is just a series of DTMF tones (keypress tones) sent immediately after call answer. So you would see in traces a number of DTMF tones arriving right after call is answered.

 

Many PBX can send this information optionally. You should speak with PBX administrator to see if this option can be turned on on your PBX.

 

On PBX systems that send Inband Signalling after call answer it is not necessary to wait 2 rings. 2 ring wait is only necessary on Telco lines that send CallerID between 1st and 2nd ring.

 

 

Looking at some log files, I see that on VoIP systems, CID_NUMBER is like "1055@10.29.21.20"

Is that always the case for VoIP systems?

 

The XXX@A.B.C.D format is commonly used on VoIP systems, but it can be anything. The system sending the call decides what to specify as CallerID.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×