Re: [OpenSIPS-Users] R: Issues running opensips with load balancer.

2017-05-24 Thread Prasad, Goutham
Please see the attached requested conf file. Thanks in advance!

Goutham P Madhava
Group Lead • Voice Applications
777, Commerce Dr., Fairfield, CT 06825
T  +1 203 339 7830 • M +1 203 683 8760 • E goutham.pra...@ipc.com
Follow us on twitter: @ipc_Systems_Inc • Website: 
www.ipc.com
[cid:image001.jpg@01D2D4AC.DFEA3FA0]

From: Users [mailto:users-boun...@lists.opensips.org] On Behalf Of 
Bogdan-Andrei Iancu
Sent: Monday, May 22, 2017 12:26 PM
To: Ravitez Ravi; OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] R: Issues running opensips with load balancer.

Hello Ravi,

Please send me the Makefile.conf file you have.

Best regards,


Bogdan-Andrei Iancu

  OpenSIPS Founder and Developer

  http://www.opensips-solutions.com



OpenSIPS Summit May 2017 Amsterdam

  http://www.opensips.org/events/Summit-2017Amsterdam.html
On 05/22/2017 05:51 PM, Ravitez Ravi wrote:
Hello Bogdan,
Good Day,
Here's what we get when using the default 
configuration(flags,modules)


Vote IPC in the 2017 Waters Technology Awards. Winners are decided by those 
most important to us - our customers! Please vote for us (#28, #29) by link 
https://www.surveymonkey.com/r/MTXQFZF




DISCLAIMER: This e-mail may contain information that is confidential, 
privileged or otherwise protected from disclosure. 
If you are not an intended recipient of this e-mail, do not duplicate or 
redistribute it by any means. 
Please delete it and any attachments and notify the sender that you have 
received it in error. 
Unintended recipients are prohibited from taking action on the basis of 
information in this e-mail. 
E-mail messages may contain computer viruses or other defects, may not be 
accurately replicated on other systems, or may be intercepted, 
deleted or interfered with without the knowledge of the sender or the intended 
recipient. 
If you are not comfortable with the risks associated with e-mail messages, 
you may decide not to use e-mail to communicate with IPC. IPC reserves the 
right, 
to the extent and under circumstances permitted by applicable law, 
to retain, monitor and intercept e-mail messages to and from its systems.


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


Re: [OpenSIPS-Users] WEBRTC - Bad Request/Body

2017-05-24 Thread Liviu Chircu

http://www.opensips.org/html/docs/modules/2.4.x/sipmsgops.html#idp5377744

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 24.05.2017 22:29, Dragomir Haralambiev wrote:

sipmsg_validate error: -13

2017-05-24 22:09 GMT+03:00 Liviu Chircu >:


Can you do an xlog("sipmsg_validate error: $rc\n") in the error
block, please?

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com 

On 24.05.2017 22:00, Dragomir Haralambiev wrote:

if (!sipmsg_validate("shr")) {
send_reply("400", "Bad Request/Body");
exit;
};

2017-05-24 21:46 GMT+03:00 Liviu Chircu >:

Are you using sipmsg_validate()? If yes, note that it can
also receive an additional parameter, holding the error
reason, which would be very helpful if printed.

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com


On 24.05.2017 19:15, Dragomir Haralambiev wrote:

In Opensips log I not see any errors.


On May 24, 2017 10:37, "Răzvan Crainea" > wrote:

Hi, Dragomir!

This doesn't help us at all. Can you check the OpenSIPS
logs for any errors?

Best regards,

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


On 05/23/2017 09:39 PM, Dragomir Haralambiev wrote:

Hello,

After update from Opensips 2.2.3 to 2.2.4 I have follow
problem with WebRTC (sip.js):
When WebRTC send CANCEL Opensips return  SIP/2.0 400
Bad Request/Body.

Here is WebSocket log:

Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight Time) |
sip.transport | sending WebSocket message:

CANCEL sip:3287423512@ SIP/2.0
Via: SIP/2.0/WSS 192.0.2.16;branch=z9hG4bK8296649
To: 
From: "Tester"
;tag=6mmehombk4
Call-ID: ncgujo0cn2a6neb0hguj
CSeq: 9374 CANCEL
Content-Length: 0



sip-0.7.7.js:2900 Tue May 23 2017 21:10:47 GMT+0300
(FLE Daylight Time) | sip.transport | received
WebSocket text message:

SIP/2.0 400 Bad Request/Body
Via: SIP/2.0/WSS
192.0.2.16;received=;branch=z9hG4bK8296649
To:

;tag=1fdc427fd21267a1733a000b01d225fc.005b
From: "Tester"
;tag=6mmehombk4
Call-ID: ncgujo0cn2a6neb0hguj
CSeq: 9374 CANCEL
Server: SIP Proxy
Content-Length: 0


___
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




___
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





___
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] WEBRTC - Bad Request/Body

2017-05-24 Thread Dragomir Haralambiev
sipmsg_validate error: -13

2017-05-24 22:09 GMT+03:00 Liviu Chircu :

> Can you do an xlog("sipmsg_validate error: $rc\n") in the error block,
> please?
>
> Liviu Chircu
> OpenSIPS Developerhttp://www.opensips-solutions.com
>
> On 24.05.2017 22:00, Dragomir Haralambiev wrote:
>
> if (!sipmsg_validate("shr")) {
> send_reply("400", "Bad Request/Body");
> exit;
> };
>
> 2017-05-24 21:46 GMT+03:00 Liviu Chircu :
>
>> Are you using sipmsg_validate()? If yes, note that it can also receive an
>> additional parameter, holding the error reason, which would be very helpful
>> if printed.
>>
>> Liviu Chircu
>> OpenSIPS Developerhttp://www.opensips-solutions.com
>>
>> On 24.05.2017 19:15, Dragomir Haralambiev wrote:
>>
>> In Opensips log I not see any errors.
>>
>>
>> On May 24, 2017 10:37, "Răzvan Crainea"  wrote:
>>
>>> Hi, Dragomir!
>>>
>>> This doesn't help us at all. Can you check the OpenSIPS logs for any
>>> errors?
>>>
>>> Best regards,
>>>
>>> Răzvan Crainea
>>> OpenSIPS Solutionswww.opensips-solutions.com
>>>
>>> On 05/23/2017 09:39 PM, Dragomir Haralambiev wrote:
>>>
>>> Hello,
>>>
>>> After update from Opensips 2.2.3 to 2.2.4 I have follow problem with
>>> WebRTC (sip.js):
>>> When WebRTC send CANCEL Opensips return  SIP/2.0 400 Bad Request/Body.
>>>
>>> Here is WebSocket log:
>>>
>>> Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight Time) | sip.transport |
>>> sending WebSocket message:
>>>
>>> CANCEL sip:3287423512@ SIP/2.0
>>> Via: SIP/2.0/WSS 192.0.2.16;branch=z9hG4bK8296649
>>> To: 
>>> From: "Tester" ;tag=6mmehombk4
>>> Call-ID: ncgujo0cn2a6neb0hguj
>>> CSeq: 9374 CANCEL
>>> Content-Length: 0
>>>
>>>
>>>
>>> sip-0.7.7.js:2900 Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight Time)
>>> | sip.transport | received WebSocket text message:
>>>
>>> SIP/2.0 400 Bad Request/Body
>>> Via: SIP/2.0/WSS 192.0.2.16;received=;branch=z9hG4bK8296649
>>> To: ;tag=1fdc427fd21267a1733a000b0
>>> 1d225fc.005b
>>> From: "Tester" ;tag=6mmehombk4
>>> Call-ID: ncgujo0cn2a6neb0hguj
>>> CSeq: 9374 CANCEL
>>> Server: SIP Proxy
>>> Content-Length: 0
>>>
>>>
>>> ___
>>> 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 
>> 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 
> 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] WEBRTC - Bad Request/Body

2017-05-24 Thread Liviu Chircu
Can you do an xlog("sipmsg_validate error: $rc\n") in the error block, 
please?


Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 24.05.2017 22:00, Dragomir Haralambiev wrote:

if (!sipmsg_validate("shr")) {
send_reply("400", "Bad Request/Body");
exit;
};

2017-05-24 21:46 GMT+03:00 Liviu Chircu >:


Are you using sipmsg_validate()? If yes, note that it can also
receive an additional parameter, holding the error reason, which
would be very helpful if printed.

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com 

On 24.05.2017 19:15, Dragomir Haralambiev wrote:

In Opensips log I not see any errors.


On May 24, 2017 10:37, "Răzvan Crainea" > wrote:

Hi, Dragomir!

This doesn't help us at all. Can you check the OpenSIPS logs
for any errors?

Best regards,

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

On 05/23/2017 09:39 PM, Dragomir Haralambiev wrote:

Hello,

After update from Opensips 2.2.3 to 2.2.4 I have follow
problem with WebRTC (sip.js):
When WebRTC send CANCEL Opensips return  SIP/2.0 400 Bad
Request/Body.

Here is WebSocket log:

Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight Time) |
sip.transport | sending WebSocket message:

CANCEL sip:3287423512@ SIP/2.0
Via: SIP/2.0/WSS 192.0.2.16;branch=z9hG4bK8296649
To: 
From: "Tester" ;tag=6mmehombk4
Call-ID: ncgujo0cn2a6neb0hguj
CSeq: 9374 CANCEL
Content-Length: 0



sip-0.7.7.js:2900 Tue May 23 2017 21:10:47 GMT+0300 (FLE
Daylight Time) | sip.transport | received WebSocket text
message:

SIP/2.0 400 Bad Request/Body
Via: SIP/2.0/WSS
192.0.2.16;received=;branch=z9hG4bK8296649
To:
;tag=1fdc427fd21267a1733a000b01d225fc.005b
From: "Tester" ;tag=6mmehombk4
Call-ID: ncgujo0cn2a6neb0hguj
CSeq: 9374 CANCEL
Server: SIP Proxy
Content-Length: 0


___
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




___
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


Re: [OpenSIPS-Users] WEBRTC - Bad Request/Body

2017-05-24 Thread Dragomir Haralambiev
 if (!sipmsg_validate("shr")) {
send_reply("400", "Bad Request/Body");
exit;
};

2017-05-24 21:46 GMT+03:00 Liviu Chircu :

> Are you using sipmsg_validate()? If yes, note that it can also receive an
> additional parameter, holding the error reason, which would be very helpful
> if printed.
>
> Liviu Chircu
> OpenSIPS Developerhttp://www.opensips-solutions.com
>
> On 24.05.2017 19:15, Dragomir Haralambiev wrote:
>
> In Opensips log I not see any errors.
>
>
> On May 24, 2017 10:37, "Răzvan Crainea"  wrote:
>
>> Hi, Dragomir!
>>
>> This doesn't help us at all. Can you check the OpenSIPS logs for any
>> errors?
>>
>> Best regards,
>>
>> Răzvan Crainea
>> OpenSIPS Solutionswww.opensips-solutions.com
>>
>> On 05/23/2017 09:39 PM, Dragomir Haralambiev wrote:
>>
>> Hello,
>>
>> After update from Opensips 2.2.3 to 2.2.4 I have follow problem with
>> WebRTC (sip.js):
>> When WebRTC send CANCEL Opensips return  SIP/2.0 400 Bad Request/Body.
>>
>> Here is WebSocket log:
>>
>> Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight Time) | sip.transport |
>> sending WebSocket message:
>>
>> CANCEL sip:3287423512@ SIP/2.0
>> Via: SIP/2.0/WSS 192.0.2.16;branch=z9hG4bK8296649
>> To: 
>> From: "Tester" ;tag=6mmehombk4
>> Call-ID: ncgujo0cn2a6neb0hguj
>> CSeq: 9374 CANCEL
>> Content-Length: 0
>>
>>
>>
>> sip-0.7.7.js:2900 Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight Time) |
>> sip.transport | received WebSocket text message:
>>
>> SIP/2.0 400 Bad Request/Body
>> Via: SIP/2.0/WSS 192.0.2.16;received=;branch=z9hG4bK8296649
>> To: ;tag=1fdc427fd21267a1733a000b0
>> 1d225fc.005b
>> From: "Tester" ;tag=6mmehombk4
>> Call-ID: ncgujo0cn2a6neb0hguj
>> CSeq: 9374 CANCEL
>> Server: SIP Proxy
>> Content-Length: 0
>>
>>
>> ___
>> 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 
> 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] WEBRTC - Bad Request/Body

2017-05-24 Thread Liviu Chircu
Are you using sipmsg_validate()? If yes, note that it can also receive 
an additional parameter, holding the error reason, which would be very 
helpful if printed.


Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 24.05.2017 19:15, Dragomir Haralambiev wrote:

In Opensips log I not see any errors.


On May 24, 2017 10:37, "Răzvan Crainea" > wrote:


Hi, Dragomir!

This doesn't help us at all. Can you check the OpenSIPS logs for
any errors?

Best regards,

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

On 05/23/2017 09:39 PM, Dragomir Haralambiev wrote:

Hello,

After update from Opensips 2.2.3 to 2.2.4 I have follow problem
with WebRTC (sip.js):
When WebRTC send CANCEL Opensips return  SIP/2.0 400 Bad
Request/Body.

Here is WebSocket log:

Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight Time) |
sip.transport | sending WebSocket message:

CANCEL sip:3287423512@ SIP/2.0
Via: SIP/2.0/WSS 192.0.2.16;branch=z9hG4bK8296649
To: 
From: "Tester" ;tag=6mmehombk4
Call-ID: ncgujo0cn2a6neb0hguj
CSeq: 9374 CANCEL
Content-Length: 0



sip-0.7.7.js:2900 Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight
Time) | sip.transport | received WebSocket text message:

SIP/2.0 400 Bad Request/Body
Via: SIP/2.0/WSS
192.0.2.16;received=;branch=z9hG4bK8296649
To:
;tag=1fdc427fd21267a1733a000b01d225fc.005b
From: "Tester" ;tag=6mmehombk4
Call-ID: ncgujo0cn2a6neb0hguj
CSeq: 9374 CANCEL
Server: SIP Proxy
Content-Length: 0


___
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


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


Re: [OpenSIPS-Users] WEBRTC - Bad Request/Body

2017-05-24 Thread Dragomir Haralambiev
In Opensips log I not see any errors.


On May 24, 2017 10:37, "Răzvan Crainea"  wrote:

> Hi, Dragomir!
>
> This doesn't help us at all. Can you check the OpenSIPS logs for any
> errors?
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Solutionswww.opensips-solutions.com
>
> On 05/23/2017 09:39 PM, Dragomir Haralambiev wrote:
>
> Hello,
>
> After update from Opensips 2.2.3 to 2.2.4 I have follow problem with
> WebRTC (sip.js):
> When WebRTC send CANCEL Opensips return  SIP/2.0 400 Bad Request/Body.
>
> Here is WebSocket log:
>
> Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight Time) | sip.transport |
> sending WebSocket message:
>
> CANCEL sip:3287423512@ SIP/2.0
> Via: SIP/2.0/WSS 192.0.2.16;branch=z9hG4bK8296649
> To: 
> From: "Tester" ;tag=6mmehombk4
> Call-ID: ncgujo0cn2a6neb0hguj
> CSeq: 9374 CANCEL
> Content-Length: 0
>
>
>
> sip-0.7.7.js:2900 Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight Time) |
> sip.transport | received WebSocket text message:
>
> SIP/2.0 400 Bad Request/Body
> Via: SIP/2.0/WSS 192.0.2.16;received=;branch=z9hG4bK8296649
> To: ;tag=1fdc427fd21267a1733a000b0
> 1d225fc.005b
> From: "Tester" ;tag=6mmehombk4
> Call-ID: ncgujo0cn2a6neb0hguj
> CSeq: 9374 CANCEL
> Server: SIP Proxy
> Content-Length: 0
>
>
> ___
> 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] OpenSIPS Rate Limit module - set limit lower than 1 per second

2017-05-24 Thread Aknin, Liran via Users
Hi Bogdan,

Thanks for answering our other question.
Can you please help us also with this one?

thanks,
Liran

On Mon, May 22, 2017 at 12:22 PM, Aknin, Liran 
wrote:

> Hi,
>
> We see in the Rate Limit module documentation that the *limit* parameter
> for the *rl_check* function is an integer and should be specified as
> per-second, not per-timer_interval.
>
> Is there a way to set the limit to a lower value than 1 per second, e.g
> "10 times per minute"?
>
> Thanks and regards,
> Liran
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] WEBRTC - Bad Request/Body

2017-05-24 Thread Răzvan Crainea

Hi, Dragomir!

This doesn't help us at all. Can you check the OpenSIPS logs for any errors?

Best regards,

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

On 05/23/2017 09:39 PM, Dragomir Haralambiev wrote:

Hello,

After update from Opensips 2.2.3 to 2.2.4 I have follow problem with 
WebRTC (sip.js):

When WebRTC send CANCEL Opensips return  SIP/2.0 400 Bad Request/Body.

Here is WebSocket log:

Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight Time) | sip.transport 
| sending WebSocket message:


CANCEL sip:3287423512@ SIP/2.0
Via: SIP/2.0/WSS 192.0.2.16;branch=z9hG4bK8296649
To: 
From: "Tester" ;tag=6mmehombk4
Call-ID: ncgujo0cn2a6neb0hguj
CSeq: 9374 CANCEL
Content-Length: 0



sip-0.7.7.js:2900 Tue May 23 2017 21:10:47 GMT+0300 (FLE Daylight 
Time) | sip.transport | received WebSocket text message:


SIP/2.0 400 Bad Request/Body
Via: SIP/2.0/WSS 192.0.2.16;received=;branch=z9hG4bK8296649
To: 
;tag=1fdc427fd21267a1733a000b01d225fc.005b

From: "Tester" ;tag=6mmehombk4
Call-ID: ncgujo0cn2a6neb0hguj
CSeq: 9374 CANCEL
Server: SIP Proxy
Content-Length: 0


___
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