VoiceGuide IVR Software Main Page
Jump to content

Voice Mail Varialbe Question

Recommended Posts

I am trying to send the $RV_CIDNUMBER to email when a voice mail file is attached to the email.

 

Attached is a log, $RV_CIDNUMBER is obviously not being populated, but the documentation says it should. Can I use the other variable of [inband_CallerID]{619999999}

 

Perhaps it is a naming convention in the pbx definition file. I noticed the documentation showed a different name for the Inband_CallerID variable in the examples.

 

Let me know what you think.

 

Log:

105552.91 2 tw dtmf * (2,42,42)

105552.91 2 event *, iCode=42 state=4100

105552.91 2 LsIndialSignalCapture event[*] inband[**5001108*6199999999]

105552.91 2 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

105553.35 2 timer fired EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

105553.35 2 event EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT, iCode=9011 state=4100

105553.35 2 LsIndialSignalCapture event[EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT] inband[**5001108*6199999999*]

105553.35 2 Inband [**5001108*6199999999*] matched by pattern [[*][*]5?????????????????*]

105553.35 2 Inband [inband_TOC] = [5]

105553.36 2 rv add [inband_TOC]{5}

105553.36 2 Inband [inband_Calling] = [001]

105553.36 2 rv add [inband_Calling]{001}

105553.36 2 Inband [inband_Ext] = [108]

105553.36 2 rv add [inband_Ext]{108}

105553.36 2 Inband [inband_CallerID] = [6199999999]

105553.36 2 rv add [inband_CallerID]{6199999999}

105553.37 2 StartLoadedVgs at 9/27/2007 10:55:53 AM (VgMulti v6.0.3243)

105553.37 2 set LineState().iVgsIdx=1

105553.38 2 set sScriptToRunOnHangup=[] in StartLoadedVgs

105553.38 2 init StartLoadedVgs_InitLineState start

105553.39 2 rv add [$RV_STARTTIME]{9/27/2007 10:55:53 AM}

105553.39 2 rv add [$RV_DEVICEID]{2}

105553.39 2 rv add [DlgcNetworkResource]{dxxxB1C2}

105553.39 2 rv add [DlgcVoiceResource]{dxxxB1C2}

105553.39 2 rv add [$RV_CIDNAME]{}

105553.39 2 rvns add [PathApp]{C:\Program Files\VoiceGuide\}

105553.39 2 rvns add [scriptsPath]{C:\BankTransIvr\scripts\}

105553.39 2 rv add [$RV_CIDNUMBER]{}

105553.39 2 fn RunModule start [Evaluate,[CheckTypeOfCall],1,,]

105553.39 2 timer clear

105553.39 2 state [CheckTypeOfCall] Evaluate [$RV[inband_TOC]]

105553.39 2 rv replace start: [$RV[inband_TOC]]

105553.41 2 rvns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[inband_TOC]{5}[inband_Calling]{001}[inband_Ext]{108}[inband_CallerID]{619

99999}[$RV_STARTTIME]{9/27/2007 10:55:53 AM}[$RV_DEVICEID]{2}[DlgcNetworkResource]{dxxxB1C2}[DlgcVoiceResource]{dxxxB1C2}

$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{C:\BankTransIvr\scripts\}[$RV_CIDNUMBER]{}

105553.41 2 rv replace end: [5]

105553.41 2 eval[5]

105553.41 2 rv add [CheckTypeOfCall_Input]{5}

105553.41 2 rv add [CheckTypeOfCall]{5}

105553.41 2 Eval Expr result:[5]

105553.41 2 rv replace start: [on {#} goto [Voicemail Retrieve]

on {1} goto [Play Welcome]

 

Share this post


Link to post
Can I use the other variable of [inband_CallerID]{619999999}

Yes, of course you can. You can use any RV created.

 

The $RV_CIDNUMBER is only set if the Caller ID details have been supplied as part of the ISDN or VoIP setup message or was sent encoded between the first and second ring.

 

You are retrieving the CallerID by capturing and parsing the Inband Signaling DTMF tones. This will set the RV's specified as part of the Inband Signaling parser definition - and that’s exactly what the Inband Signaling parser does: sets the $RV[inband_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
×