Re: [OpenSIPS-Users] Doubts around TLS connection in Opensips-1.11 .

2017-02-01 Thread Sasmita Panda
I got the problem . Thank you so much for the help .

*Thanks & Regards*
*Sasmita Panda*
*Network Testing and Software Engineer*
*3CLogic , ph:07827611765*

On Thu, Feb 2, 2017 at 10:38 AM, Sasmita Panda  wrote:

> There are two RR header . One in UDP and another in TLS .
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
> On Wed, Feb 1, 2017 at 7:19 PM, Bogdan-Andrei Iancu 
> wrote:
>
>> Hi,
>>
>> This sounds like a RR issue - in the outbound INVITE you should see two
>> RR headers - is this the case ?
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>
>> On 02/01/2017 02:00 PM, Sasmita Panda wrote:
>>
>> Hi All ,
>>
>>  I am using openisps-1.11 . I have a proxy in with TLS and UDP
>> connection is opened .
>>
>> A  Proxy -- B
>>   This is my call process .What I wanted to do is I wanted to make
>> one leg UDP connection and 2nd leg TLS connection .
>>
>>   What happening is ,
>>
>> 1st . A sends Invite to Proxy with TLS connection and B is
>> register through UDP so its getting call in UDP connection .
>>
>>  2nd . When B sends Re-Invite ,it reaches Proxy , but Proxy
>> not able to send that to A . Its giving back 477 send fail . In opensips
>> logs I got that its saying " DBG:tm:matching_3261: RFC3261 transaction
>> matching failed " .
>>
>> Why this happening ? Is I am doing something wrong . Isn't it
>> possible to have different connection in both the leg ? If my scenario is
>> possible then what I need to do to fix this ?
>>
>>
>>
>> *Thanks & Regards*
>> *Sasmita Panda*
>> *Network Testing and Software Engineer*
>> *3CLogic , ph:07827611765*
>>
>>
>> ___
>> Users mailing 
>> listUsers@lists.opensips.orghttp://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] [BLOG] SIP-I and SIP with OpenSIPS 2.3

2017-02-01 Thread Johan De Clercq
Congratulations bogdan. This means that opensips can be used as replacement for 
hyper expensive legacy Nortel stuff (ssl - sst ). 

Get Outlook for iOS




On Wed, Feb 1, 2017 at 7:45 PM +0100, "Bogdan-Andrei Iancu" 
 wrote:










Hello all!

The upcoming OpenSIPS 2.3 will provide SIP-I capabilities for ISUP 
inspection and SIP-I to SIP gatewaying.
Check out more information on our blog:

https://blog.opensips.org/2017/02/01/sip-i-and-sip-with-opensips-2-3/

Best regards,

-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


___
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] Doubts around TLS connection in Opensips-1.11 .

2017-02-01 Thread Sasmita Panda
There are two RR header . One in UDP and another in TLS .

*Thanks & Regards*
*Sasmita Panda*
*Network Testing and Software Engineer*
*3CLogic , ph:07827611765*

On Wed, Feb 1, 2017 at 7:19 PM, Bogdan-Andrei Iancu 
wrote:

> Hi,
>
> This sounds like a RR issue - in the outbound INVITE you should see two RR
> headers - is this the case ?
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 02/01/2017 02:00 PM, Sasmita Panda wrote:
>
> Hi All ,
>
>  I am using openisps-1.11 . I have a proxy in with TLS and UDP
> connection is opened .
>
> A  Proxy -- B
>   This is my call process .What I wanted to do is I wanted to make one
> leg UDP connection and 2nd leg TLS connection .
>
>   What happening is ,
>
> 1st . A sends Invite to Proxy with TLS connection and B is
> register through UDP so its getting call in UDP connection .
>
>  2nd . When B sends Re-Invite ,it reaches Proxy , but Proxy
> not able to send that to A . Its giving back 477 send fail . In opensips
> logs I got that its saying " DBG:tm:matching_3261: RFC3261 transaction
> matching failed " .
>
> Why this happening ? Is I am doing something wrong . Isn't it
> possible to have different connection in both the leg ? If my scenario is
> possible then what I need to do to fix this ?
>
>
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
>
> ___
> Users mailing 
> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] iOS 10 Push Notifications

2017-02-01 Thread Андрей Журавлёв
Hi All,

I am pretty new with SIP and OpenSIPS. I have problem that affect most of
the people who should support mobile clients for iOS 10. There must be a
way to solve it, but it looks like I missed it. So I need your help.

Background: As you probably already know in iOS 10 Apple prevented network
connections in background mode. It mostly affected VoIP apps. In order to
solve this issue they introduced so-called VoIP Push notifications (via
PushKit) which should automatically wake-up application and allow it to do
a registration and receive a call.

Btw, the only thing I found capable to send VoIP push notifications without
issus is ruby gem/binary called Houston.

Now everything works fine, except one issue actually, when application
wakes up and do a registration, it obviously missed initial INVITE message
for a call, and it looks like server do not retry invites if no provisional
messages returned from a client.

So the question is it possible to tell OpenSIPS server to re-send INVITE
messages (by some timer probably) if no provisional information received
from a client.

I know there is fr_timer and fr_inv_timer params from tm module, but it
looks like they did not do the trick.

Actually, I have almost default config file, except the parts, required for
push notifications.
I've posted it here: http://pastebin.com/tZmP320g

Yours sincerely,
Andrei Zhuravlev
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] [BLOG] SIP-I and SIP with OpenSIPS 2.3

2017-02-01 Thread Bogdan-Andrei Iancu

Hello all!

The upcoming OpenSIPS 2.3 will provide SIP-I capabilities for ISUP 
inspection and SIP-I to SIP gatewaying.

Check out more information on our blog:

https://blog.opensips.org/2017/02/01/sip-i-and-sip-with-opensips-2-3/

Best regards,

--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Dialog replication problems

2017-02-01 Thread Adrien Martin
Hello,

I backported the commit 00be97f151d254af281c4f05611c1905f51fbcde ("dialog: Fix 
incorrect replicated dialog ids") from git in an Opensips 2.2.2.

opensipsctl fifo dlg_list show the same dialogs on both sides, but after 
fail-over the BYE is not routed (no problem if no fail-over).

My setup use topology_hiding (with dialog), topology_hiding_match returns false.


Debug logs show the dialog is found (eg: DBG:dialog:lookup_dlg: dialog 
id=1590931783 found on entry 2370).

There is difference in logs between a normal call and a fail-over call :

  DBG:dialog:run_dlg_callbacks: dialog=0x7f19bfd60f20, type=32
  DBG:dialog:fix_route_dialog: Fixing message. Next hop is Loose router
  DBG:dialog:fix_route_dialog: Setting new URI to ...

Wich are not present when using a replicated dialog.

"ref dlg" and "unref dlg" logs do not have the same ref in both case (don't 
know if relevant).


The request URI of the BYE has the Opensips in the host part, so the BYE is 
routed locally because the request URI is not rewritten.
Opensips search again the same dialog but does not find it at this moment.

Regards,
-- 
Adrien Martin

On 03/11/2016 11:27, Liviu Chircu wrote:
> Hi, Dawid!
> 
> I have looked into the problem and also managed to come up with a fix! Could 
> you please go to your OpenSIPS 2.2 source code directory, apply the below 
> patch, recompile the dialog module and see if it fixes the problem?
> 
> git apply <(base64 -d < ZGlmZiAtLWdpdCBhL21vZHVsZXMvZGlhbG9nL2RsZ19yZXBsaWNhdGlvbi5jIGIvbW9kdWxlcy9k
> aWFsb2cvZGxnX3JlcGxpY2F0aW9uLmMKaW5kZXggYTg0NTVhZi4uZGE2MmRiNiAxMDA2NDQKLS0t
> IGEvbW9kdWxlcy9kaWFsb2cvZGxnX3JlcGxpY2F0aW9uLmMKKysrIGIvbW9kdWxlcy9kaWFsb2cv
> ZGxnX3JlcGxpY2F0aW9uLmMKQEAgLTE4Miw3ICsxODIsNiBAQCBpbnQgZGxnX3JlcGxpY2F0ZWRf
> Y3JlYXRlKHN0cnVjdCBkbGdfY2VsbCAqY2VsbCwgc3RyICpmdGFnLCBzdHIgKnR0YWcsIGludCBz
> YWZlKQogCWRsZy0+bGVnc19ub1tETEdfTEVHXzIwME9LXSA9IERMR19GSVJTVF9DQUxMRUVfTEVH
> OwogCiAJLyogbGluayB0aGUgZGlhbG9nIGludG8gdGhlIGhhc2ggKi8KLQlkbGctPmhfaWQgPSBk
> X2VudHJ5LT5uZXh0X2lkKys7CiAJaWYgKCFkX2VudHJ5LT5maXJzdCkKIAkJZF9lbnRyeS0+Zmly
> c3QgPSBkX2VudHJ5LT5sYXN0ID0gZGxnOwogCWVsc2Ugewo=
> EOF
> )
> 
> Liviu Chircu
> OpenSIPS Developer
> http://www.opensips-solutions.com



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Doubts around TLS connection in Opensips-1.11 .

2017-02-01 Thread Bogdan-Andrei Iancu

Hi,

This sounds like a RR issue - in the outbound INVITE you should see two 
RR headers - is this the case ?


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02/01/2017 02:00 PM, Sasmita Panda wrote:

Hi All ,

 I am using openisps-1.11 . I have a proxy in with TLS and UDP 
connection is opened .


A  Proxy -- B
  This is my call process .What I wanted to do is I wanted to make 
one leg UDP connection and 2nd leg TLS connection .


  What happening is ,
1st . A sends Invite to Proxy with TLS connection and B is 
register through UDP so its getting call in UDP connection .
 2nd . When B sends Re-Invite ,it reaches Proxy , but 
Proxy not able to send that to A . Its giving back 477 send fail . In 
opensips logs I got that its saying " DBG:tm:matching_3261: RFC3261 
transaction matching failed " .


Why this happening ? Is I am doing something wrong . Isn't it 
possible to have different connection in both the leg ? If my scenario 
is possible then what I need to do to fix this ?



*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/


___
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] Out of sh memory error

2017-02-01 Thread Bogdan-Andrei Iancu

OK, perfect !

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02/01/2017 03:39 PM, sougol gheissi wrote:


Hello,
Thanks, that's right . I changed the config.h and everything is OK now.


On Feb 1, 2017 4:02 PM, "Bogdan-Andrei Iancu" > wrote:


Hi,

According to the statistics output, your OpenSIPS uses 32M of
shared memory (33554432 bytes) and 2M of private memory (2097152
bytes). I guess you are not pushing in a proper way the -m and -M
parameters.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com 

On 01/30/2017 11:28 AM, sougol gheissi wrote:

Hello all,
I have configured an opensips testbed, but when I want to make
load tests on it, I get out of shared memory error. I have
increased the shared memory by
opensips -m 2500 -M 10
but I still get the error message.
I also checked whether it is a leak or not. It was not. (based on
this
http://www.opensips.org/Documentation/TroubleShooting-OutOfMem
)
I also checked the opensipsctl fifo get_statistics all. here is
the log file
I will really appreciate the help.

___
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] ACK for invite with wrong Cseq

2017-02-01 Thread Bogdan-Andrei Iancu

Follow up is here : https://github.com/OpenSIPS/opensips/issues/1034

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02/01/2017 03:13 PM, Schneur Rosenberg wrote:

Done, thanks

On Wed, Feb 1, 2017 at 2:49 PM, Bogdan-Andrei Iancu  wrote:

Hi Schneur,

Indeed, checking the in-dialog pinging code, I found that the pings _may_ be
generated between 200OK and ACK. Could you open a bug request on GITHUT for
this topic ?

Thanks and Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 01/31/2017 01:54 PM, Schneur Rosenberg wrote:

Hi, I'm using OpenSIPS 2.2.2 and I'm using create_dialog with the "Pp"
options, most calls run fine, but I have got complaints about calls
getting disconnected after about 30 seconds, I ran a trace and I
realized that OpenSIPS sent a INVITE with CSeq 601, the called party
picked up after approx 34 seconds and sent a OK with CSeq 601 which
the gateway (Freeswitch in this instance) forwarded to OpenSIPS, but
before OpenSIPS responded with a ACK it sent a ping Options to the
gateway with CSeq 602 and the gateway replied with a OK, and then
OpenSIPS sent the ACK for the INVITE  but used the CSeq of the Options
602 and not from the INVITE,601, therefore the gateway kept on sending
OK's with CSeq 601 which OpenSIPS responded every time with the ACK
but again with the CSeq 602. then after approx 30 seconds the gateway
sent a bye with Reason: SIP;cause=408;text="ACK Timeout"

___
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] Radius acc - wrong Sip-Call-Setuptime

2017-02-01 Thread Dragomir Haralambiev
Hi,

I wait 5 days for answer for my email. Then I post in github.
Sorry to bother you.

Best regards,
Dragomir

2017-02-01 14:12 GMT+02:00 Răzvan Crainea :

> I've replied to your issue on github[1]. Let's keep the conversation on
> that thread.
>
> PS: Please do not post the same issue on different channels, because it is
> hard to follow all of them.
>
> [1] https://github.com/OpenSIPS/opensips/issues/1032
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Solutionswww.opensips-solutions.com
>
> On 01/27/2017 11:10 PM, Dragomir Haralambiev wrote:
>
> Hello,
>
> I try to use OpenSips  2.2 with Radius ACC.
> Radius server receive wrong Sip-Call-Setuptime like this
> Sip-Call-Setuptime = 2938
>
> When use OpenSips 1.10 all is OK.
>
> Where is problem?
>
> Best regards,
> Dragomir
>
>
> ___
> Users mailing 
> listUsers@lists.opensips.orghttp://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


Re: [OpenSIPS-Users] ACK for invite with wrong Cseq

2017-02-01 Thread Bogdan-Andrei Iancu

Hi Schneur,

Indeed, checking the in-dialog pinging code, I found that the pings 
_may_ be generated between 200OK and ACK. Could you open a bug request 
on GITHUT for this topic ?


Thanks and Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 01/31/2017 01:54 PM, Schneur Rosenberg wrote:

Hi, I'm using OpenSIPS 2.2.2 and I'm using create_dialog with the "Pp"
options, most calls run fine, but I have got complaints about calls
getting disconnected after about 30 seconds, I ran a trace and I
realized that OpenSIPS sent a INVITE with CSeq 601, the called party
picked up after approx 34 seconds and sent a OK with CSeq 601 which
the gateway (Freeswitch in this instance) forwarded to OpenSIPS, but
before OpenSIPS responded with a ACK it sent a ping Options to the
gateway with CSeq 602 and the gateway replied with a OK, and then
OpenSIPS sent the ACK for the INVITE  but used the CSeq of the Options
602 and not from the INVITE,601, therefore the gateway kept on sending
OK's with CSeq 601 which OpenSIPS responded every time with the ACK
but again with the CSeq 602. then after approx 30 seconds the gateway
sent a bye with Reason: SIP;cause=408;text="ACK Timeout"

___
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] Out of sh memory error

2017-02-01 Thread Bogdan-Andrei Iancu

Hi,

According to the statistics output, your OpenSIPS uses 32M of shared 
memory (33554432 bytes) and 2M of private memory (2097152 bytes). I 
guess you are not pushing in a proper way the -m and -M parameters.


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 01/30/2017 11:28 AM, sougol gheissi wrote:

Hello all,
I have configured an opensips testbed, but when I want to make load 
tests on it, I get out of shared memory error. I have increased the 
shared memory by

opensips -m 2500 -M 10
but I still get the error message.
I also checked whether it is a leak or not. It was not. (based on this 
http://www.opensips.org/Documentation/TroubleShooting-OutOfMem)


I also checked the opensipsctl fifo get_statistics all. here is the 
log file


I will really appreciate the help.


___
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] rtpengine xmlrpc integration with opensips. Teardown xmlrpc method

2017-02-01 Thread Bogdan-Andrei Iancu

Hi Carlos,

OpenSIPS does not have any "teardown" MI command - this looks like a 
private extension of the rtpengine. Unfortunately, the rtpengine team is 
not so communicative (at least not with our team), so we were not aware 
of this extension.


Of course, we can do the one-way effort to align OpenSIPS to the 
rtpengine (again). Still, if we do this, it will be for OpenSIPS 2.3 - 
new extensions are not backported to the existing stable releases.


Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 01/30/2017 12:05 AM, Carlos Oliva wrote:

Hi List!

I'm using Opensips 1.11 and doing some tests to change my mediaproxy 
rtprelays to ngcp-rtpengine. My reasons to try this change are 
efficiency and that the mediaproxy project seems to be a little 
abandoned by AGProjects (not really abandoned but has no new features 
in years)


After the change I started to see some dialogs in state 3 that ends at 
timeout (6 hours in my config)


I tried to use the RTPTimeout function in rtpengine (in mediaproxy  it 
works very well) to try to end the dialogs which don't have RTP.


To try this I used the rtpengine flags --b2b-url=http://%%:8000/RPC2 
--xmlrpc-format=1 to send Opensips the order to end the related dialog.


It doesn't work. Doing some ngrep at xmlrpc interface seems that 
rtpengine send some commands to opensips RPC interface that Opensips 
does not understand. The command is: "teardown" and the callid, here 
is an example:


POST /RPC2 HTTP/1.1..Host: XXX.XXX.XXX.XXX:8000..Accept: 
*/*..Content-Type: text/xml..User-Agent: Xmlrpc-c/1.33.14 Curl/7.38.0. 
.Content-Length: 204ding="UTF-8"?>teardown822048991-4075...@bjc.bgi.b.ge 



and the opensips response:

HTTP/1.1 200 OK..Connection: Keep-Alive..Content-Length: 
48..Content-Type: text/xml; charset=utf-8..Date: Sun, 29 Jan 2017 
20:31:36 GMTInternal server error!


Obviously OpenSips does not implement this "teardown" method.

My questions are:

Anybody has a good idea of how to deal with this?

Devels: Do you think is a good idea to open a feature request in 
github about this? I'll try to backport to 1.11 later.if you accept 
the request.



Thanks and Regards,

Carlos Oliva



___
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] Radius acc - wrong Sip-Call-Setuptime

2017-02-01 Thread Răzvan Crainea
I've replied to your issue on github[1]. Let's keep the conversation on 
that thread.


PS: Please do not post the same issue on different channels, because it 
is hard to follow all of them.


[1] https://github.com/OpenSIPS/opensips/issues/1032

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 01/27/2017 11:10 PM, Dragomir Haralambiev wrote:

Hello,

I try to use OpenSips  2.2 with Radius ACC.
Radius server receive wrong Sip-Call-Setuptime like this
Sip-Call-Setuptime = 2938

When use OpenSips 1.10 all is OK.

Where is problem?

Best regards,
Dragomir


___
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


[OpenSIPS-Users] Doubts around TLS connection in Opensips-1.11 .

2017-02-01 Thread Sasmita Panda
Hi All ,

 I am using openisps-1.11 . I have a proxy in with TLS and UDP
connection is opened .

A  Proxy -- B
  This is my call process .What I wanted to do is I wanted to make one
leg UDP connection and 2nd leg TLS connection .

  What happening is ,

1st . A sends Invite to Proxy with TLS connection and B is
register through UDP so its getting call in UDP connection .

 2nd . When B sends Re-Invite ,it reaches Proxy , but Proxy not
able to send that to A . Its giving back 477 send fail . In opensips logs I
got that its saying " DBG:tm:matching_3261: RFC3261 transaction matching
failed " .

Why this happening ? Is I am doing something wrong . Isn't it
possible to have different connection in both the leg ? If my scenario is
possible then what I need to do to fix this ?



*Thanks & Regards*
*Sasmita Panda*
*Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Opensips(1.11.5) Crash - " #0 0x00007fcd7223ae2c in vfprintf () from /lib64/libc.so.6"

2017-02-01 Thread Răzvan Crainea

Hi, Ravi!

Are you using async TCP? Also, please update to the latest 1.11.9 
Version to get all the latest bug fixes.


PS: also, please subscribe to the opensips mailing list, otherwise you 
might miss some emails.


Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 01/27/2017 10:14 PM, Ravitez Ravi wrote:

Hi All,
Good Day,
OpenSips(1.11.5) is constantly crashing at " vfprintf ()"
Logs are filled up with the following error message
  2017-01-24T18:14:02.000-05:00 [local2] [err] 
E01Z01.dev.com  /usr/sbin/opensips[4473]: 
ERROR:core:io_watch_del: trying to delete already erased entry 46 in 
the hash(0, 0, (nil)) )
  2017-01-24T18:14:02.000-05:00 [local2] [err] 
E01Z01.dev.com  /usr/sbin/opensips[4473]: 
ERROR:core:tcp_read_req: bad request, state=0, error=2 buf:


We see the following in tcp_connection list :
Connection::  ID=4029 Type=*tcp* 
*State=18446744073709551615* Source=172.29.106.95:5060 
 Destination=172.29.106.10:5060 
 Timeout=2017-01-25 19:35:35 Pending lifetime=0

not sure if its a valid state.
Here's the debug log :
[20758]: DBG:core:tcp_read_req: - received from: port 5060
[20758]: DBG:core:print_ip: - received from: ip *172.29.106.95*
[20758]: DBG:core:io_watch_del: io_watch_del op on index -1 52 
(0x8100e0, 52, -1, 0x10,0x3) fd_no=2 called
[20758]: ERROR:core:io_watch_del: trying to delete already 
erased entry 52 in the hash(0, 0, (nil)) )
[20758]: DBG:core:release_tcpconn:  releasing con 
0x7f543179d700, state -2, fd=52, id=4029

[20758]: DBG:core:release_tcpconn:  extra_data (nil)
[20758]: DBG:core:tcp_read_req: Using the global ( per process 
) buff
[20758]: ERROR:core:tcp_read_req: bad request, state=0, 
error=2 buf


 Please find the attached Stack Trace and logs generated.
 Not sure if this is already address in a different version of 
OpenSips or a know issue,please share your thoughts.

 Thank you for your time.

Attached Log File Contains Following Sections :
Line 1: ## Core 1  Time : 2017-01-24T18:04 ##
Line 174: ## Log Information ##
Line 175: ## Before Crash ##
Line 188: 2017-01-24T18:04:29.000-05:00 [local2] [err] E01Z01.dev.com 
 /usr/sbin/opensips[31607]: 
ERROR:core:tls_shutdown: something wrong in SSL: Crash 


Line 190: ## After Crash ##
Line 215: ## Continuous Errors ##
Line 235: ##   Second Crash ##
Line 249: ##  Core 2  Time : 2017-01-25T09:08 ##
Line 421: # Core 3 Time : 2017-01-25T09:08 #
Line 619: # Core 4 Time : 2017-01-25T09:08 #
Line 820: # Core 5 Time : 2017-01-25T19:35 #
Line 1011: # Additional Logs # --> This section contains TCP 
Connection list and Debug information from Opensips



Regards,
Ravitez.D



___
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


[OpenSIPS-Users] Opensips(1.11.5) Crash - " #0 0x00007fcd7223ae2c in vfprintf () from /lib64/libc.so.6"

2017-02-01 Thread Ravitez Ravi
Hi All,
Good Day,
OpenSips(1.11.5) is constantly crashing at " vfprintf ()"
Logs are filled up with the following error message
  2017-01-24T18:14:02.000-05:00 [local2] [err] E01Z01.dev.com
/usr/sbin/opensips[4473]: ERROR:core:io_watch_del: trying to delete already
erased entry 46 in the hash(0, 0, (nil)) )
  2017-01-24T18:14:02.000-05:00 [local2] [err] E01Z01.dev.com
/usr/sbin/opensips[4473]: ERROR:core:tcp_read_req: bad request, state=0,
error=2 buf:

We see the following in tcp_connection list :
Connection::  ID=4029 Type=*tcp*
*State=18446744073709551615* Source=172.29.106.95:5060 Destination=
172.29.106.10:5060 Timeout=2017-01-25 19:35:35 Pending lifetime=0
not sure if its a valid state.
Here's the debug log :
[20758]: DBG:core:tcp_read_req: - received from: port 5060
[20758]: DBG:core:print_ip: - received from: ip *172.29.106.95*
[20758]: DBG:core:io_watch_del: io_watch_del op on index -1 52
(0x8100e0, 52, -1, 0x10,0x3) fd_no=2 called
[20758]: ERROR:core:io_watch_del: trying to delete already erased
entry 52 in the hash(0, 0, (nil)) )
[20758]: DBG:core:release_tcpconn:  releasing con 0x7f543179d700,
state -2, fd=52, id=4029
[20758]: DBG:core:release_tcpconn:  extra_data (nil)
[20758]: DBG:core:tcp_read_req: Using the global ( per process )
buff
[20758]: ERROR:core:tcp_read_req: bad request, state=0, error=2 buf

 Please find the attached Stack Trace and logs generated.
 Not sure if this is already address in a different version of
OpenSips or a know issue,please share your thoughts.
 Thank you for your time.

Attached Log File Contains Following Sections :
Line 1: ## Core 1  Time : 2017-01-24T18:04 ##
Line 174: ## Log Information ##
Line 175: ## Before Crash ##
Line 188: 2017-01-24T18:04:29.000-05:00 [local2] [err] E01Z01.dev.com
/usr/sbin/opensips[31607]: ERROR:core:tls_shutdown: something wrong in SSL:
    Crash 
Line 190: ## After Crash ##
Line 215: ## Continuous Errors ##
Line 235: ##   Second Crash ##
Line 249: ##  Core 2  Time : 2017-01-25T09:08 ##
Line 421: # Core 3 Time : 2017-01-25T09:08 #
Line 619: # Core 4 Time : 2017-01-25T09:08 #
Line 820: # Core 5 Time : 2017-01-25T19:35 #
Line 1011: # Additional Logs # --> This section contains TCP
Connection list and Debug information from Opensips


Regards,
Ravitez.D
## Core 1  Time : 2017-01-24T18:04 ##
gdb /usr/sbin/opensips core.31643
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/sbin/opensips...done.

warning: core file may not match specified executable file.
[New Thread 31643]
Missing separate debuginfo for /usr/lib64/opensips/modules/signaling.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install 
/usr/lib/debug/.build-id/a5/6fe5f3fb5f5a5945cd0fd8384403a1610ac723
Missing separate debuginfo for /usr/lib64/opensips/modules/sl.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install 
/usr/lib/debug/.build-id/a0/3aa3c43c41ef6b5a3443edee6b57557f99e95f
Missing separate debuginfo for /usr/lib64/opensips/modules/tm.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install 
/usr/lib/debug/.build-id/86/ec031a2c632fc2c1c2ebc807d134588c879e8f
Missing separate debuginfo for /usr/lib64/opensips/modules/rr.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install 
/usr/lib/debug/.build-id/f9/5a55b1e8ec652178bbf56f1de12a130f2d3fc2
Missing separate debuginfo for /usr/lib64/opensips/modules/maxfwd.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install 
/usr/lib/debug/.build-id/3c/bcedbe5e2cb56ce0232c168ce10d01549154e9
Missing separate debuginfo for /usr/lib64/opensips/modules/sipmsgops.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install 
/usr/lib/debug/.build-id/68/3d8e3c5d0e47bb4e69df2e47f62b8a6c2b02e1
Missing separate debuginfo for /usr/lib64/opensips/modules/mi_fifo.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install 
/usr/lib/debug/.build-id/25/0c6e832f8702623763334c66d80701abd2f757
Missing separate debuginfo for /usr/lib64/opensips/modules/uri.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install 
/usr/lib/debug/.build-id/6c/8c7108c432cb039e548473b9c190265cb21c3c
Missing separate debuginfo for /usr/lib64/opensips/modules/usrloc.so
Try: yum --disablerepo='*' --enablerepo='*-debug*' install