[OpenSIPS-Users] Help with sip trace errors please

opensipslist at encambio.com opensipslist at encambio.com
Tue Dec 8 23:24:59 CET 2009


Hello List,

In my config file I have:

    debug=20
    loadmodule "siptrace.so"
    modparam("siptrace", "db_url", "text:///pfx/var/opensips/db")
    modparam("siptrace", "trace_on", 1)
    modparam("siptrace", "trace_flag", 22)
    modparam("siptrace", "table", "sip_trace")
    modparam("siptrace", "enable_ack_trace", 0)

    route {
        sip_trace();
        setflag(22);
        setbflag(22);

In my /pfx/var/opensips/db/sip_trace I have:

    id(int,auto) time_stamp(int) callid(string) traced_user(string) msg(string) method(string) status(string) fromip(string) toip(string) fromtag(string) direction(string)

...and I see in the log:

    Dec 08 23:04:06 name.host.tld <debug> opensips[14400]: DBG:core:_shm_resize: resize(0) called 
    Dec 08 23:04:06 name.host.tld <debug> opensips[14400]: DBG:tm:relay_reply: sent buf=832dbd8: SIP/2.0 2..., shmem=ceb574d0: SIP/2.0 2
    Dec 08 23:04:06 name.host.tld <debug> opensips[14400]: DBG:tm:run_trans_callbacks: trans=ceb55540, callback type 256, id 2 entered
    Dec 08 23:04:06 name.host.tld <debug> opensips[14400]: DBG:siptrace:trace_onreply_out: dest [udp:80.190.139.22:5080]
    Dec 08 23:04:06 name.host.tld <debug> opensips[14400]: DBG:siptrace:trace_onreply_out: storing info...
    Dec 08 23:04:06 name.host.tld <debug> opensips[14400]: DBG:db_text:dbt_db_get_table: cache or mtime succeeded for [sip_trace]

** Here! ** Dec 08 23:04:06 name.host.tld <error> opensips[14400]: ERROR:db_text:dbt_insert: incompatible types v[0] - c[4]!

    Dec 08 23:04:06 name.host.tld <error> opensips[14400]: ERROR:siptrace:trace_onreply_out: error storing trace
    Dec 08 23:04:06 name.host.tld <debug> opensips[14400]: DBG:tm:cleanup_uac_timers: RETR/FR timers reset
    Dec 08 23:04:06 name.host.tld <debug> opensips[14400]: DBG:tm:t_unref: UNREF_UNSAFE: after is 0
    Dec 08 23:04:06 name.host.tld <debug> opensips[14400]: DBG:core:destroy_avp_list: destroying list 0
    Dec 08 23:04:06 name.host.tld <debug> opensips[14400]: DBG:core:receive_msg: cleaning up

I'm using OpenSIPS 1.6.0 with TLS on Solaris x86 11 (nv-b91). Is the
sip trace module being maintained any more, or at least in working
condition with dbtext? Any idea what I'm doing wrong?

Thanks,
Brian



More information about the Users mailing list