Hi,

Is there a way to calculate a SIP PDU Message Size?


In wireshark, I am able to see total Bytes sent over the wire and I can only 
see the Content-Length of a SDP message in Application layer


How do i calculate the PDU for SIP for a INVITE message like this?



INVITE sip:C1@122.166.57.88:5060 SIP/2.0
Via:SIP/2.0/UDP 
64.215.212.60;branch=z9hG4bK-BroadWorks.as1-122.166.57.88V5060-0-602827015-633237880-1253188620813-
From:"1st 
user1"<sip:5...@as.iop2.broadworks.net;user=phone>;tag=633237880-1253188620813-
To:"3rd ont3"<sip:c...@as.iop2.broadworks.net>
Call-ID:BW075700813170909-268484223@64.215.212.60
CSeq:602827015 INVITE
Contact:<sip:as.iop2.broadworks.net>
Supported:100rel
Allow:ACK,BYE,CANCEL,INVITE,OPTIONS,PRACK,REFER,NOTIFY,UPDATE,INFO
Accept:application/sdp,multipart/mixed
Max-Forwards:70
Content-Type:application/sdp
Content-Length:194

v=0
o=BroadWorks 197190 1 IN IP4 64.215.212.60
s=-
c=IN IP4 64.215.212.60
t=0 0
m=audio 5004 RTP/AVP 0 97
a=sendrecv
a=rtpmap:0 PCMU/8000/1
a=rtpmap:97 telephone-event/8000
a=ptime:10


Please let me know of some ideas


Thanks

Harshith
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to