(Channel as Integer)String
(ISDN only)
This property sets the name to be sent as the Originating Party Name for an outgoing call. The maximum length of the name is 16 characters.
(Channel as Integer)String
This property sets the Originating Party Number for an outgoing call. This property is only applicable on selected protocols, which are supported by the Dialogic GlobalCall library. Please refer to the GlobalCall Technology User's Guide from Dialogic for more information.
(Channel as Integer)Integer
This property contains the result of the last dial operation on the speci�fied channel. It uses the vbvCallResultConstants:
vbvNoDialTone(27)
vbvFastBusy(28)
vbvBusy(29)
vbvNoAnswer(30)
vbvNoRing(31)
vbvConnected(32)
vbvIntercept(33)
vbvAnsMachine (36)
vbvFaxAnswer(47)
vbvNetTimeout(57)
vbvTransferRejected(100)
vbvTransferTimeout (101)
vbvTransferSucceeded = vbvConnected (32)
If a call result is returned from the voice card that is not represented by the standard return codes above, the CallResult property will contain a negative return code and the call will exit out of the Other node. This allows VB code to provide custom processing for specific conditions.
For example, to detect fax machines, the code in the Exit event may check for a result value of CallResult = -18 (fax tone detected) and use the TakeCall method to move the call to an appropriate handler. (Please note that CallResult = -18 may not work on ISDN).
Private Sub Dial1_Exit(ByVal channel As Integer, Node As Integer)
Dim res As Integer
res = Dial1.CallResult(channel)
If res = -18 Then
Fax tone detected process it
SendFax1.TakeCall(channel)
End If
End Sub
When using ISDN, the CallResult property returns the ISDN Cause parameter, as defined in the Q.931 specification. For a failing call, the CallResult is set to a negated value of the cause. For example, if an outgoing call is rejected by the destination device (ISDN cause 21), CallResult will be set to -21.
The table below lists possible cause values as defined in the specification. Please note that not all cause values are universally supported across switch types. Before a particular cause value is used, its validity should be compared with the appropriate switch vendor specs.
Unassigned Number |
0x01 |
Cause 01 |
No Route |
0x02 |
Cause 02 |
Channel Unacceptable |
0x06 |
Cause 06 |
Normal Clearing |
0x10 |
Cause 16 |
User Busy |
0x11 |
Cause 17 |
No User Responding |
0x12 |
Cause 18 |
No Answer From User |
0x13 |
Cause 19 |
Call Rejected |
0x15 |
Cause 21 |
Number Changed |
0x16 |
Cause 22 |
Dest Out Of Order |
0x1b |
Cause 27 |
Invalid Number Format |
0x1c |
Cause 28 |
Facility Rejected |
0x1d |
Cause 29 |
Resp To Stat Enq |
0x1e |
Cause 30 |
Unspecified Cause |
0x1f |
Cause 31 |
No Circuit Available |
0x22 |
Cause 34 |
Network Out Of Order |
0x26 |
Cause 38 |
Temporary Failure |
0x29 |
Cause 41 |
Network Congestion |
0x2a |
Cause 42 |
Access Info Discarded |
0x2b |
Cause 43 |
Req Channel Not Avail |
0x2c |
Cause 44 |
Pre Empted |
0x2d |
Cause 45 |
Facility Not Subscribed |
0x32 |
Cause 50 |
Outgoing Call Barred |
0x34 |
Cause 52 |
Incoming Call Barred |
0x36 |
Cause 54 |
Bear Cap Not Avail |
0x3a |
Cause 58 |
Service Not Avail |
0x3f |
Cause 63 |
Cap Not Implemented |
0x41 |
Cause 65 |
Chan Not Implemented |
0x42 |
Cause 66 |
Facility Not Implement |
0x45 |
Cause 69 |
Invalid Call Ref |
0x51 |
Cause 81 |
Chan Does Not Exist |
0x52 |
Cause 82 |
Incompatible Dest |
0x58 |
Cause 88 |
Invalid Msg Unspec |
0x5f |
Cause 95 |
Mandatory Ie Missing |
0x60 |
Cause 96 |
Nonexistent Msg |
0x61 |
Cause 97 |
Wrong Message |
0x62 |
Cause 98 |
Bad Info Elem |
0x63 |
Cause 99 |
Invalid Elem Contents |
0x64 |
Cause 100 |
Wrong Msg For State |
0x65 |
Cause 101 |
Timer Expiry |
0x66 |
Cause 102 |
Mandatory Ie Len Err |
0x67 |
Cause 103 |
Protocol Error |
0x6f |
Cause 111 |
Interworking Unspec |
0x7f |
Cause 127 |
If you need to connect the T1 call when a fax tone is detected (CallResult = -18), the Call Progress will not detect a hang-up unless DetectDisconnectWhileOffhook=1 (default is 0) in [VoiceCard] section of VBVOICE.INI file.
[VoiceCard]
DetectDisconnectWhileOffhook=1 ;Call Progress enabled
(Channel as Integer)String
This property contains a formatted string containing the start time of the last call. The string is formatted as mm/dd/yy hh:mm using a 24-hour clock. It is useful when creating call logs using the Dial Log option.
(Channel as Integer) String
(Dialogic VoIP only. )
It sets the DestinationAddress of the H225 setup message to be sent by the Dial control, on a per call basis.
It should be used in the Enter event of Dial control.
(Channel as Integer) Long
(Not supported by HMP, not recommended as it is supported by few cards)
If answering machine detection is disabled, this property contains the duration of the answer, in milliseconds, that occurs as a result of tone call analysis. An answer is considered the period of non-silence that begins after cadence is broken.
The duration of the answer can be used to determine whether the call was answered by a person or an answering machine: it returns 0 when answering machine detection is enabled. It should be used in the Exit event of the Dial control.
For digital protocols the tones call analysis is active only if the fax tone detection is enabled.
EXAMPLE
Private Sub Dial1_Exit(ByVal channel As Integer, Node As Integer)
Dim answerDur As Long
answerDur = Dial1.DurationOfAnswer(channel)
If answerDur > 3200 Then assume its an answering machine
PlayGreeting1.TakeCall channel
End If
End Sub
(Channel as Integer) String
The dialed number is recalculated for each call if it contains control names. The NumToDial property makes this number available to VB code in the Enter event, for reading or updating. When a new number is set in the Enter event , the number is only changed for that call. See Configuring Dial Strings section above.
To access the number:
Dim actualnumber as String
actualnumber = Dial1.NumToDial(channel)
To override the predefined number with your own:
Dial1.NumToDial(channel) = "6138390033"
max string length is 64 characters
For HMP, the type of call depends on the number to be dialled. If the @ character is found in the number to be dialled, a SIP call is initiated, otherwise a H.323 call is initiated.
EXAMPLE
For SIP:
Dial1.NumToDial = "Suser@192.168.0.2"
This initiates a SIP call to sip:user@192.168.0.2
For H.323:
Dial1.NumToDial = "S192.168.0.2"
This initiates a H.323 call to 192.168.0.2.
(Channel as Integer)Integer
Analog: This property sets the time in seconds to wait for the call to be answered after the first ring; if that time has elapsed and the call has not been answered the control would exit through the NoAnswer node. This is for Dialogic cards only.
Digital: This property sets the time in seconds to wait for the call to be answered after the call was initiated; if that time has elapsed and the call has not been answered the control would exit through the NoAnswer node.
(Integer)
This property will transfer a call to another control. See GotoNode.
(Channel as Integer) Integer
Set a channel to be used as an auxiliary line for transfer. Applicable only to ISDN transfers.
(Channel as Integer) vbvTransferTypeConstants
(Applicable only to ISDN and HMP transfers.)
Set the type of transfer to be performed.