PREV TOC HOME INDEX NEXT


3.4.14. gc_ReqService( )

The gc_ReqService( ) function can be used to register an endpoint with a registration server (gateway in H.323 or registrar in SIP). Function parameter must be set as follows:

The registration information that can be included in the associated GC_PARM_BLK is shown in Table 3.

Table 3. Registration Information

Set ID

Parameter IDs

H.323/SIP

GCSET_SERVREQ PARM_REQTYPE
Datatype
: IP_REQTYPE_REGISTRATION
H.323 and SIP
GCSET_SERVREQ PARM_ACK H.323 and SIP
IPSET_PROTOCOL IPPARM_PROTOCOL_BITMASK
Datatype
: Bitmask composed from the following values:
  • IP_PROTOCOL_H323
  • IP_PROTOCOL_SIP
H.323 and SIP
IPSET_REG_INFO See Section 6.17, IPSET_REG_INFO Parameter Set, for more information. IPPARM_OPERATION_REGISTER
Datatype
: One of the following values:
  • IP_REG_SET_INFO
  • IP_REG_ADD_INFO
  • IP_REG_DELETE_BY_VALUE

IPPARM_OPERATION_DEREGISTER
Datatype
: One of the following values:
  • IP_REG_MAINTAIN_LOCAL_INFO
  • IP_REG_DELETE_ALL

IPPARM_REG_ADDRESS
Datatype
: IP_REGISTER_ADDRESSSee Section 7.9, IP_REGISTER_ADDRESS, for more information
H.323 and SIP
IPSET_LOCAL_ALIAS IPPARM_ADDRESS_DOT_NOTATION IPPARM_ADDRESS_EMAIL IPPARM_ADDRESS_H323_ID IPPARM_ADDRESS_PHONE IPPARM_ADDRESS_TRANSPARENT IPPARM_ADDRESS_URL
Datatype: String
H.323
IPSET_SUPPORTED_PREFIXES IPPARM_ADDRESS_DOT_NOTATION IPPARM_ADDRESS_EMAIL IPPARM_ADDRESS_H323_ID IPPARM_ADDRESS_PHONE IPPARM_ADDRESS_TRANSPARENT IPPARM_ADDRESS_URL
Datatype: String
H.323
indicates mandatory parameters. These parameters are required to support the generic service request mechanism provided by Global Call and are not sent in any registration message.

Registration options include:

See Section 4.12.4, Registration Code Example for more information.

The gc_ReqService( ) function also provides the following deregister options:

See Section 4.12.5, Deregistration Code Example for more information.

Alias and supported prefix information is supported when the target protocol for registration is H.323 only. The application should not specify this type of information when the target protocol includes SIP.

When using SIP, periodic registration is not supported. A time_to_live value can be specified in the IP_REGISTER_ADDRESS structure and an expired header is added. Registration is not refreshed. The application can re-register periodically to refresh registration before the time_to_live value times out. One-time registration is supported.

Since some of the registration data may be protocol specific, there is a facility to set the protocol type using IP parameters in reqdatap and respdatapp, which are of type GC_PARM_BLK.

The following are the relevant parameters for the GC_PARM_BLK:

Note: The default value for the protocol, when not specified by the application is IP_PROTOCOL_H323.

The GCEV_SERVICERESP event indicates that a service has been responded to by an H.323 gatekeeper or a SIP registrar. The event is received on an IPT board device handle. The event data includes a specification of the protocol used. The sr_getevtdatap( ) function returns a pointer to a GC_PARM_BLK that includes the following parameter information:


PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

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