Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The user will need to malloc memory before calling the API function BfvLineWaitForCall() for the for the sip_header_list member of the structure args_telephone before calling the API function BfvLineWaitForCall() in order to receive both the SIP URI value and the headers from the SIP INVITE.

An entry for the SIP URI from the SIP INVITE will be added to the beginning of the SIP INVITE header list. 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  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 parse the SIP INVITE headers list to get the SIP Request URI which will be the first entry in the list.

This aligns with when the called_party_number value and the SIP Headers are available to the application after MillIntCallWaitForSetup() processing. 

...