Hi ,

I am using the Series 60 2nd Editon FP2 SDK and have downloaded and installed the SIP Plugin V4.0 which is meant for Series 60 2nd Edition FP2 . The ChipFlip example works so I know that my SIP environment is set up properly.
I have written a small program that just registers itself and can send an INVITE.
However when my application sends an INVITE I get a 415 Unsupported Media Type Error.
Now, I am using the ECOM Plugin to register my app capabilities.
I have simply used the Example Plugin that ships with the SDK and only made the following two changes before I built it.
I have set the default_data field to the UID I pass to CSIP::NewL() which is the UID3 of my app.
Also, I have set the opaque_data field as follows :

 opaque_data = "<SIP_CLIENT ALLOW_STARTING=\"YES\"><SIP_HEADERS><ACCEPT value=\"application/sdp\"/></SIP_HEADERS><SDP_LINES><LINE name=\"m\" value=\"application 1025 tcp MyAppName\"/></SDP_LINES></SIP_CLIENT>";
I am using 1025 for the port number in the opaque_data field.I dont know whats the purpose of this number . Can this be any random number ?. I am using 1025 because the ChipFlip example that works is using the same.

Now, I run the same copy of my app at the same time on two emulators each of which is using a different ip address.
Each copy registers successfully but when I try to send an Invite from one copy to the other I get 415 Unsupported Media Type.
I have noticed the following :
The INVITE header of the ChipFlip example that works is as follows :

[0x0828 11:43:17] SipHandleManagerImpl: 4653128 ProcessUdpEvent: received datagram:
INVITE sip:player2@realm SIP/2.0
Route: <sip:;lr>
Via: SIP/2.0/UDP;branch=z9hG4bKzYHB6md0aBVUr
From: sip:player1@realm;tag=PK3B6tsSnR
To: sip:player2@realm
Supported: 100rel,sec-agree
Contact: sip:player1@
CSeq: 2381 INVITE
s: subject
Max-Forwards: 70
Content-Type: application/sdp
Content-Length: 150
o=player1 3359859197 3359859198 IN IP4
c=IN IP4
t=0 0
m=application 49152 TCP Chipflip
And the INVITE header of my app is as follows :

[0x0e80 11:50:15] SipHandleManagerImpl: 4653128 ProcessUdpEvent: received datagram:
INVITE sip:player2@realm SIP/2.0
Route: <sip:;lr>
Via: SIP/2.0/UDP;branch=z9hG4bKO5ikAWJUBed0h
From: sip:player1@realm;tag=94akANYeUu
To: sip:player2@realm
Contact: sip:player1@
Supported: sec-agree
CSeq: 7770 INVITE
Call-ID: PmSkATvz2-pnuwaFDyaeW2vvPmZUyd
Max-Forwards: 70
Content-Length: 0
As can be clearly seen that in the case of my app after Call-ID field I directly have Max-Forwards and the Content-Length is 0.All,the other fields which can be seen in the INVITE header of ChipFlip are missing.
Why are these fields missing in the case of the INVITE header of my app ? . Do I need to add those fields myself somewhere or do something else ? . If yes, then please tell me how to do that.

Thanks a lot