VoiceGuide IVR Software Main Page
Jump to content

Getting Called Number

Recommended Posts

I need to get the called number (not called id). What's the $RV variable name? And also does my digital phone line support this by looking at the log:

 

 

033027.40 6 linedevstate 2048 0 0

033027.40 6 callstate OFFERING 66429 0 4

033027.45 6 Lev_CallerID [0832968886,,0000]

033027.45 6 rv add [DNIS]{0000}

033027.45 6 callinfo CALLEDID

033027.45 6 callinfo ORIGIN

033027.45 6 ring 0

033033.40 6 ring 2

033033.42 6 No old processes from last call (could not obtain handle) 1568, 0

033033.42 6 Answer the call at 1/5/2005 3:30:33 AM

033033.42 6 lineAnswer(66429) => 65866

033033.95 6 callstate CONNECTED 66429 1 0

033033.95 6 callstate CONNECTED 66429,1,0

033033.95 6 WorkingModeTAPI@Connected=

033033.95 6 WorkingModeScript@Connected=

033033.00 6 Inband detection not enabled

033033.00 6 StartLoadedVgs at 1/5/2005 3:30:33 AM

033033.00 6 AddRVns [scriptsPath]{C:\Program Files\VoiceGuide\Scripts\Test\}

033033.00 6 AddRVns [scriptPath]{C:\Program Files\VoiceGuide\Scripts\Test}

033033.00 6 rv add [$RV_STARTTIME]{1/5/2005 3:30:33 AM}

033033.00 6 rv add [$RV_DEVICEID]{6}

033033.00 6 rv add [$RV_CIDNAME]{}

033033.00 6 AddRVns [PathApp]{C:\Program Files\VoiceGuide\}

033033.00 6 rv add [$RV_CIDNUMBER]{0832968886}

033033.00 6 tapi Reply (LineEvReply) ok 65866 0

033033.00 6 callinfo MONITORMODES

033034.01 6 timer clear

033034.01 6 [Play CID] Playing

033034.01 6 [Play CID] Playing ()

Share this post


Link to post

Looks like the dialed number (DNIS) data is sent, but the data is set to '0000'.

 

The RV you use to access the dialed number is:

 

$RV[DNIS]

 

look at this line in the trace:

 

033027.45 6 rv add [DNIS]{0000}

 

it shows that VG created $RV[DNIS] for you to use later...

 

What type of line are you using? Please give more info about your setup.

Share this post


Link to post

The lines are normal analogue lines from the telco (no PBX) but I've asked them to add CLI and other ISDN features so it should behave like an ISDN.

Share this post


Link to post

Usually the only way to transmit Dialed Number info on analog lines is by Inband Signaling, which is not used here...

 

If you get some meaningful data (other then "0000") for the DNIS field please let us know.

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
×