Dialogic IP Phone 05-2239-009 Manuel D’Utilisation

Page de 604
98
Dialogic
®
 Global Call IP Technology Guide — November 2007
Dialogic Corporation
IP Call Scenarios
3.4.1
Sending T.38 Fax in an Established Audio Session
In this scenario, the user application uses the Dialogic
®
 Global Call API to open a Media device, 
configures “Manual” mode of operation and establishes an audio session with the remote device. 
See 
, on page 322 for more information on 
manual mode. A T.38 Fax device is then opened and the application switches from an audio session 
to a T.38 session. 
When the application receives notification that the T.38 session is ready, fax information can be 
sent. Figure 40 shows the scenario diagram. 
Note:
The application must not use both Dialogic
®
 Global Call API and Dialogic
®
 IP Media Library API 
functions on the same device. The Dialogic
®
 IP Media Library API calls (ipm_) in Figure 40 are 
shown for informational purposes only. Global Call interacts with the IP Media Library on behalf 
of the application.
Figure 40. Sending T.38 Fax in an Established Audio Session
IPML
Remote Device Capable of
Signaling, Audio and T.38
App
gc_OpenEx(:N_iptB1T1:M_ipmB1C1)
SETUP with TCS/INVITE to send Origination IP
address and RTP Port number
Call Connected
FAX
fx_open(dxxxB23C1)
dev_Connect(ipmB1C1, dxxxB23C1)
REINVITE/RequestMode to switch to T.38 Fax. Send local
UDP port and IP Address
200OK/RequestMode Ack
Ipm_StartMedia()
Send UDP port number and IP address to
the firmware
Stop the RTP streaming.
Audio Data
Fx_sndfax()
T.38 Data via RTP
GC/cclib
gc_MakeCall()
GCEV_CONNECTED
GCEV_EXTENSION (IPSET_SWITCH_CODEC,IPPARM_READY)
IPVSC/IPML forwards
ipm_StartMedia() to T.38
device based on the
information fro
dev_Connect()
Ipm_GetLocalMedia()
gc_SetUserInfo(IPSET_FOIP,IPPARM_T38_CONNECT)
gc_SetConfigData(IP_MANUAL_MODE)
gc_Extension(IPSET_SWITCH_CODEC,IPPARM_T38_INITIATE)
Ipm_Stop()
gc_UnListen()
GCEV_EXTENSIONCMPLT