[OpenSIPS-Users] mediaproxy KBIn and KBOut

Saúl Ibarra Corretgé saul at ag-projects.com
Mon Apr 18 09:43:09 CEST 2011


On 04/15/2011 02:42 PM, Dani Popa wrote:
> Hi,
>
> Mediaproxy radius request does not populate Kbin and Kbout. Also i tried
> to see sessions on port 25061 and also there callee_bytes and
> caller_bytes are 0.
>
> opensips:~# telnet localhost 25061
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> sessions
> []
> sessions
> [{"from_tag": "2a476a89", "start_time": 1302867244.13, "call_id":
> "f2c9ca5f8ffe0e5ea422b57d7b93aa28 at 0:0:0:0:0:0:0:0", "duration": 5,
> "streams": [{"status": "active", "caller_codec": "G711u",
> "post_dial_delay": 3.43099498749, "callee_codec": "G711u",
> "caller_bytes": 0, "start_time": 0, "callee_packets": 0, "callee_bytes":
> 0, "caller_packets": 0, "callee_remote": "192.5.32.12:8152", "end_time":
> 5, "caller_remote": "189.8.7.161:5105", "media_type": "audio",
> "callee_local": "167.14.19.35:50010", "timeout_wait": 0, "caller_local":
> "167.14.19.35:50008"}], "to_tag":
> "a94c095b773be1dd6e8d668a785a9c8498c8c4db", "to_uri":
> "called at domain.org", "caller_ua":
> "Jitsi1.0-beta1-nightly.build.3408Linux", "callee_ua": "Cisco",
> "from_uri": "caller at domain.org"}]
>
>
> [{"from_tag": "2a476a89", "start_time": 1302867244.13, "call_id":
> "f2c9ca5f8ffe0e5ea422b57d7b93aa28 at 0:0:0:0:0:0:0:0", "duration": 11,
> "streams": [{"status": "active", "caller_codec": "G711u",
> "post_dial_delay": 3.43099498749, "callee_codec": "G711u",
> "caller_bytes": 0, "start_time": 0, "callee_packets": 0, "callee_bytes":
> 0, "caller_packets": 0, "callee_remote": "192.5.32.12:8152", "end_time":
> 11, "caller_remote": "189.8.7.161:5105", "media_type": "audio",
> "callee_local": "167.14.19.35:50010", "timeout_wait": 0, "caller_local":
> "167.14.19.35:50008"}], "to_tag":
> "a94c095b773be1dd6e8d668a785a9c8498c8c4db", "to_uri":
> "called at domain.org", "caller_ua":
> "Jitsi1.0-beta1-nightly.build.3408Linux", "callee_ua": "Cisco",
> "from_uri": "caller at domain.org"}]
>
>
>
> Can someone give me a hint ?
>
> Thanks,
> Dani
>

Hi Dani,

What versions of the software are you using? KBIn and KBOut were renamed 
quite some time ago. CDRTool will render Acct-Input-Octets and 
Acct-Output-Octets fields, which are populated by MediaProxy using the 
caller_bytes and callee_bytes attributes which you can see on the 
statistics.

I just ran a quick test and it works here. Do the calls on the trace you 
pasted have audio at all?


Regards,

-- 
Saúl Ibarra Corretgé
AG Projects



More information about the Users mailing list