[OpenSIPS-Users] Help with sip trace errors please

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Dec 10 08:52:36 CET 2009


Hi Brian,

Cool....Thanks. This will be part of the new release on the 1.6 branch.

Thanks for report and testing,
Bogdan

opensipslist at encambio.com wrote:
> Hello Bogdan,
>
> On wed., dec 09, 2009, Bogdan-Andrei Iancu wrote:
>   
>> Field 0 is the "msg" field (used as DB_BLOB by siptrace) should be
>> "STR" to work, but I already see it is set at string in your table
>> definition... so I looked for a bug and found one in the db_text
>> module - if you update from SVN, it should be ok.
>>
>>     
> That is great news, but sadly I might have been able to find and
> correct the problem myself if the variable naming was not so cryptic.
>
> But thanks to you indeed, the problem is solved. I've tested your
> revision 6382:
>
> Index: modules/db_text/dbt_lib.c
> diff -Nau modules/db_text/dbt_lib.c.orig modules/db_text/dbt_lib.c
> --- modules/db_text/dbt_lib.c.orig  2009-10-16 02:35:15.000000000 +0200
> +++ modules/db_text/dbt_lib.c   2009-12-09 18:14:52.707887067 +0100
> @@ -446,7 +446,7 @@
>             if(_t0==DB_STRING || _t0==DB_BLOB)
>                 return 0;
>         case DB_BLOB:
> -           if(_t0==DB_STR)
> +           if(_t0==DB_STR || _t0==DB_STRING)
>                 return 0;
>         case DB_BITMAP:
>             if (_t0==DB_INT)
>
> ...and it works.
>
> Regards,
> Brian
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list