Re: [OpenSIPS-Users] B2BUA, authenticated INVITEs with "ACK for a negative reply"

2016-11-28 Thread Nathan Ward
> On 29/11/2016, at 5:25 AM, Răzvan Crainea wrote: > > Hi, Nathan! > > Have you tried calling b2b_init_request() with the "a" flag [1]? > > [1] http://www.opensips.org/html/docs/modules/2.2.x/b2b_logic.html#id294010 Hi, Yes I have. This passes through the authentication

Re: [OpenSIPS-Users] B2BUA, authenticated INVITEs with "ACK for a negative reply"

2016-11-28 Thread Răzvan Crainea
Hi, Nathan! Have you tried calling b2b_init_request() with the "a" flag [1]? [1] http://www.opensips.org/html/docs/modules/2.2.x/b2b_logic.html#id294010 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/26/2016 06:04 AM, Nathan Ward wrote: Hi all, I am

Re: [OpenSIPS-Users] handle_timer_job delay in execution

2016-11-28 Thread Adrian Fretwell
Hi Razvan, No other users of the mysql, everything looks idle. The machine is quite powerful a Dell PowerEdge Server with Dual Intel Xeon CPUs (12 cores/24 threads) and 32Gb Memory and a three disk RAID 5 array. Here is the parameters from config: children=4 dns=no rev_dns=no # for

Re: [OpenSIPS-Users] handle_timer_job delay in execution

2016-11-28 Thread Răzvan Crainea
Are you doing any DB queries that might take a lot of time? Also, how many children are you using? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/28/2016 03:33 PM, Adrian Fretwell wrote: Hi Razvan, I don't see the error regularly, I think that's what is

Re: [OpenSIPS-Users] handle_timer_job delay in execution

2016-11-28 Thread Adrian Fretwell
Hi Razvan, I don't see the error regularly, I think that's what is making it hard to track down, they just seem to randomly occur. Anyway here is the output of the fifo command, I will check this as soon as I get the next error. tm:received_replies:: 177 tm:relayed_replies:: 111

Re: [OpenSIPS-Users] handle_timer_job delay in execution

2016-11-28 Thread Răzvan Crainea
Hi, Adrian! Are you still seeing those errors, even if there is no traffic? Can you check if you have any hung transactions? Just run: scripts/opensipsctl fifo get_statistics tm: Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/28/2016 12:57 PM, Adrian

Re: [OpenSIPS-Users] Actions that apply to all branches

2016-11-28 Thread Schoolhouse Filing
Hi Razvan, What I found was then if I appended branches then called force_send_socket() only the current branch went out on that interface, the other branches went out on a different interface. It's not a problem I will re-structure my script, I was simply appending branches to create a

[OpenSIPS-Users] handle_timer_job delay in execution

2016-11-28 Thread Adrian Fretwell
Hello, help please. Can anyone give me some direction on how to diagnose what is causing timer job delays in execution? This SIP proxy (2.2.1) has virtually no load, you can see from the timestamps in the log extract and yet there is still a delay. I don't know where to start looking. Nov

Re: [OpenSIPS-Users] Documentation about media relay with OpenSIPS

2016-11-28 Thread Rodrigo Pimenta Carvalho
Hi. Thank all of you. Regards. RODRIGO PIMENTA CARVALHO Inatel Competence Center Software Ph: +55 35 3471 9200 RAMAL 979 De: users-boun...@lists.opensips.org em nome de Bogdan-Andrei Iancu Enviado:

Re: [OpenSIPS-Users] Documentation about media relay with OpenSIPS

2016-11-28 Thread Bogdan-Andrei Iancu
Hi, I also recommend rtpproxy - it is a good and powerful (in terms of capabilities) media engine, even if not capable to handle WS. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 23.11.2016 15:53, Johan De Clercq wrote: I think it's better

Re: [OpenSIPS-Users] Want to create opensips subscriber from restful api or from web application

2016-11-28 Thread Răzvan Crainea
Hi, Vishal! You could insert directly a subscriber in the database, using something like: insert into subscriber (username, domain, password, ha1, ha1b) values ('100', 'opensips.org', 'password', md5(concat(username, ':', domain, ':', password)), md5(concat(username, '@', domain, ':', domain,

Re: [OpenSIPS-Users] Actions that apply to all branches

2016-11-28 Thread Răzvan Crainea
Hi, Adrian! I don't think you will find such a list. Usually the idea is to do the changes that affect all branches in the main route, and if you want to do per-branch changes, do them in the branch_route. Are you sure that force_send_socket() only applies to the main branch? If you call