Kamailio 3.2.0
When testing Kamailio 3.2.0, I notice that lcr.dump_gws command does not display ip_addr correctly. Here is my output: lcr_id: 3 gw_id: 15 gw_index: 2 gw_name: gateway_1 scheme: sip ip_addr: 1273060816.0.0.0 hostname: port: 5060 params: strip: 0 prefix: tag: flags: 0 defunct_until: 0
LCR is still working correctly. It just does not display IP in the right form. Does any body also has the same problem?
Gary
Sorry, it should be Kamailio 3.3.0 not 3.2.0.
From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Gary Chen Sent: Tuesday, July 24, 2012 3:39 PM To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Subject: [SR-Users] lcr.dump_gws problem
Kamailio 3.2.0
When testing Kamailio 3.2.0, I notice that lcr.dump_gws command does not display ip_addr correctly. Here is my output: lcr_id: 3 gw_id: 15 gw_index: 2 gw_name: gateway_1 scheme: sip ip_addr: 1273060816.0.0.0 hostname: port: 5060 params: strip: 0 prefix: tag: flags: 0 defunct_until: 0
LCR is still working correctly. It just does not display IP in the right form. Does any body also has the same problem?
Gary
Gary Chen writes:
When testing Kamailio 3.2.0 (corrected 3.3.0), I notice that lcr.dump_gws command does not display ip_addr correctly. Here is my output: lcr_id: 3 gw_id: 15 gw_index: 2 gw_name: gateway_1 scheme: sip ip_addr: 1273060816.0.0.0 hostname: port: 5060 params: strip: 0 prefix: tag: flags: 0 defunct_until: 0
looks like printing of ipv4 got broken as result of these two commits by Richard Fuchs rfuchs@sipwise.com:
http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=commitdiff;h=d1f...
http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=commitdiff;h=d1e...
printing of ip4v addresses worked fine it worked in 3.2.0. also, printing of NULL gw address is broken.
since the commits made non-trivial changes to ip address handling, perhaps richard can check what has happened. the only thing i can do is to revert the ipv6 patches.
-- juha
Hi Gary,
It was fixed already by Richard in 3.3 branch: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=28be1654... (and master)
Thank you for the report.
On 07/24/2012 09:44 PM, Gary Chen wrote:
Sorry, it should be Kamailio 3.3.0 not 3.2.0.
*From:*sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] *On Behalf Of *Gary Chen *Sent:* Tuesday, July 24, 2012 3:39 PM *To:* SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List *Subject:* [SR-Users] lcr.dump_gws problem
Kamailio 3.2.0
When testing Kamailio 3.2.0, I notice that lcr.dump_gws command does not display ip_addr correctly. Here is my output:
lcr_id: 3 gw_id: 15 gw_index: 2 gw_name: gateway_1 scheme: sip ip_addr: 1273060816.0.0.0 hostname: port: 5060 params: strip: 0 prefix: tag: flags: 0 defunct_until: 0
LCR is still working correctly. It just does not display IP in the right form. Does any body also has the same problem?
Gary
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi Gary, Yes, that's an old/known issue. You can convert the IP to common format with a simple command: perl -MSocket -le 'print inet_ntoa(pack("N", 1273060816))' Maybe somebody from the kamailio team will take time to fix this.
On 07/24/2012 09:39 PM, Gary Chen wrote:
Kamailio 3.2.0
When testing Kamailio 3.2.0, I notice that lcr.dump_gws command does not display ip_addr correctly. Here is my output:
lcr_id: 3 gw_id: 15 gw_index: 2 gw_name: gateway_1 scheme: sip ip_addr: 1273060816.0.0.0 hostname: port: 5060 params: strip: 0 prefix: tag: flags: 0 defunct_until: 0
LCR is still working correctly. It just does not display IP in the right form. Does any body also has the same problem?
Gary