[SR-Users] lcr.dump_gws problem

Juha Heinanen jh at tutpro.com
Thu Jul 26 09:16:36 CEST 2012


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 at sipwise.com>:

http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=commitdiff;h=d1f44a95f6ca16fcf691981112e97a9dcf5ae26c

http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=commitdiff;h=d1ed60050d9c16b8b1b58559a5a1aea23f640b2d

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



More information about the sr-users mailing list