VoiceGuide IVR Software Main Page
Jump to content

Distinctive Ring

Recommended Posts

I read that and it does not fully explain how to set it up. I need more detail.

I actually have 3 rings that come into this line and only 2 are used for voice calls. I would like to instruct vg to ignore the fax ring.

Also, VG does not seem to be acknowledge distinctive rings. Example, when a Triple ring comes in, VG counts each ring as 3 rings instead of 1. Do I need to turn the feature on?

Share this post


Link to post

Can you post the traces showing all of the 3 different rings arriving on the system and we can then assist in creating the Distinctive Ring definition section.

 

Debug Trace files are created in VG's \log\ subdirectory.

 

When posting traces/scripts please .ZIP them up and post them as attachments.

 

Indicate at what times each of the different rings arrived so that we know which ring is which.

Share this post


Link to post

Here are the 3 calls, at the end of this log. I believe it is starting at 182230.

The first and second of the last 3 calls are voice calls that I do want answered.

The last call is the fax ring for VG to ignore.

1011_1805_vgEngine Rings.zip

Share this post


Link to post

The following will need to be included in the ConfigLine.xml file:

<DistinctiveRings>

<DistinctiveRing>
<Name>Ring1</Name>
<ID>Ring1</ID>
<Description></Description>
<Notes></Notes>
<Cadence>
<On>60</On>
<OnDev>10</OnDev>
<Off>20</Off>
<OffDev>10</OffDev>
</Cadence>
<Cadence>
<On>60</On>
<OnDev>10</OnDev>
<Off>80</Off>
<OffDev>10</OffDev>
</Cadence>
<Cadence>
<On>120</On>
<OnDev>10</OnDev>
<Off>260</Off>
<OffDev>20</OffDev>
</Cadence>
</DistinctiveRing>

<DistinctiveRing>
<Name>Ring2</Name>
<ID>Ring2</ID>
<Description></Description>
<Notes></Notes>
<Cadence>
<On>50</On>
<OnDev>10</OnDev>
<Off>550</Off>
<OffDev>20</OffDev>
</Cadence>
<Cadence>
<On>50</On>
<OnDev>10</OnDev>
<Off>550</Off>
<OffDev>20</OffDev>
</Cadence>
</DistinctiveRing>

<DistinctiveRing>
<Name>RingFax</Name>
<ID>RingFax</ID>
<Description></Description>
<Notes></Notes>
<Cadence>
<On>50</On>
<OnDev>10</OnDev>
<Off>80</Off>
<OffDev>10</OffDev>
</Cadence>
<Cadence>
<On>50</On>
<OnDev>10</OnDev>
<Off>425</Off>
<OffDev>20</OffDev>
</Cadence>
</DistinctiveRing>

</DistinctiveRings>



You will need to edit your starting script to "start without answering call" and then in script check the value of $RV[DISTINCT_RING] every few seconds.
If $RV[DISTINCT_RING] gets set to RingFax then in your script you should go to a Hangup module - which will end the script without it ever answering the call.
Otherwise just go to any other module that plays a sound file - doing that will result in VoiceGuide answering the call.


Please also download and install this version of VG on your system. It has more debugging in this area which will let us better see what is happening with distinctive rings if you have any further questions.

[old link removed]

Traces also show that on this system when a call comes in online 1, it is preceded by a single ring on line 2 with DTMF tones sent on line 2 as well - is this some sort of custom CallerID/DNIS setup?



relevant trace excerpts:

call 1:

182226.051 6 3 2 state Ring 1
182228.074 18 3 2 ev dtmf 4 (268435462,52,0)
182228.415 18 3 2 ev dtmf 2 (268435462,50,0)
182228.885 18 3 2 ev dtmf 9 (268435462,57,0)
182229.246 18 3 2 ev dtmf 2 (268435462,50,0)
182229.416 18 3 2 ev dtmf 9 (268435462,57,0)
182230.287 6 1 1 state Ring 1
182231.139 6 1 1 time since last ring : 0.851
182231.139 6 1 1 state Ring 2
182232.541 6 1 1 time since last ring : 1.402
182232.541 6 1 1 state Ring 3
182236.386 6 1 1 time since last ring : 3.846
182236.386 6 1 1 state Ring 4
182237.187 6 1 1 time since last ring : 0.801
182237.187 6 1 1 state Ring 5
182238.589 6 1 1 time since last ring : 1.402
182238.589 6 1 1 state Ring 6
182242.405 6 1 1 time since last ring : 3.815
182242.405 6 1 1 state Ring 7


call 2:

182252.259 6 3 2 state Ring 1
182254.272 18 3 2 ev dtmf 4 (268435464,52,0)
182254.542 18 3 2 ev dtmf 2 (268435464,50,0)
182254.803 18 3 2 ev dtmf 5 (268435464,53,0)
182255.093 18 3 2 ev dtmf 7 (268435464,55,0)
182255.343 18 3 2 ev dtmf 7 (268435464,55,0)
182255.624 18 3 2 ev dtmf 6 (268435464,54,0)
182256.345 6 1 1 state Ring 1
182302.414 6 1 1 time since last ring : 6.069
182302.414 6 1 1 state Ring 2
182308.462 6 1 1 time since last ring : 6.049
182308.462 6 1 1 state Ring 3
182314.501 6 1 1 time since last ring : 6.039
182314.501 6 1 1 state Ring 4
182320.540 6 1 1 time since last ring : 6.039
182320.540 6 1 1 state Ring 5
182326.588 6 1 1 time since last ring : 6.049
182326.588 6 1 1 state Ring 6
182332.697 6 1 1 time since last ring : 6.109
182332.697 6 1 1 state Ring 7


call 3:

182343.312 6 3 2 state Ring 1
182345.415 18 3 2 ev dtmf 4 (268435466,52,0)
182345.606 18 3 2 ev dtmf 2 (268435466,50,0)
182345.876 18 3 2 ev dtmf 7 (268435466,55,0)
182346.136 18 3 2 ev dtmf 3 (268435466,51,0)
182346.417 18 3 2 ev dtmf 4 (268435466,52,0)
182346.677 18 3 2 ev dtmf 5 (268435466,53,0)
182348.950 6 1 1 state Ring 1
182350.252 6 1 1 time since last ring : 1.302
182350.252 6 1 1 state Ring 2
182355.029 6 1 1 time since last ring : 4.777
182355.029 6 1 1 state Ring 3
182356.291 6 1 1 time since last ring : 1.262
182356.291 6 1 1 state Ring 4
182401.038 6 1 1 time since last ring : 4.747
182401.038 6 1 1 state Ring 5
182402.340 6 1 1 time since last ring : 1.302
182402.340 6 1 1 state Ring 6
182407.097 6 1 1 time since last ring : 4.757
182407.097 6 1 1 state Ring 7

Share this post


Link to post

Please be more specific on how to "check the value of $RV[DISTINCT_RING] every few seconds".

Where in the script do I find this?

Share this post


Link to post

This would be done by calling an Evaluate Expression module in a loop (with a 1 or 2 second timeout path in the loop). Or using a VBScript and setup a loop in that VBScript to periodically check the value of the $RV[DISTINCT_RING].

 

See attached script for example.

DistinctRingCheck.vgs

Share this post


Link to post

This is not working. The system answers, but the script does not play. I have attached the log file. The first call starts at 141449. I made 3 calls to all 3 numbers distinctive ring numbers to line 1.

Share this post


Link to post

Looks like the log files were not attached. Could you please try posting the log files again.

Share this post


Link to post

Trace shows the ring cadence paterns was matcehd to "Ring1", but the setting of $RV[DISTINCT_RING] was not visible to the call.

Will fix this and post the link to the fix here soon.

 

Also: what are the DTMF tones 422929 sent a couple of seconds before the first ring?

Is this some sort of Pre-Ring inband signalling from your PBX or Telco?

Is it meant to be the CallerID number or some other information?

 

141445.806 18 3 2 ev dtmf 4 (0,52,0)

141446.076 18 3 2 ev dtmf 2 (0,50,0)

141446.336 18 3 2 ev dtmf 2 (0,50,0)

141446.607 18 3 2 ev dtmf 9 (0,57,0)

141446.887 18 3 2 ev dtmf 2 (0,50,0)

141447.147 18 3 2 ev dtmf 9 (0,57,0)

141449.240 18 1 1 ev CallState DE_RINGS, crn=10000001, iEvent=2 ,2,0,8,,,]. vgEngine v7.1.3576.31559 (2009-10-16 17:31:59.67)

141449.251 18 1 1 ev ring 1, hCall=0x10000001 vgEngine v7.1.3576.31559 (2009-10-16 17:31:59.67)

141449.331 6 1 1 time since last ring : 0.000

141449.331 6 1 1 state Ring 1

141450.072 18 1 1 ev ring 2, hCall=0x10000001 vgEngine v7.1.3576.31559 (2009-10-16 17:31:59.67)

141450.072 6 1 1 time since last ring : 0.751

141450.072 6 1 1 state Ring 2

141450.072 6 1 1 match against pattern 1, cadences=2

141450.072 6 1 1 ring template 1, cadence 1 = [80|20] edge time=75.1080000001821

141450.072 6 1 1 ring match distinct ring pattern 1 cycle 2 ok

141450.072 6 1 1 match against pattern 2, cadences=2

141450.072 6 1 1 ring template 2, cadence 1 = [600|30] edge time=75.1080000001821

141450.072 6 1 1 ring match distinct ring pattern 2 cycle 2 fail

141450.072 6 1 1 match against pattern 3, cadences=2

141450.072 6 1 1 ring template 3, cadence 1 = [130|20] edge time=75.1080000001821

141450.072 6 1 1 ring match distinct ring pattern 3 cycle 2 fail

141451.464 18 1 1 ev ring 3, hCall=0x10000001 vgEngine v7.1.3576.31559 (2009-10-16 17:31:59.67)

141451.464 6 1 1 time since last ring : 1.392

141451.464 6 1 1 state Ring 3

141451.464 6 1 1 match against pattern 1, cadences=3

141451.464 6 1 1 ring template 1, cadence 1 = [80|20] edge time=75.1080000001821

141451.464 6 1 1 ring match distinct ring pattern 1 cycle 2 ok

141451.464 6 1 1 ring template 1, cadence 2 = [140|20] edge time=139.200159999746

141451.464 6 1 1 ring match distinct ring pattern 1 cycle 3 ok

141451.464 6 1 1 match against pattern 2, cadences=3

141451.464 6 1 1 ring template 2, cadence 1 = [600|30] edge time=75.1080000001821

141451.464 6 1 1 ring match distinct ring pattern 2 cycle 2 fail

141451.464 6 1 1 match against pattern 3, cadences=3

141451.464 6 1 1 ring template 3, cadence 1 = [130|20] edge time=75.1080000001821

141451.464 6 1 1 ring match distinct ring pattern 3 cycle 2 fail

141455.289 18 1 1 ev lev_CallerID [PRIVATE,,]

141455.289 18 1 1 FireEvent_RemotingIf_VgEngine CID 0 PRIVATE,,

141455.289 18 1 1 qScr add evCallerId 8502 EV_CALLERID

141455.289 6 1 1 qScr run evCallerId sCode=[EV_CALLERID] iActionID=0, crn=10000001[268435457|0|0|0|0][PRIVATE|||||]

141455.289 6 1 1 cid LastCidMessage values [PRIVATE,,]

141455.289 6 1 1 cid setting current cid values

141455.289 6 1 1 cid iCallerIdHasArrived=1

141455.289 6 1 1 AnswerTheCallIfAllowed iIvrDev=1, strDlgcDevName_Network=dxxxB1C1

141455.289 6 1 1 rings=3, min rings before answer=7 (iCallerIdHasArrived=1)

141455.289 18 1 1 ev ring 4, hCall=0x10000001 vgEngine v7.1.3576.31559 (2009-10-16 17:31:59.67)

141455.289 18 1 1 qScr add evRing 8501 EV_RING

141455.299 6 1 1 qScr run evRing sCode=[EV_RING] iActionID=0, crn=10000001[4|0|0|0|0][|||||]

141455.299 6 1 1 FireEvent_RemotingIf_VgEngine RING 4

141455.299 6 1 1 time since last ring : 3.836

141455.299 6 1 1 state Ring 4

141455.299 6 1 1 match against pattern 1, cadences=4

141455.299 6 1 1 ring template 1, cadence 1 = [80|20] edge time=75.1080000001821

141455.299 6 1 1 ring match distinct ring pattern 1 cycle 2 ok

141455.299 6 1 1 ring template 1, cadence 2 = [140|20] edge time=139.200159999746

141455.299 6 1 1 ring match distinct ring pattern 1 cycle 3 ok

141455.299 6 1 1 ring template 1, cadence 3 = [380|30] edge time=383.551520000037

141455.299 6 1 1 ring match distinct ring pattern 1 cycle 4 ok

141455.299 6 1 1 ring full match distinct ring pattern 1

141455.299 6 1 1 rvns add [DISTINCT_RING]{Ring1}

141456.120 18 1 1 ev ring 5, hCall=0x10000001 vgEngine v7.1.3576.31559 (2009-10-16 17:31:59.67)

141456.120 6 1 1 time since last ring : 0.821

141456.120 6 1 1 state Ring 5

...

141501.328 6 1 1 state Ring 7

141501.328 6 1 1 AnswerTheCallIfAllowed iIvrDev=1, strDlgcDevName_Network=dxxxB1C1

141501.328 6 1 1 rings=7, min rings before answer=7 (iCallerIdHasArrived=1)

141501.328 6 1 1 should answer as number of rings reached

141501.328 6 1 1 rv clear all

...

141501.909 6 1 1 state [Check Distinct Ring] Evaluate ["$RV[DISTINCT_RING]"]

141501.909 6 1 1 rv replace start: ["$RV[DISTINCT_RING]"]

141501.909 6 1 1 rvns: [PathSysVoice]{}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptPath]{C:\Program Files\VoiceGuide\Scripts\Voicemail Server\}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\Voicemail Server\}[$RV_STARTTIME]{2009-11-17 14:15:01}[$RV_DEVICEID]{1}[DlgcVoice]{dxxxB1C1}[DlgcNetwork]{dxxxB1C1}[PathApp]{C:\Program Files\VoiceGuide\}[scriptPath]{C:\Program Files\VoiceGuide\Scripts\Voicemail Server\}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\Voicemail Server\}[$RV_CIDNUMBER]{PRIVATE}[LoopCountInit_Input]{"0"}[LoopCountInit]{0}[counter]{0}[LoopCounter_Input]{0 + 1}[LoopCounter]{1}[counter]{1}

141501.909 6 1 1 rv replace end: [""]

141501.909 6 1 1 eval[Cstr("")]

141501.929 6 1 1 CreateInstance ScriptControl objSC is: [system.__ComObject]

141501.939 6 1 1 rvns add [Check Distinct Ring_Input]{""}

141501.939 6 1 1 rvns add [Check Distinct Ring]{}

141501.939 6 1 1 Eval Expr result:[]

141501.939 6 1 1 path {} not found

Share this post


Link to post

Quote;

Also: what are the DTMF tones 422929 sent a couple of seconds before the first ring?

Is this some sort of Pre-Ring inband signalling from your PBX or Telco?

Is it meant to be the CallerID number or some other information?

 

That is the outgoing call from the other line.

For some reason, when I hang up an extension after making a call, Status monitor shows a ring in the status column.

Share this post


Link to post

Quote;

Also: what are the DTMF tones 422929 sent a couple of seconds before the first ring?

Is this some sort of Pre-Ring inband signalling from your PBX or Telco?

Is it meant to be the CallerID number or some other information?

 

That is the outgoing call from the other line.

For some reason, when I hang up an extension after making a call, Status monitor shows a ring in the status column.

 

Correction; Although what I wrote above is true, I think the DTMF tones that you are referring to is the outgoing call from line 2(That is me calling line 1 from line 2) the number that I am dialing is 842-2929. hence the DTMF tones 422929. for some reason, the 8 is not detected.

Share this post


Link to post

We should have a fix for the Distinct Ring RV within a day or two.

 

Regarding the DTMF detected on another line it sounds like that other Dialogic port is connected in parallel with the phone that is making the call, correct? The other port will detect DTMF tones that would be played by that phone, but as you pointed out this does happen on another line so this does not affect anything.

Share this post


Link to post

Please download and install this version of VoiceGuide v7:

[old link removed]

and see if this version resolves the issue that you have encountered.

You can just install this new version over the top of the existing version. Your current Config.xml and ConfigLine.xml files should not be overwritten by the new install.

Share this post


Link to post

Now when the system answers it just plays the wav. "1" over and over. Also, it is still not counting the multi ring pattern as 1 ring, for instants, each triple ring is counted as 3 rings and each double ring is counted as 2 rings.

I am also including my script for you to look at to make sure that I have that set up properly.

1119_0905_vgEngine.zip

Share this post


Link to post

Trace shows the Distinct Ring "Ring1" was detected.

 

Your script starts in module [LoopCountInit], then goes to module [LoopCounter], then to [Check Distinct Ring], and then to [First Type Ring] (as module [Check Distinct Ring] has a {Ring1} path defined in it).

 

Module [First Type Ring] is setup to play 1.wav over and over.

 

So system is behaving as per script.

 

Looks like the script (First Type Ring] module) should be changed to make it go to other modules instead.

 

 

 

090641.961 6 1 1 state [Check Distinct Ring] Evaluate ["$RV[DISTINCT_RING]"]

090641.961 6 1 1 rv replace start: ["$RV[DISTINCT_RING]"]

090641.961 6 1 1 rvns: [PathSysVoice]{}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[DISTINCT_RING]{Ring1}[DISTINCT_RING_ID]{Ring1}[DISTINCT_RING_NAME]{Ring1}[DISTINCT_RING_Ring1]{True}[scriptPath]{C:\Program Files\VoiceGuide\Scripts\Voicemail Server\}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\Voicemail Server\}[$RV_STARTTIME]{2009-11-19 09:06:41}[$RV_DEVICEID]{1}[DlgcVoice]{dxxxB1C1}[DlgcNetwork]{dxxxB1C1}[PathApp]{C:\Program Files\VoiceGuide\}[scriptPath]{C:\Program Files\VoiceGuide\Scripts\Voicemail Server\}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\Voicemail Server\}[$RV_CIDNUMBER]{PRIVATE}[LoopCountInit_Input]{"0"}[LoopCountInit]{0}[counter]{0}[LoopCounter_Input]{0 + 1}[LoopCounter]{1}[counter]{1}

090641.961 6 1 1 rv replace end: ["Ring1"]

090641.971 6 1 1 Eval Expr result:[Ring1]

090641.971 6 1 1 path {Ring1} found (at offset 3)

Share this post


Link to post

Have not been here for awhile. Has this issue been resolved? First, distinctive ring is a consumer feature. I would use DID. However, I have a professional distinctive ring switch box you can have cheap and it will eliminate this issue.

 

You use to be able to send a private message here but now I see no way. You can't even look at a user profile. Is this company now owned by China or something?

Share this post


Link to post

The previous answer says that traces show that the distinct rings are detected as per definition file.

 

The quotes trace excerpt shows the detected Ring pattern and the corresponding RVs being correctly set.

 

 

 

NB. Ownership of company has not changed since company began (many years ago now) and there are no plans to change ownership.

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
×