Dialogic Dialogic Global Call IP IP Phone User Manual


 
470 Dialogic
®
Global Call IP Technology Guide — November 2007
Dialogic Corporation
/* set GCLIB_ADDRESS_BLK with destination string & type (H323-ID) */
strcpy(gcmkbl.gclib->destination.address,pDestAddrBlk);
gcmkbl.gclib->destination.address_type = GCADDRTYPE_DOMAIN;
gclib_mkbl.ext_datap = target_datap;
/* calling the function with the MAKECALL_BLK */
gc_MakeCall(ldev, &crn, pDestAddrStr, &gcmkbl, MakeCallTimeout,EV_ASYNC);
Scenario 6 – While registered, making a call, via the gatekeeper, to a registered entity (using a
known e-mail address), setting a number of H.225 aliases, and setting the Q.931
calledPartyNumber:
char *pDestAddrBlk = " user@host.com "; /* The alias of the remote (registered) entity */
char *pDestAddrStr = "TEL:111,TEL:222,987654321";
/* set GCLIB_ADDRESS_BLK with destination string & type (EMAIL) */
strcpy(gcmkbl.gclib->destination.address,pDestAddrBlk);
gcmkbl.gclib->destination.address_type = GCADDRTYPE_EMAIL;
gclib_mkbl.ext_datap = target_datap;
/* calling the function with the MAKECALL_BLK */
gc_MakeCall(ldev, &crn, pDestAddrStr, &gcmkbl, MakeCallTimeout,EV_ASYNC);
Scenario 7 – While registered, making a call via the gatekeeper to a registered entity (using a
known URL), setting a number of H.225 aliases, and setting the Q.931 calledPartyNumber:
char *pDestAddrBlk = "www.gw1.dialogic.com"; /* The alias of the remote (registered) entity */
char *pDestAddrStr = "TEL:111,TEL:222,987654321";
/* set GCLIB_ADDRESS_BLK with destination string & type (URL) */
strcpy(gcmkbl.gclib->destination.address,pDestAddrBlk);
gcmkbl.gclib->destination.address_type = GCADDRTYPE_URL;
gclib_mkbl.ext_datap = target_datap;
/* calling the function with the MAKECALL_BLK */
gc_MakeCall(ldev, &crn, pDestAddrStr, &gcmkbl, MakeCallTimeout,EV_ASYNC);
8.3.17.5 Specifying a Timeout
Note: The following information applies when using H.323 only.
The timeout parameter of the gc_MakeCall( ) function specifies the maximum time in seconds to
wait for the establishment of a new call, after receiving the first response to the call. This value
corresponds to the Q.931\connectTimeOut parameter. If the call is not established during this
time, the Disconnect procedure is initiated. The default value is 120 seconds.
In addition to the Q.931\connectTimeOut parameter described in Section 8.3.17, “gc_MakeCall( )
Variances for IP”, on page 460, two other non-configurable parameters affect the timeout behavior:
Q931\responseTimeOut
The maximum time in seconds to wait for the first response to a new call. If no response is
received during this time, the Disconnect procedure is initiated. The default value is 4 seconds.
h245\timeout:
The maximum time in seconds to wait for the called party to acknowledge receipt of the
capabilities it sent. The default value is 40 seconds.