aboutsip / pkts

Pure java based pcap library capable of reading and writing to/from pcaps.
Other
198 stars 92 forks source link

about the "<>" in the from header #140

Closed mayomeng closed 1 year ago

mayomeng commented 1 year ago

pkts-sip version:1.0.5 code FromHeader from = FromHeader.with().user("bob").host("example.com").build(); output From: <sip:bob@example.com>;tag=33d3a418

pkts-sip version:3.0.10 code FromHeader from = FromHeader.builder().withUser("bob").withHost("example.com").build(); output From: sip:bob@example.com;tag=live

I have a question,Why does output by version 3.0.10 have no "<>" to header has the same problem thanks a lot!!!