Opened 8 years ago

Closed 20 months ago

#1253 closed enhancement (wontfix)

Module data in pjsip_tx_data similar to pjsip_rx_data

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: Known-Issues-and-Ideas
Component: pjsip Version: trunk
Keywords: Cc: Marcus, Froeschl
Backport to 1.x milestone: Backported: no

Description

Often applications that implement pjsip_module's on_tx_request() callback need to find out what context is associated with the message (for example, the PJSUA-LIB call id or account id). Without the module data field, this can only be done by looking up the message headers such as From or Call-ID, and this is inefficient.

Change History (3)

comment:1 Changed 7 years ago by nanang

  • Milestone changed from Known-Issues-and-Ideas to release-1.14.2
  • Type changed from defect to enhancement
  • Version changed from trunk to common - current

comment:2 Changed 7 years ago by bennylp

  • Milestone changed from release-1.14.2 to Known-Issues-and-Ideas
  • Version changed from common - current to trunk

Moving back to Known-Ideas

comment:3 Changed 20 months ago by nanang

  • Backported unset
  • Cc Marcus Froeschl added; Marcus Froeschl removed
  • Resolution set to wontfix
  • Status changed from new to closed

TeluuCon? 2018: There is already module data field in pjsip_tx_data, just perhaps PJSUA application gets no chance to insert its data to the module data. Alternatively perhaps PJSUA-LIB should automatically insert the call ID to the module data?

Note: See TracTickets for help on using tickets.