VoiceGuide IVR Software Main Page
Jump to content

Inband Signalling Configuration File

Recommended Posts

I need help with the Inband signalling configuration file for a Samsung DCS phone system. I am interested in the phone extension. An * is sent along with a 3-digit phone extension.

Share this post


Link to post

To capture what tones are being sent on the line just set up a VoiceGuide script whose first module is a "Get Numbers" type module - that module will then capture the sent digits and what it captures will be stored in the Log File.

 

Please post a trace of an incoming call - we will the be able to see exactly what is being sent by your PBX and will then be able to provide you with an Inband Signaling configuration file.

Share this post


Link to post

We are now able to retrieve the phone extension,

Is there anyway to distingusih between calls that have been BLOCKED by turning off callerid or using *67 - 'PRIVATE' or' ANNONYMOUS'. And calls in which the callerid is not recognized - 'UNAVAILABLE' or 'OUT OF AREA'

Share this post


Link to post

Does the Samsung send different Inband Signaling info depending on whether calls are 'PRIVATE'/'ANNONYMOUS' or 'UNAVAILABLE' or 'OUT OF AREA' ?

Share this post


Link to post

Do you know how the Dialogic D/4pci cards recognize callerid. Does it differentiate between an Unavailable, Out-of-area or blocked.

Share this post


Link to post

I am trying to determine if a caller blocks his caller id. In our old system a blocked call was received as string of 7's.

We attached a tape recorder to the line and we could hear that information is being sent when caller id is blocked.

 

The log file has the following information:

00530.670 ocxfn LogLevels 10,C:\Program Files\VoiceGuide\log\,tw.txt,,(null)

100627.748 tapie LINE_LINEDEVSTATE(9, 0x10253, 0x800, 0x0, 0x0)

100627.764 tapie LINE_CALLSTATE(9, 0x10187, 0x2, 0x0, 0x4)

100627.764 tapic lineMonitorDigits(0x10187, 0x2) => 0x0

100627.764 tapic lineMonitorMedia(0x10187, 0xfc) => 0

100627.795 tapic lineGetCallInfo(0x10187, 0xb6ed4d8)

100627.795 eng No CallerId info available at this time

100627.795 tapie LINE_CALLINFO(9, 0x10187, 0x8000)

100627.795 tapic lineGetCallInfo(0x10187, 0xddb35e0)

100627.795 eng No CallerId info available at this time

100627.795 tapie LINE_CALLINFO(9, 0x10187, 0x10000)

100627.811 tapie LINE_CALLINFO(9, 0x10187, 0x100)

100627.811 tapie LINE_LINEDEVSTATE(9, 0x10253, 0x2, 0x0, 0x0)

100628.311 tapie LINE_CALLSTATE(9, 0x10187, 0x100, 0x1, 0x0)

100628.311 tapic lineGetID(0x10253, 0, 0, 0x1, 0xe49d3c0, wave/in) LINECALLSELECT_LINE hLineInfo

100628.311 tapic lineGetID(0x10253, 0, 0, 0x1, 0xe49d3c0, wave/in) => 0x0

100628.311 tapic lineGetID => 4

100628.311 tapic lineGetID(0x10253, 0, 0, 0x1, 0xe49d3c0, wave/out) LINECALLSELECT_LINE hLineInfo

100628.326 tapic lineGetID(0x10253, 0, 0, 0x1, 0xe49d3c0, wave/out) => 0x0

100628.326 tapic lineGetID => 4

100628.357 tapie LINE_REPLY(9, 0x0, 0x10042, 0x0)

100628.373 tapie LINE_CALLINFO(9, 0x10187, 0x8000000)

Share this post


Link to post

I assume that you are using a PBX?

 

If yes, then which one?

 

Is the PBX set up to send Inband Signaling?

 

Are you using a Dialogic card or Voice modem?

Share this post


Link to post

We have 12 lines. 4 are connected to the PBX. The 8 lines we are talking about are connected to the Telco. CallerId is working with these lines, but we don't get "out of area" or "private calls".

 

Is there a parameter to receive "out of area" or "private calls" information from the telco lines?

Share this post


Link to post
CallerId is working with these lines, but we don't get "out of area" or "private calls".

The telco should send this info in the same way it sends normal CallerID info. You should speak to the telco as to why it isn't doing this.

Can you use any external CallerID detection devices attached to these lines to detect the "out of area" or "private calls"?

Share this post


Link to post

Questions concerning telco Private Call & Out of Area

External Callerid devices do display the caller id including calls that are Private Call and Out Of Area.

 

If we listen to the sound (modem tones) between the first and second ring it is the same sound for a Private Call or valid callerid.

 

Is there someway to capture the digits from the telco so we can see what they are sending? Is there a parameter list or conversion table related to callerids that are Private Call or Out of Area codes?

 

Questions concerning inband signaling for our pbx calls

Inband signaling is working fine except when the caller presses touch tones before we prompt for them. These touch tones are picked up by the inband signaling process making the extension number invalid.

 

The touch tones from the callers phone are picked up by inband signaling before the ringing stops and after the ringing stops. "rings before answering call" is set to 2.

 

Is there a way to discard the touch tones from the callers phone before we prompt them to enter their response?

Share this post


Link to post
If we listen to the sound (modem tones) between the first and second ring

How can you listen to them if the phone is still ringing? Does your phone company still send the CallerID info if phone is picked up after 1st ring? (if yes then can please you record them using the Record module)

it is the same sound for a Private Call or valid callerid

All modem communications sound fairly similar - just white noise... do you hear just noise on the line or is it a series of distinguishable tones?

Inband signaling is working fine except when the caller presses touch tones before we prompt for them.

And are the tones then appended to the end of the Inband Signaling info or are they inserted within the Inband Signaling sequence?

 

The touch tones from the callers phone are picked up by inband signaling before the ringing stops.

This is a bit strange - DTMF tones should not be detected if they are pressed before the call is answered - could you please post a copy of VoiceGuide's Debug Printout which captures the problem, this will allow us to see what is going wrong.

(When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call.)

Share this post


Link to post

QUOTE

If we listen to the sound (modem tones) between the first and second ring

 

 

How can you listen to them if the phone is still ringing? Does your phone company still send the CallerID info if phone is picked up after 1st ring? (if yes then can please you record them using the Record module)

>> We have a Radio Shack line monitor device that allows us to record the line.

QUOTE

it is the same sound for a Private Call or valid callerid

 

 

All modem communications sound fairly similar - just white noise... do you hear just noise on the line or is it a series of distinguishable tones?

>>It is too quick to distinguish the tones. We would need a signal analyzer to ferret out the suttle differences.

QUOTE

Inband signaling is working fine except when the caller presses touch tones before we prompt for them.

 

 

And are the tones then appended to the end of the Inband Signaling info or are they inserted within the Inband Signaling sequence?

>>Yes the added touch tones are appended to the inband signaling information.

 

QUOTE

The touch tones from the callers phone are picked up by inband signaling before the ringing stops.

 

 

This is a bit strange - DTMF tones should not be detected if they are pressed before the call is answered - could you please post a copy of VoiceGuide's Debug Printout which captures the problem, this will allow us to see what is going wrong.

(When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call.)

 

>>Here is the trace log. The channel of interest is 15. The extension is *283 and after dialing and hearing the ring I began pressing the number 2 on the touch tone pad until I heard the prompt.

 

153258.77 15 callstate CONNECTED 66346 1 0

153258.78 15 callstate CONNECTED 66346,1,0

153258.78 15 WorkingModeTAPI@Connected=

153258.80 15 WorkingModeScript@Connected=

153258.80 15 Inband detection start (1 patterns loaded)

153258.80 15 timer set 0.3 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153258.81 15 tapi Reply (LineEvReply) ok 65861 0

153258.82 15 callinfo MONITORMODES

153259.03 15 dtmf * (66346,42,2)

153259.03 15 ScriptEventCode 42 iLineState=4100

153259.05 15 LsIndialSignalCapture *

153259.05 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153259.31 15 dtmf 2 (66346,50,2)

153259.32 15 ScriptEventCode 50 iLineState=4100

153259.32 15 LsIndialSignalCapture 2 *

153259.32 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153332.12 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:dok=0|11:dok=0|12:dok=0|13:d

k=0|14:rdy=0|15:dok=0|16:rdy=0|

153333.12 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:dok=0|11:dok=0|12:dok=0|13:d

k=0|14:rdy=0|15:dok=0|16:rdy=0|

153333.30 14 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT

153333.30 14 ScriptEventCode 9013 iLineState=900

153334.12 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:dok=0|11:dok=0|12:dok=0|13:d

k=0|14:dok=0|15:dok=0|16:rdy=0|

153334.39 16 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT

153334.39 16 ScriptEventCode 9013 iLineState=900

153335.14 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:dok=0|11:dok=0|12:dok=0|13:d

k=0|14:dok=0|15:dok=0|16:dok=0|

153336.14 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:dok=0|11:dok=0|12:dok=0|13:d

k=0|14:dok=0|15:dok=0|16:dok=0|

153337.14 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:dok=0|11:dok=0|12:dok=0|13:d

k=0|14:dok=0|15:dok=0|16:dok=0|

153338.14 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:dok=0|11:dok=0|12:dok=0|13:d

k=0|14:dok=0|15:dok=0|16:dok=0|

153339.14 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:dok=0|11:dok=0|12:dok=0|13:d

k=0|14:dok=0|15:dok=0|16:dok=0|

153339.73 15 linedevstate 2048 0 0

153339.75 15 callstate OFFERING 65595 0 4

153339.76 15 Answer the call at 8/27/2004 3:33:39 PM

153339.76 15 lineAnswer(65595) => 65686

153339.78 15 callinfo CALLEDID

153339.80 15 callinfo ORIGIN

153339.80 15 ring 0

153340.15 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:dok=0|11:dok=0|12:dok=0|13:d

k=0|14:dok=0|15:hc>0|16:dok=0|

153340.32 15 callstate CONNECTED 65595 1 0

153340.34 15 callstate CONNECTED 65595,1,0

153340.34 15 WorkingModeTAPI@Connected=

153340.34 15 WorkingModeScript@Connected=

153340.36 15 Inband detection start (1 patterns loaded)

153340.36 15 timer set 0.3 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153340.37 15 tapi Reply (LineEvReply) ok 65686 0

153340.37 15 callinfo MONITORMODES

153340.42 15 dtmf * (65595,42,2)

153340.43 15 ScriptEventCode 42 iLineState=4100

153340.43 15 LsIndialSignalCapture *

153340.43 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153340.71 15 dtmf 2 (65595,50,2)

153340.71 15 ScriptEventCode 50 iLineState=4100

153340.71 15 LsIndialSignalCapture 2 *

153340.73 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153341.01 15 dtmf 9 (65595,57,2)

153341.01 15 ScriptEventCode 57 iLineState=4100

153341.03 15 LsIndialSignalCapture 9 *2

153341.03 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153341.15 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:dok=0|11:dok=0|12:dok=0|13:d

k=0|14:dok=0|15:hc>0|16:dok=0|

153341.31 15 dtmf 3 (65595,51,2)

153341.31 15 ScriptEventCode 51 iLineState=4100

153341.32 15 LsIndialSignalCapture 3 *29

153341.32 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153341.61 15 dtmf 2 (65595,50,2)

153341.62 15 ScriptEventCode 50 iLineState=4100

153341.62 15 LsIndialSignalCapture 2 *293

153341.62 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153341.90 15 dtmf 2 (65595,50,2)

153341.92 15 ScriptEventCode 50 iLineState=4100

153341.92 15 LsIndialSignalCapture 2 *2932

153341.93 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153342.15 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:dok=0|11:dok=0|12:dok=0|13:d

k=0|14:dok=0|15:hc>0|16:dok=0|

153342.21 15 dtmf 2 (65595,50,2)

153342.21 15 ScriptEventCode 50 iLineState=4100

153342.21 15 LsIndialSignalCapture 2 *29322

153342.23 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153342.51 15 dtmf 2 (65595,50,2)

153342.51 15 ScriptEventCode 50 iLineState=4100

153342.53 15 LsIndialSignalCapture 2 *293222

153342.53 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153342.68 10 linedevstate 2048 0 0

153342.70 10 callstate OFFERING 65903 0 4

153342.70 10 No old processes from last call (could not obtain handle) 3736, 0

153342.71 10 Answer the call at 8/27/2004 3:33:42 PM

153342.71 10 lineAnswer(65903) => 66316

153342.75 10 Lev_CallerID [9013773873,,0000]

153342.75 10 rv add [DNIS]{0000}

153342.78 10 Lev_CallerID [9013773873,,0000]

153342.80 10 callinfo CALLEDID

153342.81 10 callinfo ORIGIN

153342.81 10 ring 0

153342.82 15 dtmf 2 (65595,50,2)

153342.84 15 ScriptEventCode 50 iLineState=4100

153342.84 15 LsIndialSignalCapture 2 *2932222

153342.86 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153343.11 15 dtmf 2 (65595,50,2)

153343.12 15 ScriptEventCode 50 iLineState=4100

153343.14 15 LsIndialSignalCapture 2 *29322222

153343.14 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153343.15 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:hc>0|11:dok=0|12:dok=0|13:dok=0|14:dok=0|15:hc>0|16:dok=0|

153343.30 10 callstate CONNECTED 65903 1 0

153343.30 10 callstate CONNECTED 65903,1,0

153343.31 10 WorkingModeTAPI@Connected=

153343.32 10 WorkingModeScript@Connected=

153343.32 10 Inband detection start (1 patterns loaded)

153343.34 10 timer set 0.3 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153343.36 10 tapi Reply (LineEvReply) ok 66316 0

153343.37 10 callinfo MONITORMODES

153343.42 15 dtmf 2 (65595,50,2)

153343.42 15 ScriptEventCode 50 iLineState=4100

153343.43 15 LsIndialSignalCapture 2 *293222222

153343.43 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153343.59 10 timer fired EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153343.59 10 ScriptEventCode 9011 iLineState=4100

153343.61 10 LsIndialSignalCapture EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153343.62 10 StartLoadedVgs at 8/27/2004 3:33:43 PM

153343.62 10 AddRVns [scriptsPath]{C:\VoiceGuide_Timeclock\}

153343.64 10 AddRVns [scriptPath]{C:\VoiceGuide_Timeclock}

153343.65 10 rv add [$RV_STARTTIME]{8/27/2004 3:33:43 PM}

153343.67 10 rv add [$RV_DEVICEID]{10}

153343.67 10 rv add [$RV_CIDNAME]{}

153343.68 10 AddRVns [PathApp]{C:\Program Files\VoiceGuide\}

153343.70 10 rv add [$RV_CIDNUMBER]{9013773873}

153343.71 15 dtmf 2 (65595,50,2)

153343.73 15 ScriptEventCode 50 iLineState=4100

153343.73 15 LsIndialSignalCapture 2 *2932222222

153343.75 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153343.76 10 timer clear

153343.76 10 [EvaluateLineid] Evaluate [$rv_lineid]

153343.78 10 rv replace start: [$rv_lineid]

153343.80 10 rv ns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[DNIS]{0000}[scriptsPath]{C:\VoiceGuide_Timeclock\}[scriptPath]{C:\VoiceGuide_Timeclock}[$RV_STARTTIME]{8/27/2004 3:33:43 PM}[$RV_DEVICEID]{10}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{9013773873}

153343.81 10 rv replace end: [10]

153343.81 10 .Eval(10)

153343.82 10 rv add [EvaluateLineid_Input]{10}

153343.84 10 rv add [EvaluateLineid]{10}

153343.86 10 Eval Expr result:[10]

153343.86 10 timer clear

153343.87 10 [CallerID] Evaluate [$RV_CIDNumber]

153343.89 10 rv replace start: [$RV_CIDNumber]

153343.89 10 rv ns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[DNIS]{0000}[scriptsPath]{C:\VoiceGuide_Timeclock\}[scriptPath]{C:\VoiceGuide_Timeclock}[$RV_STARTTIME]{8/27/2004 3:33:43 PM}[$RV_DEVICEID]{10}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{9013773873}[EvaluateLineid_Input]{10}[EvaluateLineid]{10}

153343.90 10 rv replace end: [9013773873]

153343.93 10 .Eval(9013773873)

153343.93 10 rv add [CallerID_Input]{9013773873}

153343.95 10 rv add [CallerID]{9013773873}

153343.96 10 Eval Expr result:[9013773873]

153343.96 10 path {9013773873} not found

153343.98 10 timer clear

153343.00 10 [CallerIDWasSentRequestSSN] Number Input

153343.00 10 [CallerIDWasSentRequestSSN] Playing (EnterSocialSecurityNumber.wav)

153344.01 10 play set playid=213421

153344.12 10 PlaySoundStart ok [C:\VoiceGuide_Timeclock\EnterSocialSecurityNumber.wav]

153344.14 10 timer clear

153344.15 10 wa(3302,21342100)

153344.17 15 dtmf 2 (65595,50,2)

153344.18 15 ScriptEventCode 50 iLineState=4100

153344.20 15 LsIndialSignalCapture 2 *29322222222

153344.20 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153344.21 10 callinfo MONITORMODES

153344.23 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:hc>0|11:dok=0|12:dok=0|13:dok=0|14:dok=0|15:hc>0|16:dok=0|

153344.31 15 dtmf 2 (65595,50,2)

153344.32 15 ScriptEventCode 50 iLineState=4100

153344.34 15 LsIndialSignalCapture 2 *293222222222

153344.34 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153344.61 15 dtmf 2 (65595,50,2)

153344.62 15 ScriptEventCode 50 iLineState=4100

153344.64 15 LsIndialSignalCapture 2 *2932222222222

153344.64 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153344.92 15 dtmf 2 (65595,50,2)

153344.92 15 ScriptEventCode 50 iLineState=4100

153344.93 15 LsIndialSignalCapture 2 *29322222222222

153344.95 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153345.21 15 dtmf 2 (65595,50,2)

153345.21 15 ScriptEventCode 50 iLineState=4100

153345.23 15 LsIndialSignalCapture 2 *293222222222222

153345.25 15 timer set 0.5 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153345.26 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:hc>0|11:dok=0|12:dok=0|13:dok=0|14:dok=0|15:hc>0|16:dok=0|

153345.71 15 timer fired EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

153345.71 15 ScriptEventCode 9011 iLineState=4100

153345.73 15 LsIndialSignalCapture EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT *2932222222222222

153345.73 15 Inband *2932222222222222 not matched by any patterns

153345.73 15 StartLoadedVgs at 8/27/2004 3:33:45 PM

153345.75 15 AddRVns [scriptsPath]{C:\VoiceGuide_Timeclock\}

153345.75 15 AddRVns [scriptPath]{C:\VoiceGuide_Timeclock}

153345.76 15 rv add [$RV_STARTTIME]{8/27/2004 3:33:45 PM}

153345.76 15 rv add [$RV_DEVICEID]{15}

153345.78 15 rv add [$RV_CIDNAME]{}

153345.78 15 AddRVns [PathApp]{C:\Program Files\VoiceGuide\}

153345.80 15 rv add [$RV_CIDNUMBER]{}

153345.80 15 timer clear

153345.81 15 [EvaluateLineid] Evaluate [$rv_lineid]

153345.81 15 rv replace start: [$rv_lineid]

153345.82 15 rv ns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptsPath]{C:\VoiceGuide_Timeclock\}[scriptPath]{C:\VoiceGuide_Timeclock}[$RV_STARTTIME]{8/27/2004 3:33:45 PM}[$RV_DEVICEID]{15}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{}

153345.82 15 rv replace end: [15]

153345.84 15 .Eval(15)

153345.84 15 rv add [EvaluateLineid_Input]{15}

153345.86 15 rv add [EvaluateLineid]{15}

153345.86 15 Eval Expr result:[15]

Share this post


Link to post

To start of, callers do not usually start pressing any keys before they hear some welcome prompt being played - so this is probably not a problem that you will encounter with real callers.

 

There is a way to handle this as well though, here’s how:

 

Summary of tones received:

 

153340.42 15 dtmf * (65595,42,2)

153340.71 15 dtmf 2 (65595,50,2)

153341.01 15 dtmf 9 (65595,57,2)

153341.31 15 dtmf 3 (65595,51,2)

153341.61 15 dtmf 2 (65595,50,2)

153341.90 15 dtmf 2 (65595,50,2)

153342.51 15 dtmf 2 (65595,50,2)

 

Looks like the PBX connects caller immediately after sending Inband Signaling - which means that if caller continuously presses a key then those keypresses are sent to VoiceGuide soon after the Inband Signaling info (in example supplied it's 300ms later).

 

Your PBX is sending the inband signaling info every 300ms so the caller's keypresses end up being sent here at about the same pace as the Inband Signaling - so it's not really possible to distinguish what is what based in adjusting the VG.INI's InBandSignalWait_Interdigit setting.

 

What I'd recommend you do is set up the Inband Config file to check if user has pressed anything immediately - and either then process those keypresses or play a message saying that they have pressed keys to early and tell them to start again.

 

This is what you should use in your inband config file:

 

Pattern=*

RV=Inband_Ext,2,3,Inband_CallerKeypress,5,100

 

Then $RV[inband_CallerKeypress] will hold all of the caller's key presses (up to 100 of them). You can then deal with the info in that RV as you require...

Share this post


Link to post

Thanks - I am now able to get the phone extensions.

 

The other lines are not connected to the PBX. CallerId works fine. I do not want to accept calls that are "Private" or have been blocked with *67. But, I do want to accept calls that are "Out-of-Area".

 

 

following are the logs for a call with the CallerId blocked

 

141922.05 10 linedevstate 2048 0 0

141922.06 10 callstate OFFERING 66446 0 4

141922.06 10 Answer the call at 9/14/2004 2:19:22 PM

141922.08 10 lineAnswer(66446) => 66545

141922.09 10 callinfo CALLEDID

141922.11 10 callinfo ORIGIN

141922.13 10 ring 0

141922.64 10 callstate CONNECTED 66446 1 0

141922.64 10 callstate CONNECTED 66446,1,0

141922.66 10 WorkingModeTAPI@Connected=

141922.66 10 WorkingModeScript@Connected=

141922.66 10 Inband detection start (1 patterns loaded)

141922.67 10 timer set 0.4 EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

141922.67 10 tapi Reply (LineEvReply) ok 66545 0

141922.69 10 callinfo MONITORMODES

141922.70 0 dial start any summary:|5:dok=0|6:dok=0|7:dok=0|8:dok=0|9:dok=0|10:hc>0|11:dok=0|12:dok=0|13:dok=0|14:dok=0|15:dok=0|16:dok=0|

141923.02 10 timer fired EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

141923.03 10 ScriptEventCode 9011 iLineState=4100

141923.05 10 LsIndialSignalCapture EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT

141923.06 10 StartLoadedVgs at 9/14/2004 2:19:23 PM

141923.08 10 AddRVns [scriptsPath]{C:\VoiceGuide_Timeclock\}

141923.09 10 AddRVns [scriptPath]{C:\VoiceGuide_Timeclock}

141923.09 10 rv add [$RV_STARTTIME]{9/14/2004 2:19:23 PM}

141923.11 10 rv add [$RV_DEVICEID]{10}

141923.11 10 rv add [$RV_CIDNAME]{}

141923.11 10 AddRVns [PathApp]{C:\Program Files\VoiceGuide\}

141923.13 10 rv add [$RV_CIDNUMBER]{}

141923.13 10 timer clear

141923.14 10 [EvaluateLineid] Evaluate [$rv_lineid]

141923.14 10 rv replace start: [$rv_lineid]

141923.14 10 rv ns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptsPath]{C:\VoiceGuide_Timeclock\}[scriptPath]{C:\VoiceGuide_Timeclock}[$RV_STARTTIME]{9/14/2004 2:19:23 PM}[$RV_DEVICEID]{10}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{}

141923.16 10 rv replace end: [10]

141923.16 10 .Eval(10)

141923.17 10 rv add [EvaluateLineid_Input]{10}

141923.17 10 rv add [EvaluateLineid]{10}

141923.19 10 Eval Expr result:[10]

141923.19 10 timer clear

141923.19 10 [CallerID] Evaluate [$RV_CIDNumber]

141923.20 10 rv replace start: [$RV_CIDNumber]

141923.20 10 rv ns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptsPath]{C:\VoiceGuide_Timeclock\}[scriptPath]{C:\VoiceGuide_Timeclock}[$RV_STARTTIME]{9/14/2004 2:19:23 PM}[$RV_DEVICEID]{10}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{}[EvaluateLineid_Input]{10}[EvaluateLineid]{10}

141923.22 10 rv replace end: []

141923.22 10 .Eval()

141923.23 10 rv add [CallerID_Input]{}

141923.23 10 rv add [CallerID]{}

141923.23 10 Eval Expr result:[]

141923.25 10 path {} not found

141923.25 10 timer clear

141923.27 10 [CallerIDWasSentRequestSSN] Number Input

141923.27 10 [CallerIDWasSentRequestSSN] Playing (EnterSocialSecurityNumber.wav)

141923.27 10 play set playid=465546

141923.38 10 PlaySoundStart ok [C:\VoiceGuide_Timeclock\EnterSocialSecurityNumber.wav]

141923.38 10 timer clear

 

 

 

141922.048 tapie LINE_LINEDEVSTATE(10, 0x100cb, 0x800, 0x0, 0x0)

141922.048 tapie LINE_CALLSTATE(10, 0x1038e, 0x2, 0x0, 0x4)

141922.064 tapic lineMonitorDigits(0x1038e, 0x2) => 0x0

141922.064 tapic lineMonitorMedia(0x1038e, 0xfc) => 0

141922.080 tapic lineGetCallInfo(0x1038e, 0xb5b42a8)

141922.080 eng No CallerId info available at this time

141922.095 tapie LINE_CALLINFO(10, 0x1038e, 0x8000)

141922.095 tapic lineGetCallInfo(0x1038e, 0xb5b53f8)

141922.095 eng No CallerId info available at this time

141922.095 tapie LINE_CALLINFO(10, 0x1038e, 0x10000)

141922.111 tapie LINE_CALLINFO(10, 0x1038e, 0x100)

141922.111 tapie LINE_LINEDEVSTATE(10, 0x100cb, 0x2, 0x0, 0x0)

141922.611 tapie LINE_CALLSTATE(10, 0x1038e, 0x100, 0x1, 0x0)

141922.611 tapic lineGetID(0x100cb, 0, 0, 0x1, 0xb5b15d0, wave/in) LINECALLSELECT_LINE hLineInfo

141922.626 tapic lineGetID(0x100cb, 0, 0, 0x1, 0xb5b15d0, wave/in) => 0x0

141922.626 tapic lineGetID => 5

141922.626 tapic lineGetID(0x100cb, 0, 0, 0x1, 0xb5b15d0, wave/out) LINECALLSELECT_LINE hLineInfo

141922.626 tapic lineGetID(0x100cb, 0, 0, 0x1, 0xb5b15d0, wave/out) => 0x0

141922.642 tapic lineGetID => 5

141922.673 tapie LINE_REPLY(10, 0x0, 0x103f1, 0x0)

141922.689 tapie LINE_CALLINFO(10, 0x1038e, 0x8000000)

141923.283 ocxfn PlayMultiDelimited(sLineId=10, strFile1=C:\VoiceGuide_Timeclock\EnterSocialSecurityNumber.wav, lPlayId=0x71a8a, lOptions=0x0, strOptions=)

141923.283 tr 5 ResetWavOutAndContinuePlay start

141923.283 play FileMmioOpenAndAscend start C:\VoiceGuide_Timeclock\EnterSocialSecurityNumber.wav

141923.283 play FileMmioOpenAndAscend end

141923.298 fn play wav format: wFormatTag=0x1, nChannels=1, nSamplesPerSec=11025, nAvgBytesPerSec=11025, nBlockAlign=1, wBitsPerSample=8, cbSize=0

141923.298 wavec waveOutOpen(0x0, 0x5, 0x1fbf68, 0x0, 0x0, 0x1) => 0 (MMSYSERR_OK) - format query

141923.298 wavec waveOutOpen(0x1fbf9c, 0x5, 0x1fbf68, 0x30022, 0x1fbf40, 0x10002) => 0 (MMSYSERR_OK) ... hli->hWaveOut=0xb625a14

141923.298 wavec waveOutReset(0xb625a14) => 0(MMSYSERR_OK) fn:PlaySoundStart

141923.298 tapic lineMonitorDigits(0x1038e, 0x2) => 0x0

141923.314 tapic lineMonitorMedia(0x1038e, 0x7c) => 0

141923.314 play FileMmioOpenAndAscend start C:\VoiceGuide_Timeclock\EnterSocialSecurityNumber.wav

141923.314 play FileMmioOpenAndAscend end

141923.330 play LoadCurrFileToPlay_IntoOneMainBuffer start

141923.330 play FileMmioOpenAndAscend start C:\VoiceGuide_Timeclock\EnterSocialSecurityNumber.wav

141923.330 play FileMmioOpenAndAscend end

141923.330 iPlayListIdxCurr 0 wav format: wFormatTag=0x1, nChannels=1, nSamplesPerSec=11025, nAvgBytesPerSec=11025, nBlockAlign=1, wBitsPerSample=8, cbSize=0

141923.345 wavec waveOutWrite HeapAllocs bytes: DataToPlay=36328, WaveHdr=32, UserData=12

141923.345 wavehdr: lpData=0xb667eb8, dwBufferLength=36328, dwBytesRecorded=0, dwUser=0x4d6b920, dwFlags=0x0, dwLoops=0x0, lpNext=0x0, reserved=0x0

141923.345 play LoadCurrFileToPlay_IntoOneMainBuffer end

141923.345 tr fn ResetWavOutAndContinuePlay LoadCurrFileToPlay_IntoOneMainBuffer returned

141923.361 wavec waveOutPrepareHeader(0xb625a14, 0xb6781e0, 0x20) => 0

141923.361 wavec waveOutWrite(0xb625a14, 0xb6781e0, 0x20) => 0

141923.361 tr fn PostMessage WM_FIRE_PLAY_WDOG_SET_EVENT (all in 1 buffer) params: 10 46554600

141923.376 fn OnFirePlayPlayWdogSetEvent start

141923.392 ocxev PlayWdogSet(dwLineId=10, dwPlayId=0x2c65de8, LenMsecs=3302)

141923.392 tapie LINE_CALLINFO(10, 0x1038e, 0x8000000)

141926.751 wavee WOM_DONE(0xb625a14, 0xb6781e0) (callback window message)

141926.767 wavee WOM_DONE(0xb625a14, 0x3bd, 0x1fbf40, 0xb6781e0, 0x0) psch

141926.767 fn psch lpUserData=0x4d6b920 : dwPlayId=465546, hli=0x1fbf40, iFileIdx=0x0

141926.767 fn psch hli=0x1fbf40 : dwPlayId=465546, iPlayListIdxCurr=0x0

141926.767 fn psch clearing watchdog

141926.783 tr fn PlaySoundCallBackHandler calling PostMessage WM_FIRE_PLAY_WDOG_CLEAR_EVENT

141926.783 wavec waveOutUnprepareHeader(0xb625a14, 0xb6781e0, 0x20) call non-unimodem

141926.783 wavec waveOutUnprepareHeader(0xb625a14, 0xb6781e0, 0x20) => 0 (MMSYSERR_OK) non-unimodem

141926.783 fn OnFirePlayPlayWdogClearEvent start

141926.798 ocxev PlayWdogClear(dwLineId=10, dwPlayId=0x2c65de8)

141926.798 ocxev PlayEnd(dwLineId=10, dwPlayId=0x71a8a)

141928.486 tapie LINE_CALLSTATE(10, 0x1038e, 0x4000, 0x0, 0x0)

141928.533 ocxfn RecStop(sLineId:10)

141928.533 wavec waveInReset(0x0) => 5

141928.548 linec lineMonitorTones(0x1038e, 0x0, 1) => 0x8000001c (disabling monitoring for silence/tones)

141928.548 ocxfn PlayStop(sLineId=10)

141928.564 fn PlaySoundStop start

141928.564 fn PlaySoundStop line not playing a sound file. 0xb625a14

141928.579 ocxfn LineDrop(sLineId=10, sOpt=0)

141928.579 wavec waveOutReset(0xb625a14) call, caller: LineDrop TSP_DIALOGIC

141928.595 wavec waveOutReset(0xb625a14) => 0 (MMSYSERR_OK), caller: LineDrop TSP_DIALOGIC

141928.595 wavec waveOutClose(0xb625a14) call, caller: LineDrop TSP_DIALOGIC

141928.595 wavec waveOutClose(0xb625a14) => 0 (MMSYSERR_OK), caller: LineDrop TSP_DIALOGIC

141928.595 tapic lineDrop(0x1038e, , 0) call in ocxfn_LineDrop

141928.611 tapic lineDrop(0x1038e, , 0) => async:65704 (65704)

141928.642 tapie LINE_LINEDEVSTATE(10, 0x100cb, 0x800, 0x0, 0x0)

141928.658 tapie LINE_CALLSTATE(10, 0x1038e, 0x1, 0x0, 0x0)

141928.736 tapie LINE_REPLY(10, 0x0, 0x100a8, 0x0)

141929.704 ocxfn LogLevels 0,C:\Program Files\VoiceGuide\log\,tw.txt,,(null)

Share this post


Link to post

Trace shows that no Inband Signaling was sent at all for this call...

 

You'll have to check your PBX config to see why the PBX is not sending Inband Signaling now...

Share this post


Link to post

We have 12 lines. 4 are connected to the PBX. The 8 lines we are talking about are connected to the Telco.

Share this post


Link to post

there is no Inband Signaling info visible in the call captured in the trace posted previously.

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
×