Post new topic Reply to topic  [ 3 posts ] 

Board index : TeleFlow Forums : TeleFlow Server & Monitor

Author Message
 Post subject: Second call does not go out
PostPosted: Mon Jan 29, 2007 9:05 am 
Offline

Joined: Wed Aug 31, 2005 9:34 am
Posts: 7
When placing calls back to back, the second call is shown as "no answer" but it never actually dials out. Here is the teleflow log. The first number it calls is my office. The second is my cell. The cell never even rings. Can you help with this Tim?

Jan 29 08:26:54.42: Flowchart: 'PlaceCall2Client'
Jan 29 08:26:54.42: Setting local variable '@PHONE' to '5992185'
Jan 29 08:26:54.42: Setting local variable '@FILE2PLAY' to 'flow'
Jan 29 08:26:54.42: Setting local variable '@FIXED' to ''
Jan 29 08:26:54.42: Setting local variable '@METER' to 'PIMSTAGS'
Jan 29 08:26:54.42: Setting local variable '@VALUE' to '18'
Jan 29 08:26:54.42: Setting local variable '@MSG' to '57887'
Jan 29 08:26:54.42: Setting local variable '@SUCCESS' to '0'
Jan 29 08:26:54.42: Setting local variable '@ESC' to ''
Jan 29 08:26:54.42: Setting local variable '@FREQ' to '1'
Jan 29 08:26:54.42: Setting local variable '@ACK' to '0'
Jan 29 08:26:54.42: Query4Data==>PlaceCall2Client
Jan 29 08:26:54.42: [1] START
Jan 29 08:26:54.42: [86] Global Event
Jan 29 08:26:54.42: Setting system variable '@HANGUP' to 'HUNGUP'
Jan 29 08:26:54.42: [3] Place Call
Jan 29 08:26:54.42: Place call to 9,5992185
and wait for up to 10 rings
Jan 29 08:26:54.42: Do not connect on CED
Jan 29 08:26:54.42: Do not connect on SIT
Jan 29 08:26:54.42: ERROR: Port not available on SCbus
Jan 29 08:26:54.42: (106): Invalid Switching Handler Bus Mode
Jan 29 08:26:54.42: Warning: port's switch status unchanged.
Jan 29 08:27:07.65: Setting system variable '@CALLOUT_RESULT' to 'CONNECT'
Jan 29 08:27:07.65: Setting system variable '@CALLOUT_REASON' to 'VOICE'
Jan 29 08:27:07.65: [116] Play
Jan 29 08:27:07.65: Script code 'Vox\Eng\Scripts\alarmgreet.Vox' evaluates to 'Vox\Eng\Scripts\alarmgreet.Vox'
Jan 29 08:27:07.65: Playing 'C:\Program Files\TeleFlow\Applications\Outgoing\Vox\Eng\Scripts\alarmgreet.Vox'
Jan 29 08:27:07.67: Call Status (lps0)
Jan 29 08:27:07.67: ATDX_HOOKST (3)
Jan 29 08:27:07.67: Call Status (lps0)
Jan 29 08:27:07.67: ATDX_HOOKST (3)
Jan 29 08:27:07.67: Call Status (lps0)
Jan 29 08:27:07.67: ATDX_HOOKST (3)
Jan 29 08:27:11.74: [118] Menu
Jan 29 08:27:11.74: TIMEOUT '60000' evaluates to 60000
Jan 29 08:27:11.74: Call Status (lps0)
Jan 29 08:27:11.74: ATDX_HOOKST (3)
Jan 29 08:28:11.74: TIMEOUT
Jan 29 08:28:11.74: [139] Set Local Variable
Jan 29 08:28:11.74: Setting local variable '@SUCCESS' to '1'
Jan 29 08:28:11.74: [167] Run Flowchart
Jan 29 08:28:11.74: Flowchart: 'WriteLogFile'
Jan 29 08:28:11.74: Setting local variable '@FILENAME' to '\Program Files\TeleFlow\Applications\Outgoing\alarmmessages.log'
Jan 29 08:28:11.74: Setting local variable '@STRING' to 'Called TEST1 at 5992185 for GOOFY on PIMSTAGS answered but no input.'
Jan 29 08:28:11.74: PlaceCall2Client==>WriteLogFile
Jan 29 08:28:11.74: Logging disabled in this flowchart
Jan 29 08:28:11.74: PlaceCall2Client<==WriteLogFile
Jan 29 08:28:11.74: [138] Go to Label
Jan 29 08:28:11.74: Label: 'HUNGUP'
Jan 29 08:28:11.74: [87] Label
Jan 29 08:28:11.74: Label: HUNGUP
Jan 29 08:28:11.74: [82] Hang Up
Jan 29 08:28:11.79: Attempting ag_unlisten, lines[curLine].chdev = 0x3
Jan 29 08:28:11.79: ag_unlisten - failure
Jan 29 08:28:11.79: dx_close
Jan 29 08:28:11.79: ReleaseLine done.
Jan 29 08:28:11.79: [2] FINISH
Jan 29 08:28:11.79: Query4Data<==PlaceCall2Client
Jan 29 08:28:11.79: Setting local variable '@SUCCESS' to '1'
Jan 29 08:28:11.79: Setting local variable '@ACKNOWLEDGED' to '0'
Jan 29 08:28:11.79: [27] Compare
Jan 29 08:28:11.79: @ACKNOWLEDGED = 1?
Jan 29 08:28:11.79: (integer):0 = (integer):1?
Jan 29 08:28:11.79: FALSE
Jan 29 08:28:11.79: [14] Compare
Jan 29 08:28:11.79: @ESCALATE = 0?
Jan 29 08:28:11.79: (integer):0 = (integer):0?
Jan 29 08:28:11.79: TRUE
Jan 29 08:28:11.79: [2] FINISH
Jan 29 08:28:11.79: SearchDirectory<==Query4Data
Jan 29 08:28:11.79: Setting local variable '@SUCCESS' to '1'
Jan 29 08:28:11.79: [35] Compare
Jan 29 08:28:11.79: @SUCCESS = 1?
Jan 29 08:28:11.79: (integer):1 = (integer):1?
Jan 29 08:28:11.79: TRUE
Jan 29 08:28:11.79: [38] Delete File
Jan 29 08:28:11.79: Deleting '@SYSDIR\@FILENAME'
Jan 29 08:28:11.79: Deleting 'C:\Program Files\TeleFlow\Applications\Outgoing\29_8_25_57_57887.vmsg'
Jan 29 08:28:11.79: [14] Math
Jan 29 08:28:11.79: @FILESREAD = @FILESREAD + 1
Jan 29 08:28:11.79: @FILESREAD = (integer):1 + (integer):1
Jan 29 08:28:11.79: Setting local variable '@FILESREAD' to '2'
Jan 29 08:28:11.79: [15] Compare
Jan 29 08:28:11.79: @FILESREAD <= @COUNT?
Jan 29 08:28:11.79: (integer):2 <integer>Query4Data
Jan 29 08:28:11.79: [1] START
Jan 29 08:28:11.79: [3] SQL Statement
Jan 29 08:28:11.79: <BEGIN>
SELECT pr.MsgNumber, pv1.PhoneNumber,pr.PagesSent-pc.EscAfterPages as Escelated,
Replace(Replace(pr.MeterID,'-',''),'_','') MeterID,pv1.VictimName,
pr.Tag, cast(pd.TagValue as int) TagValue,pc.Frequency,
pr.FixedTime, pv2.PhoneNumber EscPhone, isNull(pp1.ContactType,2) ContactType,
pc.Escalate,TagDef.VoiceFile, isNull(pp2.ContactType,2) EscContactType
FROM PagesRecent as pr (nolock)
INNER JOIN PageConfigs as pc ON pr.MeterID = pc.MeterID AND pr.VictimID = pc.VictimID AND pr.Tag = pc.Tag
INNER JOIN TagDef ON pr.Tag = TagDef.Tag
INNER JOIN PagerVictims pv1 ON pr.VictimID = pv1.VictimID
INNER JOIN PagerData pd (nolock) on pr.MeterID = pd.MeterID AND pr.Tag = pd.Tag
LEFT JOIN PagerVictims AS pv2 ON pc.EscVictimID = pv2.VictimID
LEFT JOIN PagerProviders pp1 ON pv1.ProviderID = pp1.ProviderID
LEFT JOIN PagerProviders pp2 on pv2.ProviderID = pp2.ProviderID
where pr.MsgNumber=57888

<END>
Jan 29 08:28:11.87: [5] SQL Fetch
Jan 29 08:28:11.87: Setting global variable '@MSGNUMBER' to '57888'
Jan 29 08:28:11.87: Setting global variable '@PHONENUMBER' to '3201565'
Jan 29 08:28:11.87: Setting global variable '@ESCELATED' to ''
Jan 29 08:28:11.87: Setting global variable '@METERID' to 'PIMSTAGS'
Jan 29 08:28:11.87: Setting global variable '@VICTIMNAME' to 'TEST2'
Jan 29 08:28:11.87: Setting global variable '@TAG' to 'GOOFY'
Jan 29 08:28:11.87: Setting global variable '@TAGVALUE' to '18'
Jan 29 08:28:11.87: Setting global variable '@FREQUENCY' to '1'
Jan 29 08:28:11.87: Setting global variable '@FIXEDTIME' to ''
Jan 29 08:28:11.87: Setting global variable '@ESCPHONE' to ''
Jan 29 08:28:11.87: Setting global variable '@CONTACTTYPE' to '2'
Jan 29 08:28:11.87: Setting global variable '@ESCALATE' to '0'
Jan 29 08:28:11.87: Setting global variable '@VOICEFILE' to 'flow'
Jan 29 08:28:11.87: Setting global variable '@ESCCONTACTTYPE' to '2'
Jan 29 08:28:11.87: [7] SQL End
Jan 29 08:28:11.87: [25] Set Local Variable
Jan 29 08:28:11.87: Setting local variable '@ACKNOWLEDGED' to '0'
Jan 29 08:28:11.87: [31] Set Global Variable
Jan 29 08:28:11.87: Setting global variable '@TAGNAME' to 'GOOFY'
Jan 29 08:28:11.87: [36] Set Global Variable
Jan 29 08:28:11.87: Setting global variable '@VICNAME' to 'TEST2'
Jan 29 08:28:11.87: [33] Compare
Jan 29 08:28:11.87: @CONTACTTYPE = 2?
Jan 29 08:28:11.87: (integer):2 = (integer):2?
Jan 29 08:28:11.87: TRUE
Jan 29 08:28:11.87: [13] Run Flowchart
Jan 29 08:28:11.87: Flowchart: 'PlaceCall2Client'
Jan 29 08:28:11.87: Setting local variable '@PHONE' to '3201565'
Jan 29 08:28:11.87: Setting local variable '@FILE2PLAY' to 'flow'
Jan 29 08:28:11.87: Setting local variable '@FIXED' to ''
Jan 29 08:28:11.87: Setting local variable '@METER' to 'PIMSTAGS'
Jan 29 08:28:11.87: Setting local variable '@VALUE' to '18'
Jan 29 08:28:11.87: Setting local variable '@MSG' to '57888'
Jan 29 08:28:11.87: Setting local variable '@SUCCESS' to '0'
Jan 29 08:28:11.87: Setting local variable '@ESC' to ''
Jan 29 08:28:11.87: Setting local variable '@FREQ' to '1'
Jan 29 08:28:11.87: Setting local variable '@ACK' to '0'
Jan 29 08:28:11.87: Query4Data==>PlaceCall2Client
Jan 29 08:28:11.87: [1] START
Jan 29 08:28:11.87: [86] Global Event
Jan 29 08:28:11.87: Setting system variable '@HANGUP' to 'HUNGUP'
Jan 29 08:28:11.87: [3] Place Call
Jan 29 08:28:11.87: Place call to 9,3201565
and wait for up to 10 rings
Jan 29 08:28:11.87: Do not connect on CED
Jan 29 08:28:11.87: Do not connect on SIT
Jan 29 08:28:11.87: ERROR: Port not available on SCbus
Jan 29 08:28:11.87: (106): Invalid Switching Handler Bus Mode
Jan 29 08:28:11.87: Warning: port's switch status unchanged.
Jan 29 08:29:30.73: Setting system variable '@CALLOUT_RESULT' to 'NOANSWER'
Jan 29 08:29:30.73: Setting system variable '@CALLOUT_REASON' to 'TIMEOUT'
Jan 29 08:29:30.76: Attempting ag_unlisten, lines[curLine].chdev = 0x3
Jan 29 08:29:30.76: ag_unlisten - failure
Jan 29 08:29:30.76: dx_close
Jan 29 08:29:30.76: ReleaseLine done.
Jan 29 08:29:30.76: TIMEOUT


Back to top
 Profile  
 
 Post subject: Need a pause between Hangup and Place Call steps
PostPosted: Wed Jan 31, 2007 6:09 pm 
Offline
Site Admin

Joined: Wed Dec 31, 1969 5:00 pm
Posts: 329
Location: Vancouver, BC
The second Place Call step occurs too quickly after the first has ended. Consider the relevant steps in this log output:

...
Jan 29 08:28:11.74: [82] Hang Up
...
Jan 29 08:28:11.87: [3] Place Call
...

Only 13 milliseconds has elapsed between the end of the previous call and the start of a new one. On an analog phone line, hang-up followed by a pick up (Place Call implicitly takes the phone off-hook) results in a flash-hook. Therefore, your application has flashed the hook for 13 milliseconds. Not long enough to even be registered as a flash-hook.

Most analog equipment uses flash-hook durations in the half-second to full-second duration. To make this application work, you should put a Wait step between Hang Up and Place Call. The minimum wait duration should be 2000 ms (2 seconds). If that still does not work, experiment with longer durations.


Back to top
 Profile WWW 
 
 Post subject: That fixed it Tim
PostPosted: Thu Feb 01, 2007 6:57 am 
Offline

Joined: Wed Aug 31, 2005 9:34 am
Posts: 7
Thanks Tim,

I put in a 3 second wait between calls and it works now.


Back to top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Board index : TeleFlow Forums : TeleFlow Server & Monitor


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.