"utran-cell-id-3gpp" parameter not appended in P-Access-Network-Info header
Antonio Buonamassa <[email protected]> Tue, 22 May 2007 08:42:13 +0000 (UTC)
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
Hi everybody,
I've come to a strange result when trying to add a P-Access-Network-Info header
in my request using JAIN SIP 1.2 (which supports IMS headers).
Here is a part of my code (try-catch blocs have been removed for lisibility):
ArrayList<String> additionalHeaders = new ArrayList<String>();
HeaderFactoryImpl hfi = new HeaderFactoryImpl();
AccessNetworkInfoHeader anih hfi.createAccessNetworkInfoHeader();
anih.setAccessType(AccessNetworkInfoHeader.GGGPP_UTRAN_TDD);
anih.setUtranCellID3GPP("208021D0F1234567");
additionalHeaders.add(anih.toString());
SipCall sipCall = mySipPhone.createSipCall();
sipCall.initiateOutgoingCall("sip:[email protected]","sip:[email protected]",
viaNonProxyRoute, sdpContent, "application", "sdp", additionalHeaders, null);
Now, when I launch my whole program and do a Wireshark/Ethereal capture, here is
what I get in the INVITE request :
P-Access-Network-Info: ; 3GPP-UTRAN-TDD
The P-Access-Network-Info header was inserted with the right access-type, but
the "utran-cell-id-3gpp" parameter is not appended. Worst, there is a ";" which
break the syntax correctness. I should get:
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=208021D0F1234567
Any idea where the problem is? From my code or from the JAIN SIP RI 1.2 ?
Thanks for your help.
Antonio