Discussion:
[SR-Users] Homer's kamailio config + enabling siptrace module
Ján Füri
2016-11-09 14:09:15 UTC
Permalink
Hi guys,

I'm using captagent on my all kamalios and freeswitches to capture and
send sip to homer server. That works very well.

But I would like to enable, on homer's kamailio, the module SipTrace
(http://www.kamailio.org/docs/modules/4.4.x/modules/siptrace.html) and
save captured data into mysql as well.
I already set it up using this mysql structure :
http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html#idp1279328

Almost everything works except the column "DIRECTION". Each row is saved
as "IN" direction.

Do you guys think that can be solved ? If so, can you pleas direct me
HOW ...

Thx
Jan F.
Daniel-Constantin Mierla
2016-11-10 09:23:46 UTC
Permalink
Hello,

siptrace table is completely unrelated to homer. It is the initial
version of saving sip traffic in a database.

Are you using only sip_trace() function or do you set the sip trace flag
as well?

Cheers,
Daniel
Post by Ján Füri
Hi guys,
I'm using captagent on my all kamalios and freeswitches to capture and
send sip to homer server. That works very well.
But I would like to enable, on homer's kamailio, the module SipTrace
(http://www.kamailio.org/docs/modules/4.4.x/modules/siptrace.html) and
save captured data into mysql as well.
http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html#idp1279328
Almost everything works except the column "DIRECTION". Each row is
saved as "IN" direction.
Do you guys think that can be solved ? If so, can you pleas direct me
HOW ...
Thx
Jan F.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
Ján Füri
2016-11-10 09:41:07 UTC
Permalink
I have set only sip_trace() without FLAG

JF
Post by Daniel-Constantin Mierla
Hello,
siptrace table is completely unrelated to homer. It is the initial
version of saving sip traffic in a database.
Are you using only sip_trace() function or do you set the sip trace flag
as well?
Cheers,
Daniel
Post by Ján Füri
Hi guys,
I'm using captagent on my all kamalios and freeswitches to capture and
send sip to homer server. That works very well.
But I would like to enable, on homer's kamailio, the module SipTrace
(http://www.kamailio.org/docs/modules/4.4.x/modules/siptrace.html) and
save captured data into mysql as well.
http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html#idp1279328
Almost everything works except the column "DIRECTION". Each row is
saved as "IN" direction.
Do you guys think that can be solved ? If so, can you pleas direct me
HOW ...
Thx
Jan F.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Daniel-Constantin Mierla
2016-11-11 13:15:23 UTC
Permalink
Post by Ján Füri
I have set only sip_trace() without FLAG
Can you try setting also the sip trace flag? That should reveal if there
is an issue in the code, if you don't see any OUT record. Be sure you
use tm module for relaying, so the sending callbacks are available to
siptrace.

Cheers,
Daniel
Post by Ján Füri
JF
Post by Daniel-Constantin Mierla
Hello,
siptrace table is completely unrelated to homer. It is the initial
version of saving sip traffic in a database.
Are you using only sip_trace() function or do you set the sip trace flag
as well?
Cheers,
Daniel
Post by Ján Füri
Hi guys,
I'm using captagent on my all kamalios and freeswitches to capture and
send sip to homer server. That works very well.
But I would like to enable, on homer's kamailio, the module SipTrace
(http://www.kamailio.org/docs/modules/4.4.x/modules/siptrace.html) and
save captured data into mysql as well.
http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html#idp1279328
Almost everything works except the column "DIRECTION". Each row is
saved as "IN" direction.
Do you guys think that can be solved ? If so, can you pleas direct me
HOW ...
Thx
Jan F.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
Loading...