[OpenSIPS-Users] Opensips TLS

2015-08-21 Thread Matt Hamilton
We are using Opensips as a dispatcher to Asterisk servers. The call flow for incoming calls to UAC is below (outbound is reversed). telco -> opensips1 -> asterisk -> opensips1 -> UAC (SIP phones) We are at the planning stages of implementing TLS. Asterisk (1.8.x), Opensips (1.7.1 TLS) and th

Re: [OpenSIPS-Users] is it possible to drop non-provisional reply?

2015-08-21 Thread Peter Lemenkov
Thanks for the tip! It seems that you're reading my mind - because that's exactly what's needed! 2015-08-21 19:02 GMT+03:00 Bogdan-Andrei Iancu : > Hi Peter, > > Well, you do not want to drop the reply, but to replace it guess, right ? > > If so, you can use a failure route and do: > > failure_rou

Re: [OpenSIPS-Users] fifo t_uac_dlg syntax

2015-08-21 Thread Ralf_Neumann_hgw
Yes, it works until the character <=> because it does not contains the <"> The body should looks like... -Ursprüngliche Nachricht- Von: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] Im Auftrag von Bogdan-Andrei Iancu Gesendet: Freitag, 21. August 2015 16:36

Re: [OpenSIPS-Users] 408 Request Timeout with UDP

2015-08-21 Thread Nabeel
The log doesn't show any errors when the Timeout occurs, it only shows this: opensips[1842]: ACC: call missed: > timestamp=1440174643;method=INVITE;from_tag=z9hG4bK04147190;to_tag=;call_id= > 424618310389@10.137.181.237;code=408;reason=Request Timeout > This seems to occur sporadically; some cal

Re: [OpenSIPS-Users] 408 Request Timeout with UDP

2015-08-21 Thread Nabeel
Sorry to bring this up again, but I still get the 408 Request Timeout on some calls. Isn't there just a way to increase the request timeout limit? Here is the trace: http://pastebin.com/jvCPGYDu There is even an ACK in the trace after the request timeout message, but the call doesn't connect.

Re: [OpenSIPS-Users] is it possible to drop non-provisional reply?

2015-08-21 Thread Bogdan-Andrei Iancu
Hi Peter, Well, you do not want to drop the reply, but to replace it guess, right ? If so, you can use a failure route and do: failure_route[bla] { if (t_check_status([3][0-9][0-9]) { t_reply("404","Not found"); exit; } } This will replace all 3xx you get with a 404 Not

[OpenSIPS-Users] is it possible to drop non-provisional reply?

2015-08-21 Thread Peter Lemenkov
Hello All! Sorry for the dumb question. I'm aware that it's possible to drop provisional replies using drop() in onreply_route. Is there a way to drop non-provisional ones? I'm trying to block some 3xx and 4xx replies completely. I could do it with my custom B2BUA but maybe OpenSIPS could do this

Re: [OpenSIPS-Users] fifo t_uac_dlg syntax

2015-08-21 Thread Bogdan-Andrei Iancu
Ralf, You have a trailing <"> at the end of the command: try /usr/local/opensips_proxy/sbin/opensipsctl fifo t_uac_dlg NOTIFY "sip:3003@193.144.1.112" . . "\"From: sip:3001@192.180.1.107\r\nTo: sip:3003@193.144.1.112\r\nContent-Type: application/simservs+xml\r\n"\" ' Instead of: /usr/local/o

Re: [OpenSIPS-Users] fifo t_uac_dlg syntax

2015-08-21 Thread Ralf Neumann
/usr/local/opensips_proxy/sbin/opensipsctl fifo t_uac_dlg NOTIFY "sip:3003@193.144.1.112" . . "\"From: sip:3001@192.180.1.107\r\nTo: sip:3003@193.144.1.112\r\nContent-Type: application/simservs+xml\r\n"\" ' An: "OpenSIPS users mailling list" , ralf_neumann_...@web.de Betreff: Re: [OpenSIPS-Users

Re: [OpenSIPS-Users] opensips1.11 dr_routing

2015-08-21 Thread Bogdan-Andrei Iancu
Denis, Sowhat you want to do is to be able to serial and parallel (combined) having carriers as elements in the list (and not GWs). With the solution I gave you cannot do it as you cannot usecarriers in the definition of another carrier(when doing the parallel group), right ? Regards, Bogd

Re: [OpenSIPS-Users] opensips1.11 dr_routing

2015-08-21 Thread dpa
No, Bogdan, everything fine. You wright understand my question. I wanted "do a combination between serial and parallel selection" but method you suggest doesn`t fit to me. The main reason I have many providers and using carrier for "sharing" doesn`t convenient, because I must have all possible co

Re: [OpenSIPS-Users] opensips1.11 dr_routing

2015-08-21 Thread Bogdan-Andrei Iancu
Denis, I had the impression that I haven't managed to answer to your question. Maybe because I do not fully understand the question. Could you detail why the solutionI gave doesnot fit you? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 21.0

Re: [OpenSIPS-Users] extension status monitoring

2015-08-21 Thread Julian Kay
Just a quick thank you for the great points on extension status monitoring. JK From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of SamyGo Sent: Monday, August 17, 2015 11:58 AM To: Bogdan-Andrei Iancu Cc: OpenSIPS users mailling list Subject: Re:

Re: [OpenSIPS-Users] opensips1.11 dr_routing

2015-08-21 Thread dpa
Hello Bogdan! I understand and I thought about it before. But it doesn`t fit to me, because I have many prefix which can "sharing" different carriers. Anyway, thank you for help. From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Friday, August 21, 2015 3:29 PM To: OpenSIPS u

Re: [OpenSIPS-Users] opensips1.11 dr_routing

2015-08-21 Thread Bogdan-Andrei Iancu
Hi Denis, If you use weights alg and the GW has no weight, a 0 weight will be assumed, so it will never match (unless after a failover). Using weights, the selection is over all the GW in the set. If you want do a combination between serial and parallel selection , you need to use carriers:

Re: [OpenSIPS-Users] fifo t_uac_dlg syntax

2015-08-21 Thread Bogdan-Andrei Iancu
Hi Ralf, Could you post the exact command (from shell) you send together with the opensips error log please. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 21.08.2015 09:59, Ralf Neumann wrote: not caused by the syntax. The command accept th

[OpenSIPS-Users] opensips1.11 dr_routing

2015-08-21 Thread dpa
Hello! There is one question about dr_routing module. Example 1. I have such gw_list "#14,#34=50,#35=50,#2881" Example 2. I have such gw_list "#14,#34,#35,#2881" I am using d_routing() with W flag. In Example 1 a call first had been sent to sharing between #34 and #35 and only

Re: [OpenSIPS-Users] fifo t_uac_dlg syntax

2015-08-21 Thread Ralf Neumann
not caused by the syntax. The command accept the following syntax: ' An: "OpenSIPS users mailling list" Betreff: Re: [OpenSIPS-Users] fifo t_uac_dlg syntax are u sure about the syntax errors not caused by your shell? On Aug 20, 2015 11:10 AM, "Ralf_Neumann_hgw" wrote:Hi Bogdan, the NOTIFY is u