[OpenSIPS-Users] incompatibility leads to massive CDR loss

2022-05-06 Thread Saint Michael
Dear friends
Kindly look at the file attached. I am losing 10% of my CDR because some
messages cannot be parsed by Opensips
 opensips -V
version: opensips 3.1.9 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC,
F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: 1a71fded7
main.c compiled on 13:37:30 May  2 2022 with gcc 9

I need some paid help generating a patch or fixing this somehow.
I normally have a consultant but he may be tied up with the war and is not
responding.

Yours
Federico
May 06 17:26:11 federico opensips[358436]: May  6 17:26:11 [358436] 
ERROR:core:parse_via: parsed so far:
May 06 17:26:11 federico opensips[358436]: May  6 17:26:11 [358436] 
ERROR:core:get_hdr_field: bad via
May 06 17:26:11 federico opensips[358436]: May  6 17:26:11 [358436] 
ERROR:core:parse_msg: message=;tag=29749fd7
May 06 17:26:11 federico opensips[358436]: t:9990118135950761 
;tag=sbcsipuas_1_C33515_20220506132608132_ucs02sb02
May 06 17:26:11 federico opensips[358436]: 
i:104678NTA3YjljOWZlNzRmNzgyZGYyZTBjZDc4ODMwMWE0ODY
May 06 17:26:11 federico opensips[358436]: m:
May 06 17:26:11 federico opensips[358436]: CSeq: 1 INVITE
May 06 17:26:11 federico opensips[358436]: Allow: 
ACK,BYE,CANCEL,INVITE,OPTIONS,NOTIFY,INFO,UPDATE
May 06 17:26:11 federico opensips[358436]: Server: sbc_5
May 06 17:26:11 federico opensips[358436]: l:0
May 06 17:26:11 federico opensips[358430]: May  6 17:26:11 [358430] 
ERROR:core:receive_msg: Unable to parse msg received from [ZZ.ZZ.ZZ.ZZ:5060]
May 06 17:26:42 federico opensips[358430]: May  6 17:26:42 [358430] 
ERROR:core:parse_via_param: invalid char <=> in state 202
May 06 17:26:42 federico opensips[358430]: May  6 17:26:42 [358430] 
ERROR:core:parse_via_param: parse_via_param
May 06 17:26:42 federico opensips[358430]: May  6 17:26:42 [358430] 
ERROR:core:parse_via:  ;tag=29749fd7
May 06 17:26:42 federico opensips[358430]: t:9990118135950761 
;tag=sbcsipuas_1_C33515_20220506132608132_ucs02sb02
May 06 17:26:42 federico opensips[358430]: 
i:104678NTA3YjljOWZlNzRmNzgyZGYyZTBjZDc4ODMwMWE0ODY
May 06 17:26:42 federico opensips[358430]: Record-Route: 

May 06 17:26:42 federico opensips[358430]: m:
May 06 17:26:42 federico opensips[358430]: CSeq: 1 INVITE
May 06 17:26:42 federico opensips[358430]: Allow: 
ACK,BYE,CANCEL,INVITE,OPTIONS,NOTIFY,INFO,UPDATE
May 06 17:26:42 federico opensips[358430]: Server: sbc_5
May 06 17:26:42 federico opensips[358430]: c:application/sdp
May 06 17:26:42 federico opensips[358430]: l:361
May 06 17:26:42 federico opensips[358430]: 
May 06 17:26:42 federico opensips[358430]: v=0
May 06 17:26:42 federico opensips[358430]: o=SBCSIPUAS 1993104899 1 IN IP4 
206.20.217.23
May 06 17:26:42 federico opensips[358430]: s=SBCSIPUAS SIP STACK v1.0
May 06 17:26:42 federico opensips[358430]: c=IN IP4 206.20.217.23
May 06 17:26:42 federico opensips[358430]: t=0 0
May 06 17:26:42 federico opensips[358430]: m=audio 20556 RTP/AVP 0 101
May 06 17:26:42 federico opensips[358430]: a=rtpmap:0 PCMU/8000
May 06 17:26:42 federico opensips[358430]: a=rtpmap:101 telephone-event/8000
May 06 17:26:42 federico opensips[358430]: 
a=msi:mavodi-0-15b-13f-4--7a3c-5dc6608fbb33e-1168--@127.0.0.1-127.0.0.1&&SBIIRV203LVN01-104
May 06 17:26:42 federico opensips[358430]: a=fmtp:101 0-15
May 06 17:26:42 federico opensips[358430]: a=sendrecv
May 06 17:26:42 federico opensips[358430]: a=rtcp:36607
May 06 17:26:42 federico opensips[358430]: >
May 06 17:26:42 federico opensips[358430]: May  6 17:26:42 [358430] 
ERROR:core:parse_via: parsed so far:
May 06 17:26:42 federico opensips[358430]: May  6 17:26:42 [358430] 
ERROR:core:get_hdr_field: bad via
May 06 17:26:42 federico opensips[358430]: May  6 17:26:42 [358430] 
ERROR:core:parse_msg: message=;tag=29749fd7
May 06 17:26:42 federico opensips[358430]: t:9990118135950761 
;tag=sbcsipuas_1_C33515_20220506132608132_ucs02sb02
May 06 17:26:42 federico opensips[358430]: 
i:104678NTA3YjljOWZlNzRmNzgyZGYyZTBjZDc4ODMwMWE0ODY
May 06 17:26:42 federico opensips[358430]: Record-Route: 

May 06 17:26:42 federico opensips[358430]: m:
May 06 17:26:42 federico opensips[358430]: CSeq: 1 INVITE
May 06 17:26:42 federico opensips[358430]: Allow: 
ACK,BYE,CANCEL,INVITE,OPTIONS,NOTIFY,INFO,UPDATE
May 06 17:26:42 federico opensips[358430]: Server: sbc_5
May 06 17:26:42 federico opensips[358430]: c:application/sdp
May 06 17:26:42 federico opensips[358430]: l:361
May 06 17:26:42 federico opensips[358430]: 
May 06 17:26:42 federico opensips[358430]: v=0
May 06 17:26:42 federico opensips[358430]: o=SBCSIPUAS 1993104899 1 IN IP4 
206.20.217.23
May 06 17:26:42 federico opensips[358430]: s=SBCSIPUAS SIP STACK v1.0
May 06 17:26:42 federico opensips[358430]: c=IN IP4 206.20.217.23
May 06 17:26:42 federico opensips[358430]: t=0 0
May 06 17:26:42 federico opensi

Re: [OpenSIPS-Users] incompatibility leads to massive CDR loss

2022-05-06 Thread Daniel Zanutti
I think this is your problem: branch=z9hG4bK-524287-1---b8aced18b4075aa3
*=49972*

You have char "=" inside a string, which is a reserved character and not
allowed on a string:
https://datatracker.ietf.org/doc/html/rfc3261#section-25.1

Should be something on client of your customer, since you received on 180
ringing, but i'm not sure if you can just solve it. It's violating RFC.


On Fri, May 6, 2022 at 4:42 PM Saint Michael  wrote:

> Dear friends
> Kindly look at the file attached. I am losing 10% of my CDR because some
> messages cannot be parsed by Opensips
>  opensips -V
> version: opensips 3.1.9 (x86_64/linux)
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
> Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll, sigio_rt, select.
> git revision: 1a71fded7
> main.c compiled on 13:37:30 May  2 2022 with gcc 9
>
> I need some paid help generating a patch or fixing this somehow.
> I normally have a consultant but he may be tied up with the war and is not
> responding.
>
> Yours
> Federico
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] incompatibility leads to massive CDR loss

2022-05-06 Thread Saint Michael
Thanks.
It's my carrier. I have already opened a ticket.
Yours
Federico

On Fri, May 6, 2022 at 11:17 PM Daniel Zanutti 
wrote:

> I think this is your problem: branch=z9hG4bK-524287-1---b8aced18b4075aa3
> *=49972*
>
> You have char "=" inside a string, which is a reserved character and not
> allowed on a string:
> https://datatracker.ietf.org/doc/html/rfc3261#section-25.1
>
> Should be something on client of your customer, since you received on 180
> ringing, but i'm not sure if you can just solve it. It's violating RFC.
>
>
> On Fri, May 6, 2022 at 4:42 PM Saint Michael  wrote:
>
>> Dear friends
>> Kindly look at the file attached. I am losing 10% of my CDR because some
>> messages cannot be parsed by Opensips
>>  opensips -V
>> version: opensips 3.1.9 (x86_64/linux)
>> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
>> Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
>> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
>> MAX_URI_SIZE 1024, BUF_SIZE 65535
>> poll method support: poll, epoll, sigio_rt, select.
>> git revision: 1a71fded7
>> main.c compiled on 13:37:30 May  2 2022 with gcc 9
>>
>> I need some paid help generating a patch or fixing this somehow.
>> I normally have a consultant but he may be tied up with the war and is
>> not responding.
>>
>> Yours
>> Federico
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users