[OpenSIPS-Users] Opensips routing

2017-03-06 Thread Denis via Users
Hello! Server:: OpenSIPS (2.2.2 (x86_64/linux)) In the link https://yadi.sk/d/6r2V-d7Y3FBTbV you can find archive with two files:- log of the call;- a part of the cfg file. In the log;1.1.1.1 - caller2.2.2.2 - Opensips3.3.3.3 - callee. The question is, should Opensips, in such situation (have a

Re: [OpenSIPS-Users] Minimum SIP Headers

2017-03-06 Thread Alex Balashov
There are a lot of philosophical questions around whether OpenSIPS is obligated to validate SIP requests to the extent that a UAS would, especially when acting in its normal capacity as a proxy rather than a UAS. By one account, its job is to relay requests, not to enforce rules expressed at the

[OpenSIPS-Users] Minimum SIP Headers

2017-03-06 Thread Annus Fictus
Hello, on section 8.1.1 RFC 3261: " A valid SIP request formulated by a UAC MUST, at a minimum, contain the following header fields: To, From, CSeq, Call-ID, Max-Forwards,and Via;" I'm sending to OpenSIPs a SIP INVITE (with SIPSAK) with these headers: Via, From, To, Call-ID and Cseq

Re: [OpenSIPS-Users] Quest to find memory leak

2017-03-06 Thread John Nash
here is another trace http://pastebin.com/9Ge2NEVQ I see lot of alloc request but no free. On Mon, Mar 6, 2017 at 6:57 PM, John Nash wrote: > Ok will try that. Is it possible that wrong usage of drouting may cause > this to happen instead of actual leak?... What are the

Re: [OpenSIPS-Users] Quest to find memory leak

2017-03-06 Thread John Nash
Ok will try that. Is it possible that wrong usage of drouting may cause this to happen instead of actual leak?... What are the things private memory is used for? On Mon, Mar 6, 2017 at 6:48 PM, Răzvan Crainea wrote: > Hi, John! > > From the dump you sent, I don't see any

Re: [OpenSIPS-Users] t_uac_dlg command through mi_datagram socket gives 400 bad headers

2017-03-06 Thread Husnain Taseer
Hi, I have got hint from ctd.sh script and modified my string as per the string being used in that script for INVITE. After modification I am getting error Content-Type missing. The string is now as follows: message=""":t_uac_dlg: MESSAGE sip:212897645@192.168.1.20 . . "From:

Re: [OpenSIPS-Users] Quest to find memory leak

2017-03-06 Thread Răzvan Crainea
Hi, John! From the dump you sent, I don't see any leaks. Perhaps some of those fragments increase over time. Can you make a memory dump after the server runs some time, like after it gets 100 messages? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 03/06/2017

Re: [OpenSIPS-Users] Quest to find memory leak

2017-03-06 Thread John Nash
Here is the dump http://pastebin.com/DTEHF5Vc On Mon, Mar 6, 2017 at 6:20 PM, Răzvan Crainea wrote: > None of the "actions" you are talking about have big impact on private > memory, but the shared one. Better do the dump and send it over to point > out what is "eating"

Re: [OpenSIPS-Users] Quest to find memory leak

2017-03-06 Thread Răzvan Crainea
None of the "actions" you are talking about have big impact on private memory, but the shared one. Better do the dump and send it over to point out what is "eating" memory. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 03/06/2017 02:39 PM, John Nash wrote:

Re: [OpenSIPS-Users] Quest to find memory leak

2017-03-06 Thread John Nash
with every call attempt it decreases. I tried some changes by rejecting invite before drouting call (That means after auth , dispatcher) and found memory is stable but when drouting sends Invite to external gateway and external gateway rejects it. Then this issue happens. Inuse transactions and

Re: [OpenSIPS-Users] crashing in 2.2.2

2017-03-06 Thread Richard Robson
Hi< I've tested this on the latest 2.2.3 with the same results. http://pastebin.com/Uixb3v8G there were a few of these in the logsd too just before the crash: Mar 5 22:02:27 gl-sip-03 /usr/sbin/opensips[29875]: WARNING:core:utimer_ticker: utimer task already scheduled for 204079170 ms (now

Re: [OpenSIPS-Users] Question regarding rtpengine and websocket connection in opensips-2.2.2

2017-03-06 Thread Sasmita Panda
Example : A (pjsip client )---> Opensips -> B (sipml5) 1. A calls B : working fine . 2. B hold the call : working fine 3. B Resume the call : working fine 4. A hold the call : Not working . While forwarding the call to browser , Opensips is not able to do proper conversion . What should I

[OpenSIPS-Users] Question regarding rtpengine and websocket connection in opensips-2.2.2

2017-03-06 Thread Sasmita Panda
Hi All , I am useing opensips-2.2.2 with rtpengine and proto_ws module . I have followd the bellow doc for doing the configuration . *** http://www.opensips.org/Documentation/Tutorials-WebSocket-2-2 This is working fine in general scenario . But when I am holding the call

Re: [OpenSIPS-Users] Quest to find memory leak

2017-03-06 Thread John Nash
Dear Razvan, Below is the info on my processes Process:: ID=0 PID=17351 Type=attendant Process:: ID=1 PID=17352 Type=MI FIFO Process:: ID=2 PID=17353 Type=MI Datagram Process:: ID=3 PID=17354 Type=time_keeper Process:: ID=4 PID=17355 Type=timer Process:: ID=5 PID=17356 Type=SIP receiver

Re: [OpenSIPS-Users] Quest to find memory leak

2017-03-06 Thread Răzvan Crainea
Hi, John! Transactions are stored in shared memory, not in the private one. So the possible leak you are facing its not related to transactions. During runtime, OpenSIPS might resize some internal structures, which may lead to increase memory usage. However, after a while, these allocations

[OpenSIPS-Users] t_uac_dlg command through mi_datagram socket gives 400 bad headers

2017-03-06 Thread Husnain Taseer
Hi Folks! I am trying to generate a MESSAGE packet using t_uac_dlg command from a management script written in Python. I have tried different combination of argument string but either getting parsing error or 400 bad headers error. The string which I am sending to mi_datagram socket in my Python