floSIP_Packet
Though not quite as useful as I had hoped it to be, this SIP Packet manipulation class does exist. I completed it's componenets to the specifications I originally designed, however, it never became innovative simply because my need for this did not last as long as it took for me to write it and as such, upon completion was simply archived and not innovated.
Nonetheless, you can download the source on PHPClasses.org. Below is the test form I used to input the SIP Packets for testing this class.
Working Example
Paste a SIP packet into the block or use the form below to add headers manually.
| headers |
|
| body |
[empty string] |
NOTE: This is using the dBug class from phpclasses.org to display the array table.