如下面的sip数据包所示,我们在数据包的from中有一个标签,
From: Alice <sip:alice@atlanta.com>;tag=1928301774
在库中,我尝试了许多函数来获取它,但是没有一个函数如下;
call.getRemoteAddress().getHeader("tag")
call.getRemoteAddress().getParam("tag")
call.getRemoteAddress().asString()
INVITE sip:bob@biloxi.com SIP/2.0 Via: SIP/2.0/UDP
pc33.atlanta.com;branch=z9hG4bK776asdhds Max-Forwards: 70 To: Bob
<sip:bob@biloxi.com> From: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710@pc33.atlanta.com CSeq: 314159 INVITE Contact:
<sip:alice@pc33.atlanta.com> Content-Type: application/sdp Content-Length:
142
问题是如何获得它,甚至在可能的情况下进行设置?