[Users] choosing transport according to message size

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed May 10 23:59:34 CEST 2006


Hi,

no, there is no way to figure out the size of the outgoing package. The 
only automatic protocol selection is via NSPTR records (if the target 
has such records) - please see the SIP location for this.

also you can choose the proto via the script.

regards,
bogdan

JF wrote:

> Hi all,
>
> Is there any function in openser that selects the transport protocol
> (TCP or UDP) according to the message size? E.g. if the message going
> out is bigger than MTU, use TCP... or does the script writer have to
> take this into account every time a relaying function is called?
> Also, in this second case, is the actual outgoing message size
> available in the script (i.e. after lumps are applied)?
>
> Thanks in advance,
>
> JF
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>





More information about the Users mailing list