SIP::call_id

Description

Returns the value of the Call-ID header in a SIP request. Only the first 256 bytes of the Call-ID will be returned.

Syntax

SIP::call_id

SIP::call_id

  • Returns the value of the ‘’’Call-ID* header in a SIP request.

Examples

when SIP_REQUEST_SEND {
   if {[SIP::method] == "BYE"} {
      persist delete sip [SIP::call_id]
   }
}