[Spce-user] UDP packet size

Nikita Stashkov snl at sipmobile.org
Wed Mar 5 03:29:15 EST 2014


Below are two INVITE messages (Bria iPhone). Both calls are to voicemail, so codec is G.711. 
In the first some codecs are disabled and call is ok:

Content-Type: application/sdp'
Content-Length:   568'
'
v=0'
o=- 3602995715 3602995715 IN IP4 192.168.1.101'
s=cpc_med'
c=IN IP4 192.168.1.101'
t=0 0'
m=audio 4000 RTP/AVP 107 110 109 0 8 101'
a=sendrecv'
a=rtpmap:107 SILK/8000'
a=fmtp:107 useinbandfec=1'
a=rtpmap:110 SILK/24000'
a=fmtp:110 useinbandfec=1'
a=rtpmap:109 SILK/16000'
a=fmtp:109 useinbandfec=1'
a=rtpmap:0 PCMU/8000'
a=rtpmap:8 PCMA/8000'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-15'
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:Mhf6ELxto+mV2r5+q4XKBQ8lkSqHF7gUZKhmAfE8'
a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:5H2stDHc3gwMUtCkIxBOISBMjWQKqZV1QFT9BvkC’

The second call with additional codecs fails. 

Content-Type: application/sdp'
Content-Length:   718'
'
v=0'
o=- 3602996206 3602996206 IN IP4 192.168.1.101'
s=cpc_med'
c=IN IP4 192.168.1.101'
t=0 0'
m=audio 4000 RTP/AVP 107 110 109 102 111 9 0 8 101'
a=sendrecv'
a=rtpmap:107 SILK/8000'
a=fmtp:107 useinbandfec=1'
a=rtpmap:110 SILK/24000'
a=fmtp:110 useinbandfec=1'
a=rtpmap:109 SILK/16000'
a=fmtp:109 useinbandfec=1'
a=rtpmap:102 iLBC/8000'
a=fmtp:102 mode=30'
a=rtpmap:111 OPUS/48000'
a=fmtp:111 maxplaybackrate=32000;useinbandfec=1'
a=rtpmap:9 G722/8000'
a=rtpmap:0 PCMU/8000'
a=rtpmap:8 PCMA/8000'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-15'
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:HDLl7ASnTqh7662wIGWnvSADTIi3Y0jkFRtGjG4e'
a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:cXOWyBN0C2aboRbCbghZrtY4b/rr77KXmJZe7r9A’

So the question - what is maximum packet size (or Content-Lengt) for UDP?
While using TLS I have no problems.

Regards,
Nikita Stashkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20140305/c9bb8404/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2459 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20140305/c9bb8404/attachment.p7s>


More information about the Spce-user mailing list