[OpenSIPS-Users] FW: problem with hep tracing.

Johan De Clercq Johan at democon.be
Mon Oct 1 09:22:27 EDT 2018


All default.

On Mon, 1 Oct 2018, 07:33 Pasan Meemaduma via Users, <
users at lists.opensips.org> wrote:

> Hi Johan,
>
> Whats your opensips capturer server config looks like ? Are you using the
> default opensips config pack with homer installation ?
>
>
> On Friday, 28 September 2018, 1:41:58 AM GMT+5:30, johan de clercq <
> johan at democon.be> wrote:
>
>
>
>
>
>
> Hi,
>
> Using opensips 2.4,
>
>
>
> I try to send all the sip messages to a homer server (5.0.5).  I made the
> opensips config like this:
>
> #### HEP
>
> loadmodule "proto_hep.so"
>
> modparam("proto_hep", "hep_id","[hep_dst]192.168.0.3:9060; version=2")
>
> ### activate homer5 CSV like format for the payload
>
> modparam("proto_hep", "homer5_on", 1)
>
> ### set the delimiter for the payload
>
> modparam("proto_hep", "homer5_delim", "##")
>
> #### SIPtrace
>
> loadmodule "siptrace.so"
>
> modparam("siptrace", "trace_id", "[hep_id]uri=hep:hep_dst")
>
>
>
>>
> Route
>
> {
>
>>
>     if (is_method("REGISTER"))
>
>     {
>
>         sip_trace("hep_id","t","sip");
>
>         if (!www_authorize("", "subscriber"))
>
>         {
>
>             www_challenge("", "0");
>
>             exit;
>
>         }
>
>
>
>         if (!save("location")){
>
>             sl_reply_error();
>
>             exit;
>
>         }
>
>         exit;
>
>     }
>
>>
>     ##initial INVITE
>
>     if (is_method("INVITE") && !has_totag())
>
>     {
>
>         xlog("callid=$ci: Route[0]: initial INVITE is coming in from A:
> $fU to B: $rU");
>
>         xlog("callid=$ci: Route[0]: let's do accounting first");
>
>         do_accounting("db","cdr");
>
>         sip_trace("hep_id","d","sip");
>
>>
> }
>
>
>
> Opensips sends the packets correctly, see attached file.
>
> Unfortunately, homer keeps complaining ….
>
> Sep 27 18:29:49 ns3019374 homer[22750]: ERROR: <core> [core/lvalue.c:346]:
> lval_pvar_assign(): non existing right pvar
>
> Sep 27 18:29:49 ns3019374 homer[22750]: ERROR: <core> [core/lvalue.c:404]:
> lval_assign(): assignment failed at pos: (1049,30-1049,40)
>
> Sep 27 18:29:49 ns3019374 homer[22750]: ERROR: <script>: ANOTHER HEP CHUNK
> TYPE: ;
>
> Sep 27 18:29:49 ns3019374 homer[22753]: ERROR: <script>: ANOTHER HEP CHUNK
> TYPE: ;
>
> Sep 27 18:29:49 ns3019374 homer[22751]: ERROR: <script>: ANOTHER HEP CHUNK
> TYPE: ;
>
> Sep 27 18:29:49 ns3019374 homer[22752]: ERROR: <script>: ANOTHER HEP CHUNK
> TYPE: ;
>
> Sep 27 18:29:49 ns3019374 homer[22749]: ERROR: <script>: ANOTHER HEP CHUNK
> TYPE: ;
>
> Sep 27 18:29:49 ns3019374 homer[22750]: ERROR: <script>: ANOTHER HEP CHUNK
> TYPE: ;
>
> Sep 27 18:29:49 ns3019374 homer[22753]: ERROR: <script>: ANOTHER HEP CHUNK
> TYPE: ;
>
> Sep 27 18:29:49 ns3019374 homer[22751]: ERROR: <script>: ANOTHER HEP CHUNK
> TYPE: ;
>
> Sep 27 18:29:49 ns3019374 homer[22752]: ERROR: <script>: ANOTHER HEP CHUNK
> TYPE: ;
>
> Sep 27 18:29:49 ns3019374 homer[22750]: ERROR: <script>: ANOTHER HEP CHUNK
> TYPE: ;
>
> Sep 27 18:29:49 ns3019374 homer[22749]: ERROR: db_mysql [km_dbase.c:127]:
> db_mysql_submit_query(): driver error on query: Incorrect string value:
> '\xC4\x1$
>
> Sep 27 18:29:49 ns3019374 homer[22749]: ERROR: <core> [db_query.c:235]:
> db_do_insert_cmd(): error while submitting query
>
> Sep 27 18:29:49 ns3019374 homer[22749]: ERROR: db_mysql [km_dbase.c:127]:
> db_mysql_submit_query(): driver error on query: Incorrect string value:
> '\xC4\x1$
>
> Sep 27 18:29:49 ns3019374 homer[22749]: ERROR: <core> [db_query.c:235]:
> db_do_insert_cmd(): error while submitting query
>
> Sep 27 18:29:49 ns3019374 homer[22749]: ERROR: db_mysql [km_dbase.c:127]:
> db_mysql_submit_query(): driver error on query: Incorrect string value:
> '\xC4\x1$
>
> Sep 27 18:29:49 ns3019374 homer[22749]: ERROR: <core> [db_query.c:235]:
> db_do_insert_cmd(): error while submitting query
>
> Sep 27 18:29:49 ns3019374 homer[22749]: ERROR: db_mysql [km_dbase.c:127]:
> db_mysql_submit_query(): driver error on query: Incorrect string value:
> '\xC4\x1$
>
> Sep 27 18:29:49 ns3019374 homer[22749]: ERROR: <core> [db_query.c:235]:
> db_do_insert_cmd(): error while submitting query
>
> Sep 27 18:29:49 ns3019374 homer[22750]: ERROR: <core> [core/lvalue.c:346]:
> lval_pvar_assign(): non existing right pvar
>
> Sep 27 18:29:49 ns3019374 homer[22750]: ERROR: <core> [core/lvalue.c:404]:
> lval_assign(): assignment failed at pos: (1049,30-1049,40)
>
>
>
> Can somebody please tell me what I am overlooking ?
>
>
>
> I know that this should go to the homer guys, unfortunately their reply
> was “Hi @johandeclercqdemocon <https://github.com/johandeclercqdemocon>
> this would suggest non-HEP packets are entering the circuit ... could be
> keep alives or anything really. Are valid messages captured and displayed
> correctly?”
>
> As I am quite sure that opensips is correct, what could be the problem ?
>
>
>
> [image: cid:F3100D46-F00D-4610-87ED-3E91DA790A82]
>
> Johan De Clercq, Managing Director
> Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke
>
> Tel +3256980990 – GSM +32478720104
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181001/12f34797/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 15602 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20181001/12f34797/attachment-0001.png>


More information about the Users mailing list