Re: [OpenSIPS-Devel] One session per account

2016-03-15 Thread Eric Tamme
yes http://www.opensips.org/html/docs/modules/devel/registrar.html#id293748 On 03/15/2016 05:51 AM, Anderson Catao wrote: Hello ! I would like to know if I can limit the number of register per account. I want that one account can just logging in one device. Thanks ! -- View this message

Re: [OpenSIPS-Devel] SIP 302 REDIRECT SERVER

2016-03-09 Thread Eric Tamme
http://www.opensips.org/Documentation/Tutorials-Redirect On 03/09/2016 11:15 AM, acatao wrote: Hello guys !!! I'm trying to configure my opensisps as a redirect server. I have my opensips installed and working well. Now what I need to do is configure my opensips.conf to works as a redirect serve

Re: [OpenSIPS-Devel] [opensips] segfault on startup with latest master eaef57e (#772)

2016-01-26 Thread Eric Tamme
Closed #772. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/772#event-526536096___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] segfault on startup with latest master eaef57e (#772)

2016-01-26 Thread Eric Tamme
Hey Raz, Im actually not 100% sure what happened. I did a git clean -fxd and rebuilt from master and things seem to be working fine, so I can only assume it was not a clean build. Since I can no longer reproduce, I will close the ticket. I was using F_MALLOC. --- Reply to this email direct

[OpenSIPS-Devel] [opensips] segfault on startup with latest master eaef57e (#772)

2016-01-25 Thread Eric Tamme
on commit eaef57e When i try to start opensips it segfaults immediately. here are logs: https://gist.github.com/etamme/224380afca240940c525 here is a core dump, and the executable which generated the core: https://owncloud.uphreak.com/index.php/s/wLFMXfRaRCdE7RG https://owncloud.uphreak.com

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-14 Thread Eric Tamme
Closed #743. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/743#event-515068576___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-14 Thread Eric Tamme
yes - memory is completely stable after several days of usage, i will close the issue. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/743#issuecomment-171668395___ Devel mailing list Devel@lists.opensi

Re: [OpenSIPS-Devel] [opensips] repeated proto_wss error messages in logs (#741)

2016-01-13 Thread Eric Tamme
I am happy to call this closed if you guys are. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/741#issuecomment-171391436___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin

[OpenSIPS-Devel] [opensips] abandoned turn causes processes to sleep forever when handling retransmitted publishes (#754)

2016-01-13 Thread Eric Tamme
This exists on latest master 055f4b1 Scenario: 2 PUBLISHES with the same E-Tag enter https://github.com/OpenSIPS/opensips/blob/master/modules/presence/presentity.c#L546 as a result of a retransmission. The first publish finds the presentity, increments last turn to say 5 for the sake of argu

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-12 Thread Eric Tamme
This definitely seems to help, after 145 connections, all pids are using ~50 bytes where as they were over 150 before - also sending sigusr1 to get memory status shows no ws handshake memory usage https://gist.github.com/etamme/7470c3e677bd2d947089 --- Reply to this email directly or vi

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-12 Thread Eric Tamme
Awesome Raz! I'll do a pull/rebuild and let you know. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/743#issuecomment-170919953___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-11 Thread Eric Tamme
Hey Raz, I repeated my previous test: open few tabs, close them, repeat. but I dumped the statistics, and did a list_tcp_conns between each test. All the tcp conns seem to tear down properly, but pkg memory use does grow over time. As you can see by the connection number in my gist, I had to

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-11 Thread Eric Tamme
I am only using 2 children. I will try to get it to run out of memory again and see how many active connections there are. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/743#issuecomment-170602506__

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-11 Thread Eric Tamme
I recompiled with -DBG_MALLOC as suggested by liviu. I started the proxy, opened a few tabs to register webrtc clients over wss, closed the tabs and repeated the process till the proxy ran out of memory. I then sent sigusr1 signals to all the pids and got the following log output. https://gist

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-08 Thread Eric Tamme
A little more info - the proxy seems to be handling other protocol (UDP) messages without issue. The specific PID is the only one that appears to be having some issues. All UDP traffic is working without issue. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-08 Thread Eric Tamme
Hey Raz, I cought opensips when it ran out of memory again and sent SIGUSR1 to all the PID's to get them to dump memory. Here is the log before the memory dump, showing the out of memory ``` Jan 8 13:52:57 voipphreaker /usr/local/opensips/sbin/opensips[12073]: INFO:core:probe_max_sock_buff: u

Re: [OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-06 Thread Eric Tamme
Hey Raz, I did not add any log output for debugging - this is vanilla master runing at debug 4. I have not tried running with memory debugging - i will compile with that turned on. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/743#issuecomm

Re: [OpenSIPS-Devel] [opensips] failing to loose route sequential requests that are proto wss (#742)

2016-01-05 Thread Eric Tamme
im close on a patch that fixes this, but im having trouble because WS and WSS are the same letters up till the last S. Im not sure how to avoid the transport_fin call for WS as i basically need to look ahead. here is my current diff https://gist.github.com/etamme/953cb286cb73b6a62216 It you unc

Re: [OpenSIPS-Devel] [opensips] failing to loose route sequential requests that are proto wss (#742)

2016-01-05 Thread Eric Tamme
This has been tracked down to parse_uri.c not parsing wss - looking into how to fix it now --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/742#issuecomment-169107047___ Devel mailing list Devel@lists.op

[OpenSIPS-Devel] [opensips] Memory leak/out of memory when using proto_wss (#743)

2016-01-05 Thread Eric Tamme
Running master commit 968a4e004ebf85687f864b885a1ad5dc6632f41a I have 2 UDP clients registered, 1 WSS client registered. Over time ~2 hours opensips fails to accept WSS handshakes and the logs show that it has run out of memory. ``` Jan 5 12:42:26 voipphreaker /usr/local/opensips/sbin/opensip

[OpenSIPS-Devel] [opensips] failing to loose route sequential requests that are proto wss (#742)

2016-01-05 Thread Eric Tamme
On master commit 968a4e004ebf85687f864b885a1ad5dc6632f41a If I place a call from a WSS client to a UDP client, then the UDP client hangs up, opensips will show the following log indicating that it cant identify the protocol. ``` Jan 5 12:35:23 voipphreaker /usr/local/opensips/sbin/opensips[9885

[OpenSIPS-Devel] [opensips] repeated proto_wss error messages in logs (#741)

2016-01-05 Thread Eric Tamme
on master commit 968a4e004ebf85687f864b885a1ad5dc6632f41a I've enabled proto_wss and have a client registered. I see the following proto_wss errors in the logs on a repeating basis - this is at debug 4. https://gist.github.com/etamme/ef1a049ffd50fd67ea6e#file-proto_wss-errors-L25 No immediate

[OpenSIPS-Devel] [opensips] avpops checks for async functions on 1.11 (#738)

2015-12-29 Thread Eric Tamme
Looks like commit 398b029b6766f9d54b6d518f92892a124bfeaceb added a check in avp init that checks for async function calls. https://github.com/OpenSIPS/opensips/commit/398b029b6766f9d54b6d518f92892a124bfeaceb#diff-3aae073954d799e2ed6f034235e1b5deR222 This breaks compilation as async doesnt exist

[OpenSIPS-Devel] Chrome no longer allows insecure GetUserMedia requests

2015-12-04 Thread Eric Tamme
"getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details." This means that you can no longer do any WebRTC work with chrome and OpenSIPS because neither

Re: [OpenSIPS-Devel] [opensips] running out of pkg_mem (#651)

2015-10-19 Thread Eric Tamme
hey @bogdan-iancu I actually have an entirelog from startup to shutdown of this happening - its not very verbose though. basically i set up a cronjob to search the log fork pkg mem warnings - as soon as it detects one it kills opensips and makes a back up of the log, then starts opensips again,

[OpenSIPS-Devel] [opensips] running out of pkg_mem (#651)

2015-09-25 Thread Eric Tamme
running on master commit 72926c21780712fabd00a86dafeb292fde656b28 Every few days my https://github.com/etamme/federated-sip server runs out of pkg_mem. It is a very low traffic box so I definitely think something is leaking some where. I will post logs the next time it happens. --- Reply to

[OpenSIPS-Devel] [opensips] tls parameter errors on master (#640)

2015-09-16 Thread Eric Tamme
gist of log errors https://gist.github.com/etamme/6a5b5b86b6f839a00fc8 on master commit 72926c21780712fabd00a86dafeb292fde656b28 --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/640___ Devel mailing list

Re: [OpenSIPS-Devel] [opensips] proto_ws fails to build on master (#639)

2015-09-16 Thread Eric Tamme
Closed #639. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/639#event-411348990___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] proto_tls fails build on master (#638)

2015-09-16 Thread Eric Tamme
Closed #638. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/638#event-411349285___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] proto_tls fails build on master (#638)

2015-09-16 Thread Eric Tamme
local issue - fixed with git clean -fxd --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/638#issuecomment-140855497___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman

Re: [OpenSIPS-Devel] [opensips] proto_ws fails to build on master (#639)

2015-09-16 Thread Eric Tamme
local issue - fixed with git clean -fxd --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/639#issuecomment-140855376___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman

[OpenSIPS-Devel] [opensips] proto_ws fails to build on master (#639)

2015-09-16 Thread Eric Tamme
gist of the issue https://gist.github.com/etamme/f5feeddc0cbdda98fefb I am on master commit 72926c21780712fabd00a86dafeb292fde656b28 --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/639___ Devel mailing

[OpenSIPS-Devel] [opensips] proto_tls fails build on master (#638)

2015-09-16 Thread Eric Tamme
gist of error: https://gist.github.com/etamme/e6044cdbd3925c3c8ed6 Im on master commit 72926c21780712fabd00a86dafeb292fde656b28 --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/638___ Devel mailing list

[OpenSIPS-Devel] [opensips] sqlite avpdb queries are broken (#625)

2015-08-28 Thread Eric Tamme
master commit: 079de59850d9b9e199c5ff5285ba11600a8d2faf avp_dbquery using sqlite is broken. see the following gist: https://gist.githubusercontent.com/etamme/262ff6c7aa2c4889b2af/raw/7a445ee329784e467623eaa7401cc9537671309b/gistfile1.txt --- Reply to this email directly or view it on GitHub: htt

[OpenSIPS-Devel] [opensips] modules are incorrectly installed to lib instead of lib64 now (#624)

2015-08-28 Thread Eric Tamme
On master commit: 079de59850d9b9e199c5ff5285ba11600a8d2faf doing: make all && make all install on a machine with: # uname -a Linux uphreak.com 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Installs all the modules to /usr/local/lib/opensips/module

Re: [OpenSIPS-Devel] [opensips] RTPEngine SDP Re-Invite Issue (#542)

2015-06-04 Thread Eric Tamme
Do not delete the sesssion. Simply answer/offer again. RTPengine will update the monologues. The session is still the same dialog so don't delete it. I am using RTPengine and have no issues with re-invites. see my my federated SIP server config

[OpenSIPS-Devel] [opensips] do not always retry write to pipe if we get blocking errors (#519)

2015-05-21 Thread Eric Tamme
If you have an rabbitmq event subscription the event_rabbitmq module will shm_alloc rmq events and write pointers of the structs to the pipe. In the event that the node you have connected to goes down, the pipe will start to fill and when it reaches its max capacity (65535 bytes) or approximatel

Re: [OpenSIPS-Devel] [opensips] (discussion only) uri_resolve method build dest uri with SRV support (#483)

2015-05-01 Thread Eric Tamme
I agree with points 1-3, as well as the follow on that it would allow for multiple attempts against weighted SRV records. I am not sure I follow that we need to know the destination protocol/address family before the main request route - I would say that would not be useful as the request could

Re: [OpenSIPS-Devel] [opensips] resolve inet6 records for hosts and prefer them if dns_try_ipv6 is set (#474)

2015-04-22 Thread Eric Tamme
It looks like the commit actually attempts both - ipv4 first, then if ipv6 is enabled do ipv6. I think @bogdan-iancu is right and the logic should be serial as follows: if (ipv6_preferred==true){ do IPV6 lookup if (no IPV6 result){ do IPV4 lookup } } else { do IPV4 lookup i

Re: [OpenSIPS-Devel] [opensips] resolve inet6 records for hosts and prefer them if dns_try_ipv6 is set (#474)

2015-04-22 Thread Eric Tamme
very much looking forward to discussion/merging of this commit :) --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/474#issuecomment-95169149___ Devel mailing list Devel@lists.opensips.org http://lists.opens

Re: [OpenSIPS-Devel] [opensips] ERROR:proto_tls:_tls_read: SYSCALL error -> (0) (#470)

2015-04-20 Thread Eric Tamme
Closed #470. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/470#event-285495192___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [opensips] ERROR:proto_tls:_tls_read: SYSCALL error -> (0) (#470)

2015-04-17 Thread Eric Tamme
Using master from commit 24341a06cd18ed32f4d818729122e154e7db520f I am getting odd error logs from the TLS module. Apr 17 11:04:08 alpha /usr/local/sbin/opensips[18512]: ERROR:proto_tls:_tls_read: SYSCALL error -> (0) Apr 17 11:04:08 alpha /usr/local/sbin/opensips[18512]: ERROR:proto_tls:_tls

Re: [OpenSIPS-Devel] [opensips] db_sqlite errors, and segfaults (#458)

2015-04-16 Thread Eric Tamme
the new refactor has resolved this --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/458#issuecomment-93821777___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listi

Re: [OpenSIPS-Devel] [opensips] db_sqlite errors, and segfaults (#458)

2015-04-16 Thread Eric Tamme
Closed #458. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/458#event-283368597___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] ERROR:db_sqlite:db_sqlite_insert: insert query failed unable to open database file (#466)

2015-04-16 Thread Eric Tamme
I found out that sqlite actually needs the directory to be writeable by the process owner as well as the database file it self. changing permissions on the directory that the db lives in fixes this issue --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips

Re: [OpenSIPS-Devel] [opensips] ERROR:db_sqlite:db_sqlite_insert: insert query failed unable to open database file (#466)

2015-04-16 Thread Eric Tamme
Closed #466. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/466#event-283336625___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [opensips] ERROR:db_sqlite:db_sqlite_insert: insert query failed unable to open database file (#466)

2015-04-16 Thread Eric Tamme
db_sqlite is not able to insert, but it can make select queries. # ls -alh /var/db/opensips -rw-r--r-- 1 opensips opensips 19K Apr 16 13:12 /var/db/opensips full debug trace of usrloc failing to insert contact after successful registration https://gist.githubusercontent.com/etamme/bd7365f77f0e

Re: [OpenSIPS-Devel] [opensips] Incoming TLS request gets outbound proto set to TLS (#452)

2015-04-14 Thread Eric Tamme
resolved by b8c0740a63f80577bff8314b4cf0e17867a1fda4 --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/452#issuecomment-92894990___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi

Re: [OpenSIPS-Devel] [opensips] Incoming TLS request gets outbound proto set to TLS (#452)

2015-04-14 Thread Eric Tamme
Closed #452. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/452#event-281004265___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] Incoming TLS request gets outbound proto set to TLS (#452)

2015-04-09 Thread Eric Tamme
This issue is only occuring when there is a route header, an example route header from on of the UA experiencing the issue is: Route: --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/452#issuecomment-91322883

Re: [OpenSIPS-Devel] [opensips] Added pike mi command for unblocking IP addresses (#456)

2015-04-09 Thread Eric Tamme
This came up when I was doing some rollout to production with pike module. Some actual customers were getting pike blocked, and I wanted to unblock them. Jarrod decided to code it up after we talked about it. We ended up having to put an iptables rule in to drop the customer entirely, then re

Re: [OpenSIPS-Devel] [opensips] Added pike mi command for unblocking IP addresses (#456)

2015-04-09 Thread Eric Tamme
Awesome! --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/456#issuecomment-91231595___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [opensips] db_sqlite segfaults on avb_dbquery 100% of the time (#455)

2015-04-08 Thread Eric Tamme
back trace from core file: https://gist.githubusercontent.com/etamme/f19270e0757a07519af8/raw/022530cc5b1628f668b3e3a6c9f8f67c88b41460/db_sqlite --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/455___ De

Re: [OpenSIPS-Devel] [opensips] 2.x sqlite module errors out: ERROR:db_sqlite:str_strstr: bad parameters (#451)

2015-04-08 Thread Eric Tamme
Closed #451. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/451#event-276287525___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] Incoming TLS request gets outbound proto set to TLS (#452)

2015-04-07 Thread Eric Tamme
I believe this is related to the initial request coming in with a port 5061 on it, even though I strip that by setting $rp=""; Here is a trace from a UA that does not include the port on the initial request line: https://gist.githubusercontent.com/etamme/13ec00e78d585083100f/raw/ad5120e10ce86e6

[OpenSIPS-Devel] [opensips] Incoming TLS request gets outbound proto set to TLS (#452)

2015-04-07 Thread Eric Tamme
I am making an initial request from a TLS UA to a "off network" domain that should simply t_relay per RFC3263. The request has no port, and is not a sips URI so I do not know why it is being assumed that it has a "proto" set. See full debug 4 trace at: https://gist.githubusercontent.com/etamme

Re: [OpenSIPS-Devel] [opensips] 2.x sqlite module errors out: ERROR:db_sqlite:str_strstr: bad parameters (#451)

2015-04-07 Thread Eric Tamme
I looked into this further last night and found that db_sqlite_submit_dummy_query() is never actually being called, and as a result query_holder is never set. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/451#issuecomment-90556766_

Re: [OpenSIPS-Devel] [opensips] 2.x sqlite module errors out: ERROR:db_sqlite:str_strstr: bad parameters (#451)

2015-04-06 Thread Eric Tamme
I added some logs for query_holder and searched_str, it looks like query holder is empty DBG:avpops:ops_dbquery_avps: query [select tran_strip, tran_prefix, tran_user, tran_domain, tran_port, tran_add_header,tran_strip_port from translations where (from_username='eric' or from_username IS NULL

[OpenSIPS-Devel] [opensips] 2.x sqlite module errors out: ERROR:db_sqlite:str_strstr: bad parameters (#451)

2015-04-06 Thread Eric Tamme
Full debug log is available at: https://gist.githubusercontent.com/etamme/b8148792f97746956f12/raw/e7eb57af6b1e6f943c63eddbbc5fbf8113cef783/sqlite%20errors --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/451___

Re: [OpenSIPS-Devel] [opensips] SQLite3 database support - Feature Request (#409)

2015-04-01 Thread Eric Tamme
Is it possible to include the sqlite-pcre stuff with some build flag, that way the REGEX command is exposed. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/409#issuecomment-88625214___ Devel mailing li

[OpenSIPS-Devel] [OpenSIPS/opensips] f1ffe7: fixed flex sub version check for isatty definition...

2015-03-31 Thread Eric Tamme
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: f1ffe775cb49f9c8de2027b925bdbadfdef30a01 https://github.com/OpenSIPS/opensips/commit/f1ffe775cb49f9c8de2027b925bdbadfdef30a01 Author: Eric Tamme Date: 2015-03-31 (Tue, 31 Mar 2015) Changed paths

Re: [OpenSIPS-Devel] [opensips] lex.yy.c missing unistd.h for isatty definition with flex 2.5.37 (#443)

2015-03-30 Thread Eric Tamme
I am on flex version 2.5.37 --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/443#issuecomment-87779024___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/dev

[OpenSIPS-Devel] [opensips] fixed flex sub version check for isatty definition (#444)

2015-03-30 Thread Eric Tamme
It looks like the isatty definition was removed from flex in subversions >=36. This fixes #443 You can view, comment on, or merge this pull request online at: https://github.com/OpenSIPS/opensips/pull/444 -- Commit Summary -- * fixed flex sub version check for isatty definition - isatty wa

[OpenSIPS-Devel] [opensips] lex.yy.c missing unistd.h for isatty definition with flex 2.5.37 (#443)

2015-03-30 Thread Eric Tamme
lex.yy.c is generated without a include for unistd.h, which defines isatty. Compiling lex.yy.c lex.yy.c: In function ‘yy_init_buffer’: lex.yy.c:4154:9: warning: implicit declaration of function ‘isatty’ [-Wimplicit-function-declaration] b->yy_is_interactive = file ? (isat

[OpenSIPS-Devel] [opensips] 2.1 TLS read_fd: no fd read bug (#438)

2015-03-19 Thread Eric Tamme
I set up TLS and registered a single UA via tls. I got the following error. `Mar 19 14:31:53 alpha /usr/local/sbin/opensips[28491]: CRITICAL:core:handle_io: >>> read_fd:no fd read It seems you have hit a programming bug. Please help us make OpenSIPS better by reporting it at https://github.co

[OpenSIPS-Devel] [OpenSIPS/opensips] 25d47d: fix rtpstat for rtpengine - thanks to jarrod for t...

2015-03-18 Thread Eric Tamme
Branch: refs/heads/2.1 Home: https://github.com/OpenSIPS/opensips Commit: 25d47d85e557030fb7391908c35987da74f2447c https://github.com/OpenSIPS/opensips/commit/25d47d85e557030fb7391908c35987da74f2447c Author: Eric Tamme Date: 2015-03-18 (Wed, 18 Mar 2015) Changed paths

[OpenSIPS-Devel] [opensips] fix rtpstat for rtpengine - thanks to jarrod for tracking down the fix (#435)

2015-03-18 Thread Eric Tamme
This resolves #434 You can view, comment on, or merge this pull request online at: https://github.com/OpenSIPS/opensips/pull/435 -- Commit Summary -- * fix rtpstat for rtpengine - thanks to jarrod for tracking down the fix -- File Changes -- M modules/rtpengine/rtpengine.c (28) -- Pat

Re: [OpenSIPS-Devel] [opensips] $rtpstat pvar in rtpengine is empty (#434)

2015-03-18 Thread Eric Tamme
The function calls that populate the rtpstat pvar are not properly set up at the moment. I will work on getting a pull request together with a fix. -Eric On 03/18/2015 11:05 AM, Rob Gagnon wrote: After successful call with rtpengine proxying the RTP, an attempt to log, or insert the value o

Re: [OpenSIPS-Devel] [OpenSIPS/opensips] 522dc7: update opensips.cfg to 2.1

2015-03-13 Thread Eric Tamme
its not disabled On 03/13/2015 07:49 AM, Satish Patel wrote: Just wonder why disable TCP and TLS in 2.1? Or it will be available in future? -- Sent from my iPhone On Mar 13, 2015, at 9:28 AM, Razvan Crainea wrote: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensi

Re: [OpenSIPS-Devel] [opensips] invite from WS client to non-websockets client - no invite sent (#426)

2015-03-12 Thread Eric Tamme
I think this was resolved with some other patch. I can no longer reproduce the problem. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/426#issuecomment-78592096___ Devel mailing list Devel@lists.opens

Re: [OpenSIPS-Devel] [opensips] invite from WS client to non-websockets client - no invite sent (#426)

2015-03-12 Thread Eric Tamme
Closed #426. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/426#event-251217508___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] Allow TCP without transport=tcp header (#420)

2015-03-12 Thread Eric Tamme
@bogdan-iancu instead of a separate function - how about additional parameters/flags to t_relay or forward? t_relay("tcp,udp"); vs. set_transport_reference("tcp,udp"); t_relay(); --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/420#issuecomment

[OpenSIPS-Devel] [opensips] expose the DTLS passive flag to allow for passive relay through rtpengine (#429)

2015-03-12 Thread Eric Tamme
not much else to say really. You can view, comment on, or merge this pull request online at: https://github.com/OpenSIPS/opensips/pull/429 -- Commit Summary -- * expose the DTLS passive flag to allow for passive relay through rtpengine -- File Changes -- M modules/rtpengine/rtpengine.c

Re: [OpenSIPS-Devel] [opensips] usrloc websockets errors on restart (#427)

2015-03-10 Thread Eric Tamme
Closed #427. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/427#event-249443184___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] Blox SBC

2015-03-10 Thread Eric Tamme
... where is the source for this? On 03/10/2015 06:11 AM, Varadhan Work wrote: Hello, I'm Varadhan, We have come up with an idea to build opensource SBC with opensips as core SIP session route, thanks to opensips and its community. Now we have launched beta version of Blox (www.blox.org

[OpenSIPS-Devel] [opensips] usrloc websockets errors on restart (#427)

2015-03-09 Thread Eric Tamme
on restarting opensips I got the following errors in my log. ``` Mar 9 16:54:18 alpha /usr/local/sbin/opensips[24254]: ERROR:usrloc:parse_phostport: bad protocol in ws:104.236.248.128:8080 Mar 9 16:54:18 alpha /usr/local/sbin/opensips[24254]: ERROR:usrloc:dbrow2info: bad socket Mar 9 16:54:1

[OpenSIPS-Devel] [opensips] invite from WS client to non-websockets client - no invite sent (#426)

2015-03-09 Thread Eric Tamme
I am sending an initial invite to opensips from a webrtc user agent, sip.js, to a tcp registered user through opensips. opensips gets the invite from sip.js, sends 100 trying ... then does nothing and eventually the call gets timed out in sip.js. I am pretty sure i got a invite from opensips li

Re: [OpenSIPS-Devel] [opensips] Allow TCP without transport=tcp header (#420)

2015-03-05 Thread Eric Tamme
If there is a preference for UDP, and an SRV lookup is done with no result, I would still want to "fall through" and attempt a TCP SRV lookup. It seems like this SHOULD be the way things work. If there is a parameter to place preference on one protocol vs. the other I would still want the fall

Re: [OpenSIPS-Devel] [opensips] core timer delay warnings on master (#421)

2015-03-05 Thread Eric Tamme
@bogdan-iancu the warnings happen all the time, but I can not see any particular interval to them. I did 'grep timer /var/log/opensips' and made a gist of the last 24 hours https://gist.github.com/etamme/a75198a5590c22bfa574 This box is litereally sitting idle - I have one UA that I am register

[OpenSIPS-Devel] [opensips] core timer delay warnings on master (#421)

2015-03-03 Thread Eric Tamme
running on master commit f3ed4db9903d85cba7d7d491c931b550e29932d1 I am getting repeated logs with the following warning: WARNING:core:handle_timer_job: utimer job has a 10 us delay in execution This is a centos7 kvm using kvm clock. The machine is currently processing no traffic at all.

Re: [OpenSIPS-Devel] [opensips] Allow TCP without transport=tcp header (#420)

2015-03-03 Thread Eric Tamme
I looked into resolve.c sip_resolvehost() https://github.com/OpenSIPS/opensips/blob/master/resolve.c#L1742 Throughout the function the code is consistent about using tls or udp depending on the uri scheme. If there is no naptr record, then the code makes this assumption again, and calls do_srv

Re: [OpenSIPS-Devel] [opensips] RTP Engine transport-protocol bug (#415)

2015-02-18 Thread Eric Tamme
Oops - looks like an oversight on my part. Thanks for catching it, created a merge request with the fix. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/415#issuecomment-74873790___ Devel mailing list

[OpenSIPS-Devel] [opensips] fixed bitmask to cover all 3 bits vs. 1st and 3rd. Thanks to eldonogith... (#416)

2015-02-18 Thread Eric Tamme
fixes issue #415 You can view, comment on, or merge this pull request online at: https://github.com/OpenSIPS/opensips/pull/416 -- Commit Summary -- * fixed bitmask to cover all 3 bits vs. 1st and 3rd. Thanks to eldonogithub. -- File Changes -- M modules/rtpengine/rtpengine.c (2) --

Re: [OpenSIPS-Devel] [opensips] SQLite3 database support - Feature Request (#409)

2015-02-04 Thread Eric Tamme
ok ... good luck On 02/04/2015 08:39 PM, anto wrote: I don't think you are representing the developers of OpenSIPS project. So I will just wait for the answer from them. — Reply to this email directly or view it on GitHub

Re: [OpenSIPS-Devel] [opensips] SQLite3 database support - Feature Request (#409)

2015-02-04 Thread Eric Tamme
You have not answered the question... what are you trying to do, why is sqlite important to you. I answered your initial question - there is no sqlite support, and no plans for it. That said, I am certain opensips can do what you want as it is extremely flexible and capable with its existing

Re: [OpenSIPS-Devel] [opensips] SQLite3 database support - Feature Request (#409)

2015-02-04 Thread Eric Tamme
OpenSips is the best sip proxy that exists, your arbitrary requirement of sqlite is not relevant. Explain why sqlite is important to you, or go away. On 02/04/2015 08:25 PM, anto wrote: Sorry. I don't think you can help in this case, because what I want to is to have a good SIP Proxy with

Re: [OpenSIPS-Devel] [opensips] SQLite3 database support - Feature Request (#409)

2015-02-04 Thread Eric Tamme
A lot of times people think they need to do some thing a certain way. I suggest you say what you want to do, and people will tell you how you can do it, instead of you trying to tell people how you want to do some thing in a system you seem to know little about. I saw your post from several y

Re: [OpenSIPS-Devel] [opensips] SQLite3 database support - Feature Request (#409)

2015-02-04 Thread Eric Tamme
On 02/04/2015 07:49 PM, anto wrote: Is there any plan to natively support SQLite3 database? "native" ... no. By a module, not that I know of, there are many database modules, one of which will likely suit your needs. I have actually already asked the exact same question almost 6 years a

[OpenSIPS-Devel] [opensips] added more rtp transports to match those available in rtpengine (#400)

2014-12-30 Thread Eric Tamme
rtpengine has updated the available rtp transports to match what browsers are expecting/supporting. This patch adds transports to match what is available in rtpengine. You can merge this Pull Request by running: git pull https://github.com/etamme/opensips rtpengine_transport_fix Or you can v

[OpenSIPS-Devel] [opensips] added missing force-relay flag option for ICE (#397)

2014-12-18 Thread Eric Tamme
The parse_flags method was missing the option to specify "force-relay" which is a valid ICE value in the rtpengine ng protocol. Without the force-relay, ice candidates are all written in as host candidates. This change has been tested against rtpengine and it does cause ICE relay candidates to

Re: [OpenSIPS-Devel] Supported RFCs

2014-07-23 Thread Eric Tamme
Many of the RFC's you mention are implemented within user agents, and not by proxies. 3262, and 3581 are implemented by proxy servers, and opensips implements both. All the others are support for specific methods, headers, or timers and would be implemented by the user agents. You can certa

[OpenSIPS-Devel] [opensips] fix for RFC5245 15.1 compliant candidate injection (#264)

2014-07-02 Thread Eric Tamme
and MUST be present for server reflexive, peer, and relay candidates You can merge this Pull Request by running: git pull https://github.com/etamme/opensips mediaproxy-rfc5245fix Or you can view, comment on it, or merge it online at: https://github.com/OpenSIPS/opensi

[OpenSIPS-Devel] tm hash deadlock patch

2013-02-28 Thread Eric Tamme
We found that initial request callbacks are called with a lock on the tm hash row so any callback that generates a new transaction, in our example the pua module, can generate a hash for the new transaction with the same key as the locked row thus creating a deadlock. We modified the code to creat