TeleFlow Forums
http://teleflow.org/phpbb/

How to place call at specific port
http://teleflow.org/phpbb/viewtopic.php?f=10&t=192
Page 1 of 1

Author:  andyyap [ Tue Nov 02, 2004 7:43 pm ]
Post subject: 

I have a 2 port AG4000 card. Port 1 is incoming call only and port 2 allows outgoing calls. How can I configure Teleflow so that for each incoming call, I can specify which port to use to place an outgoing call. For instance, calls comes in on channel 3 port 1, gets transfered to channel 20 port 2. I thought I can specify this under properties on the Place Call step but I can't find it there. <br> <br>Please help.

Author:  Chris [ Wed Nov 03, 2004 1:14 pm ]
Post subject: 

Have a look at the Example TeleFlow Applications - TransferDemo, or TransferDemo2 - for samples of how to transfer calls in your environment. <br> <br>Note that Place Call places a call out on the current port (@PORT). Switching 2 ports together is done with the Switch Call step. The demos above show how these steps are used to accomplish this.

Author:  Mason [ Wed Oct 26, 2011 10:33 am ]
Post subject:  Re: How to place call at specific port

I am trying to run TransferDemo using Dialogic D/4pci, the application hangsup after playing INCOMING.vox.
Here is the log from callout.tap:

09:50:28.859: [172] Delete File
09:50:28.859: File name '@OTHER_HANGFILE' evaluates to 'F:\TransferDemo2\bin\HANG2.hng'
09:50:28.859: Deleting 'F:\TransferDemo2\bin\HANG2.hng'
09:50:28.859: FAILURE
09:50:28.859: [24] Place Call
09:50:28.859: Telephone Number '@PHONE' evaluates to '5478'
09:50:28.859: Rings before TIMEOUT is '20'
09:50:28.859: Do not capture answering voice length to TeleFlow variable
09:50:28.859: Silence timeout is ''
09:50:28.859: Empty Silence timeout defaults to none
09:50:28.859: Maximum voice length timeout is ''
09:50:28.859: Empty Maximum voice length timeout defaults to none
09:50:28.859: ISDN Calling Number Plan is 'UNKNOWN'
09:50:28.859: ISDN Calling Number Type is 'DEFAULT'
09:50:28.859: ISDN Called Number Plan is 'DEFAULT'
09:50:28.859: ISDN Called Number Type is 'DEFAULT'
09:50:28.859: Place call to 5478
and wait for up to 20 rings
09:50:28.859: Do not connect on CED
09:50:28.859: Connect on SIT
09:50:28.859: Do not perform initial voice length detection.
09:50:28.875: Port not available on SCbus
09:50:39.062: Setting system variable '@CALLOUT_RESULT' to 'CONNECT'
09:50:39.062: Setting system variable '@CALLOUT_REASON' to 'VOICE'
09:50:39.062: Setting system variable '@SYS_CALL_DIRECTION' to 'OUT'
09:50:39.062: [36] Clear TT
09:50:39.062: [175] Play
09:50:39.062: Script code is 'INCOMING'
09:50:39.062: Script code 'INCOMING' corresponds to file 'Vox\Eng\Scripts\INCOMING.vox'
09:50:39.062: Playing 'F:\TransferDemo2\Vox\Eng\Scripts\INCOMING.vox'
09:50:39.062: Call Status (lps0)
09:50:39.062: ATDX_HOOKST (2)
09:50:39.062: Call Status (lps0)
09:50:39.062: ATDX_HOOKST (2)
09:50:39.078: Call Status (lps0)
09:50:39.078: ATDX_HOOKST (2)
09:50:40.250: [77] Switch Call
09:50:40.250: Port '@NEWPORT' evaluates to '2'
09:50:40.250: Switch current port (1) to port 2
09:50:40.250: ERROR: Port not available on SCbus
09:50:40.250: (106): Invalid Switching Handler Bus Mode
09:50:40.250: FATAL
09:50:40.250: Attempting to jump to Fatal Error Global Event label: 'BIGEND'
09:50:40.250: Setting system variable '@FATAL' to ''
09:50:40.250: [75] Label
09:50:40.250: Label: BIGEND
09:50:40.250: [76] Write Text
09:50:40.250: Message is '***
*** FATAL ERROR DETECTED!!
***'
09:50:40.250: ***
*** FATAL ERROR DETECTED!!
***
09:50:40.250: [22] Hang Up
09:50:40.296: Attempting ag_unlisten, lines[curLine].chdev = 0x2
09:50:40.296: ag_unlisten - failure
09:50:40.296: dx_close
09:50:40.296: ReleaseLine done.
09:50:40.296: [223] Global Event
09:50:40.296: Label is 'EXIT'
09:50:40.296: Setting system variable '@FATAL' to 'EXIT'
09:50:40.296: [117] Compare
09:50:40.296: First Value '@FLAGFILE' evaluates to 'F:\TransferDemo2\bin\002-5478'
09:50:40.296: Second Value is 'BAD'
09:50:40.296: @FLAGFILE = BAD?
09:50:40.296: (string):F:\TransferDemo2\bin\002-5478 = (string):BAD?
09:50:40.296: FALSE
09:50:40.296: [110] Delete File
09:50:40.296: File name '@FLAGFILE.prc' evaluates to 'F:\TransferDemo2\bin\002-5478.prc'
09:50:40.296: Deleting 'F:\TransferDemo2\bin\002-5478.prc'

any help?

Author:  Tim [ Wed Apr 18, 2012 12:26 pm ]
Post subject:  Re: How to place call at specific port

Our apologies, this thread seems to have fallen through the cracks.

The reason for the disconnect is here in your log:
Code:
09:50:40.250: [77] Switch Call
09:50:40.250: Port '@NEWPORT' evaluates to '2'
09:50:40.250: Switch current port (1) to port 2
09:50:40.250: ERROR: Port not available on SCbus
09:50:40.250: (106): Invalid Switching Handler Bus Mode
09:50:40.250: FATAL

The Dialogic D/4PCI card does not have an internal switch block, and so the Switch Call step cannot be used to connect two ports together.

Author:  Tim [ Wed Apr 18, 2012 12:38 pm ]
Post subject:  Re: How to place call at specific port

You need a Dialogic JCT board to perform a Switch Call. Consider the D/41JCT. It provides the same functionality as the D/4PCI, and it includes a CT bus interface and internal switch block.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/