...
User interaction and design
The user will need to malloc memory before calling the API function BfvLineWaitForCall() for the sip_header_list member of the structure args_telephone in order to receive both the SIP URI value and the headers from the SIP INVITE. Add to the beginning of the SIP INVITE header list an entry for the SIP URI from the SIP INVITE. The complete sip Request URI value string i.e. 1234@dialogic.com:5060 will appear after the name of the new entry. The name of the new entry will be Request-URI. An example of the the SIP INVITE URI entry at the beginning of the SIP INVITE header list is: Request-URI: 1234@dialogic.com:5060 This value will be available to the application when the BfvLineWaitForCall() API function returns. The user will need to malloc memory for the sip_header_list member of the structure args_telephone in order to receive both the SIP URI value and the headers from the SIP INVITE. This aligns with when the called_party_number value and the SIP Headers are available to the application after MillIntCallWaitForSetup() processing. |
...