Arnaud wrote: > Why not make a more general function for SIP_HEADER ? > Would be very interesting to get for example sip responses or sip message ? What do you mean? SIP_HEADER is already "general", it can extract any header that arrived in the SIP packet from the peer.