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
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to