Re: [reSIProcate-users] SIP messages limits for UDP in reSIProcate
I had the same problem and also solved it by only enabling TCP, but this
is actually a bad solution because RFC3261 clearly states:
"All SIP elements MUST implement UDP and TCP. SIP elements MAY implement
other protocols."
I don't really see the reasoning behind imposing this requirement on all
user agents, but this is not the right place to question such things :)
So I would also be very happy to see the transport being dynamically
selected based on the message size.
Best regards,
Gabriel
Am 23.12.2015 um 20:52 schrieb Scott Godin:
> There is nothing in the stack today to automatically switch from UDP to
> TCP based on the message size. The application would need to be
> responsible for that. You may want to consider just enabling TCP only.
>
> Sounds like a feature to consider for a future release. :)
>
> Scott
>
> On Wed, Dec 23, 2015 at 2:37 PM, Julio Cesar Esteves Cabezas
> <jcabezas@xxxxxxxxxxxxx <mailto:jcabezas@xxxxxxxxxxxxx>> wrote:
>
> Hi,____
>
> __ __
>
> I noticed in my UA application that the dum/resiprocate stack is
> sending and receiving UDP packets well above the 1300 bytes limit
> recommended in RFC3261. (e.g. 5000 bytes)____
>
> ____
>
> I think that allowing SIP over UDP above 1300 bytes is an useful
> behaviour in some scenarios (despite RFC3261) but undesirable in
> others. ____
>
> ____
>
> Suppose I have activated both UDP and TCP transports in an
> UserAgentMasterProfile.____
>
> Is there any configuration to select the behaviour between
> "allow any UDP datagram size" and "switch automatically to TCP when
> sending SIP message above 1300 bytes" ?____
>
> ____
>
> I am using reSIProcate 1.8.14 in Windows 7.____
>
> __ __
>
> ____
>
> Best Regards,____
>
> Julio.____
>
> __ __
>
>
> _______________________________________________
> resiprocate-users mailing list
> resiprocate-users@xxxxxxxxxxxxxxx
> <mailto:resiprocate-users@xxxxxxxxxxxxxxx>
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/
>
>
>
>
> _______________________________________________
> resiprocate-users mailing list
> resiprocate-users@xxxxxxxxxxxxxxx
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/
>