PREV TOC HOME INDEX NEXT


4.6. Call Routing

When using Global Call with a DM3 board that uses an embedded stack, routing is not required to associate an IP network device with an IP Media device, since each IP Media device is preallocated (bound) to a specific network device.

The gc_GetXmitSlot( ) and gc_Listen( ) functions can be used for call routing where an IP Media device can be routed to a non-IP voice or network resource.

The following pseudo code indicates how to perform full duplex routing between a non-IP network device (dtiB1T1) and an IP device (ipm_B1C1):

    /* open dtiB1T1 */
    gc_OpenEx(&dtidev, ":N_dtiB1T1:V_dxxxB1C1:P_pdk_ar_r2.io");
    /* the :V part is optional and the :P part could specify another protocol /*
    
    /* open ipmB1C1 */
    gc_OpenEx(&ipdev, ":N_iptB1T1:M_ipmB1C1:P_H323_R");
    
    /* get transmit time slot info of dtiB1T1 */
    gc_GetXmitSlot(dtidev, &dti_sctsinfo);
    
    /* make ipmB1C1 listen to transmit time slot of dtiB1T1 */
    gc_Listen(ipdev, &dti_sctsinfo);
    
    /* get transmit time slot info of ipmB1C1 */
    gc_GetXmitSlot(ipdev, &ipm_sctsinfo);
    
    /* make dtiB1T1 listen to transmit time slot of ipmB1C1 */
    gc_Listen(dtidev, &ipm_sctsinfo); 

PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

Copyright 2003, Intel Corporation
All rights reserved
This page generated January, 2003