Is it possible to store on a variable the sip header from asterisk?
<--- SIP read from UDP:192.168.1.101:5060 ---> BYE sip:[email protected]:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK04B0006fcc7eb2a5c0e From: ;tag=gK0480049d To: "101" ;tag=as0d6cf491 Call-ID: [email protected]:5060 CSeq: 548735 BYE Max-Forwards: 70 transferTarget: sip:[email protected] Content-Length: 0
I wanted to get the value of "transferTarget" => sip:[email protected].