Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions RELNOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -815,3 +815,6 @@ Version 4.30.1 - 2025-01-14
Version 4.31.0 - 2025-04-25
* Updated to support 603+.

Version 4.32.0 - 2025-05-22
* Updated for STIRv2.

1 change: 1 addition & 0 deletions include/osp/ospdatatypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ typedef enum {
OSPC_SIPHEADER_PAI,
OSPC_SIPHEADER_PCI,
OSPC_SIPHEADER_RPID,
OSPC_SIPHEADER_RURI,
OSPC_SIPHEADER_TO,
/* Number of termination cause types */
OSPC_SIPHEADER_NUMBER
Expand Down
2 changes: 1 addition & 1 deletion include/osp/osplibversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#define _OSPLIBVERSION_H

#define OSP_CLIENT_TOOLKIT_VERSION_MAJOR 4
#define OSP_CLIENT_TOOLKIT_VERSION_MINOR 31
#define OSP_CLIENT_TOOLKIT_VERSION_MINOR 32
#define OSP_CLIENT_TOOLKIT_VERSION_BUGFIX 0

#endif /* _OSPLIBVERSION_H */
1 change: 1 addition & 0 deletions include/osp/ospmsgelem.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ typedef enum {
OSPC_MELEM_REAUTHRSP,
OSPC_MELEM_RELATEDREASON,
OSPC_MELEM_RELEASE,
OSPC_MELEM_REQUESTURI,
OSPC_MELEM_RESOURCES,
OSPC_MELEM_RFACTOR,
OSPC_MELEM_RICHCALLDATA,
Expand Down
2 changes: 2 additions & 0 deletions src/ospmsgelem.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ const OSPT_MSG_DESC OSPV_MELEM_DESCS[OSPC_MELEM_NUMBER] = {
{ OSPC_MELEM_REAUTHRSP, "ReauthorizationResponse" },
{ OSPC_MELEM_RELATEDREASON, "RelatedCallIdReason" },
{ OSPC_MELEM_RELEASE, "ReleaseSource" },
{ OSPC_MELEM_REQUESTURI, "RequestDestinationInfo" },
{ OSPC_MELEM_RESOURCES, "Resources" },
{ OSPC_MELEM_RFACTOR, "RFactor" },
{ OSPC_MELEM_RICHCALLDATA, "RichCallData" },
Expand Down Expand Up @@ -203,6 +204,7 @@ const OSPE_MSG_ELEM OSPV_MELEM_SIPHEADER[OSPC_SIPHEADER_NUMBER] = {
OSPC_MELEM_ASSERTEDID,
OSPC_MELEM_CHARGEINFO,
OSPC_MELEM_RPID,
OSPC_MELEM_REQUESTURI,
OSPC_MELEM_TO
};

Expand Down
1 change: 1 addition & 0 deletions src/ospusage.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ unsigned OSPPCallPartyNumToElement(
case OSPC_MELEM_IDBYPASS:
case OSPC_MELEM_IDENTITY:
case OSPC_MELEM_NETTRANSCALLED:
case OSPC_MELEM_REQUESTURI:
case OSPC_MELEM_RPID:
case OSPC_MELEM_SRCINFO:
case OSPC_MELEM_TO:
Expand Down
4 changes: 3 additions & 1 deletion test/test_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -1902,6 +1902,8 @@ int testSetSIPHeaders()
const char *fingerprints[number] = { "fingerprint1", "fingerprint2", "fingerprint3" };
int errcode = 0;

errcode = OSPPTransactionSetSIPHeader(OSPVTransactionHandle, OSPC_SIPHEADER_RURI, OSPC_NFORMAT_SIP, "sips:1002@transnexus.com");

errcode = OSPPTransactionSetSIPHeader(OSPVTransactionHandle, OSPC_SIPHEADER_FROM, OSPC_NFORMAT_E164, "FromE164");
errcode = OSPPTransactionSetSIPHeader(OSPVTransactionHandle, OSPC_SIPHEADER_FROM, OSPC_NFORMAT_SIP, "<sip:1001@sip.transnexus.com>");
errcode = OSPPTransactionSetSIPHeader(OSPVTransactionHandle, OSPC_SIPHEADER_FROM, OSPC_NFORMAT_DISPLAYNAME, "Hello Günter ");
Expand Down Expand Up @@ -1931,7 +1933,7 @@ int testSetSIPHeaders()

errcode = OSPPTransactionSetRequestDate(OSPVTransactionHandle, time(OSPC_OSNULL));
errcode = OSPPTransactionSetFingerprint(OSPVTransactionHandle, number, fingerprints);
errcode = OSPPTransactionSetSIPHeader(OSPVTransactionHandle, OSPC_SIPHEADER_IDENTITY, OSPC_NFORMAT_SIP, "IdentityHeader");
errcode = OSPPTransactionSetSIPHeader(OSPVTransactionHandle, OSPC_SIPHEADER_IDENTITY, OSPC_NFORMAT_SIP, "IdentityHeader,IdentityHeaderOther");

errcode = OSPPTransactionSetSIPHeader(OSPVTransactionHandle, OSPC_SIPHEADER_IDBYPASS, OSPC_NFORMAT_SIP, "ABCD_0123456789ABCFEF");

Expand Down