[sr-dev] [kamailio/kamailio] rtpengine: really do allow unsigned setid (#999)
zxcpoiu
notifications at github.com
Wed Feb 22 06:33:57 CET 2017
just want to share my use case if anyone has similar purpose:
I was using `mediaproxy` module and have own load balancing/failover outside of `kamailio`.
the id for media server was `ip address string` which will be put into `media_relay_avp`.
so for the uniqueness, I just need to convert `ip address string` into `unsigned int` as media server id to issue command to.
`int` variable only supports ip address that the first field is less than `127`
use `unsigned int` can easily convert ip string/int back and forth while keeping uniqueness.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/999#issuecomment-281574129
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170221/bf3a378c/attachment.html>
More information about the sr-dev
mailing list