[SR-Users] lcr.dump_gws problem

Andrew Pogrebennyk apogrebennyk at sipwise.com
Tue Jul 24 21:55:34 CEST 2012


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
> 



More information about the sr-users mailing list