<div dir="ltr"><div><div><div><div>How to add new headers to INVITE packet with APIs?<br><br></div>e.g. my packet is this:<br><br> INVITE <a href="mailto:sip%3A1000@192.168.2.73">sip:1000@192.168.2.73</a> SIP/2.0<br> Via: SIP/2.0/UDP 192.168.2.77:5080;rport;branch=z9hG4bKUFpyDr890F1pB<br>
Max-Forwards: 70<br> From: "Outbound Call" <<a href="mailto:sip%3ATCAPI_User@192.168.2.73">sip:TCAPI_User@192.168.2.73</a>>;tag=UZ6gtcDZvQy8e<br> To: <<a href="mailto:sip%3A1000@192.168.2.73">sip:1000@192.168.2.73</a>><br>
....<br></div>i want to add new attribute to these headers named 'Token', something like this:<br><br> INVITE <a href="mailto:sip%3A1000@192.168.2.73">sip:1000@192.168.2.73</a> SIP/2.0<br> Via: SIP/2.0/UDP 192.168.2.77:5080;rport;branch=z9hG4bKUFpyDr890F1pB<br>
Max-Forwards: 70<br> From: "Outbound Call" <<a href="mailto:sip%3ATCAPI_User@192.168.2.73">sip:TCAPI_User@192.168.2.73</a>>;tag=UZ6gtcDZvQy8e<br> To: <<a href="mailto:sip%3A1000@192.168.2.73">sip:1000@192.168.2.73</a>><br>
</div> Token: gasd^@@SGHT W454v$ERYWEVGR%^#V$CSDGASF<br> ....<br> ....<br><br></div>How can i do this?!<br></div>