[SR-Users] RPC uac.reg_info returns empty when filter contains large number of characters

Dan Christian Bogos danb.lists at gmail.com
Sat Nov 1 11:36:32 CET 2014


Guys,

I have found that uac.reg_info does not properly filter the records in 
case of l_uuid being too large (works fine with small number of characters).

Here is the concrete example:

"""
root at Dev2:/home/dan# kamcmd -s tcp:127.0.0.1:2046 uac.reg_info 
l_username 8944538525001446036
root at Dev2:/home/dan# kamcmd -s tcp:127.0.0.1:2046 uac.reg_info l_uuid 
8944538525001446036
root at Dev2:/home/dan# kamcmd -s tcp:127.0.0.1:2046 uac.reg_info 
auth_username 301
{
     l_uuid: 8944538525001446036
     l_username: 8944538525001446036
     l_domain: 172.16.254.75
     r_username: 301
     r_domain: pbx.example.com
     realm: asterisk
     auth_username: 301
     auth_password: check123
     auth_proxy: sip:172.16.254.75
     expires: 360
     flags: 12
     diff_expires: 120
     timer_expires: 1414838083
}
root at Dev2:/home/dan# kamcmd -s tcp:127.0.0.1:2046 uac.reg_info 
r_username 301
{
     l_uuid: 8944538525001446036
     l_username: 8944538525001446036
     l_domain: 172.16.254.75
     r_username: 301
     r_domain: pbx.example.com
     realm: asterisk
     auth_username: 301
     auth_password: check123
     auth_proxy: sip:172.16.254.75
     expires: 360
     flags: 0
     diff_expires: 211
     timer_expires: 1414838323
}
"""

Thanks in advance for any kind of tip!

DanB



More information about the sr-users mailing list