Hi all,
        There was a discussion on the list regarding a Sip Message with a
large Message Body, quite some time ago. The problem was how to send the sip
message if total length of the sip message exceeds the MTU. One solution
provided on the list was to use TCP instead of UDP or any other protocol
which has restriction on the size of the packet. Obviously this is not a
solution but a mere work around.
        I have something in my mind, maybe its a foolish idea but i'd like to
have your views on it.
        If the sip message to be sent is larger than the mtu provided by the
lower layer packet, We can fragment the packet into a number of packets and
send it across. We fragment the message in the following way. 

 o Each packet will be within the mtu specefied. 

 o All the existing headers will be contained in the first packet. The
Content-  Length will keep the total length of the Message Body, not just the
length of message body in the first packet. 

 o A new header (Message-ID, say) will be in the first packet representing
some random string (just like call-id). 

 o Each subsequent packet will contain only two headers (other than the
request/response line) and the message body. they will be
        o Message-ID which will be same as that in the first packet.
        o Message Sequence (Message-Seq, say) which will identify the
sequence of the           particular packet.


 o The receiving side recieves all the packets, concatenates all the
message-body's according to the sequence, checks with the Content-Length
header of the first packet to see if it has received all the packets..

This idea must be really stupid, but i was thinking of solutions for sending
sip message whose total length exceeds MTU. With Sip proposing to send all
kinds sounds, icons, config-files (cpl scripts etc..) in the message-body of
SIP, the size of the sip-message is definetly going to exceed MTU.

Looking forward for your suggestions,
 
With Best Regards,
Mayank Sharma
 
Software Engineer,
Mindtree Consulting Pvt. Ltd.

BEGIN:VCARD
VERSION:2.1
N:Sharma;Mayank
FN:Mayank Sharma
ORG:MindTree Consulting;Technology Practice
TITLE:Software Engineer
TEL;WORK;VOICE:91-80-6528333
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;"MindTree House" # 88 Gandhi Bazar Main Road,=0D=0ABasavangudi;Bangalore;K=
arnataka;560 004;India
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:"MindTree House" # 88 Gandhi Bazar Main Road,=0D=0ABasavangudi=0D=0ABangalor=
e, Karnataka 560 004=0D=0AIndia
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20000927T074739Z
END:VCARD

Reply via email to