Re: [OpenSIPS-Users] Question regarding b2b_bridge function

2016-06-07 Thread Ping Han
Hi Bogdan, Yes, that is exactly what I am trying to do. Regards, Ping On Tue, Jun 7, 2016 at 8:34 PM, Bogdan-Andrei Iancu wrote: > Hi Ping, > > So you need the B2B Logic ID only when you create the B2B session, in > order to place it in the first outgoing INVITE (as extra hdr), right ? > > Reg

Re: [OpenSIPS-Users] IS_MYSELF() always uses 5060 if received port is 0

2016-06-07 Thread Bogdan-Andrei Iancu
Hi, The patch is part of the latest release on 1.11 branch, the 1.11.7 version. Here is the commits for that: https://github.com/OpenSIPS/opensips/commit/f91441d43e814d06ebf325e637206be42879 https://github.com/OpenSIPS/opensips/commit/d39cfb73ed01b349c235949a16ccc5b559003a81 Apply them both

Re: [OpenSIPS-Users] Continuous "WARNING:core:timer_ticker: timer task already scheduled" messages in log

2016-06-07 Thread Rodrigo Pimenta Carvalho
Hi Steve. I had exactly this same problem! I used to see that log very frequently. So, I changed a configuration in my opensips.cfg file to be: modparam("usrloc", "db_mode", 2) modparam("usrloc", "timer_interval",3) Then, the problem almost disappeared. That is, nowadays I see this log seld

Re: [OpenSIPS-Users] Opensips -1.11 crash with mongodb replica set .

2016-06-07 Thread Sasmita Panda
Thank you so much . It will be helpful for me . *Thanks & Regards* *Sasmita Panda* *Network Testing and Software Engineer* *3CLogic , ph:07827611765* On Tue, Jun 7, 2016 at 4:41 PM, Liviu Chircu wrote: > To avoid those kind of problems, I would recommend putting one "mongos" > instance for each

[OpenSIPS-Users] Available OpenSIPS releases ad their lifetime

2016-06-07 Thread Bogdan-Andrei Iancu
Hello, Following the release of OpenSIPS 2.2.0, here is the current status of the available (maintained) releases and the planned expiration date. OpenSIPS 1.11 LTS - to be maintained until 7th of May 2017 OpenSIPS 2.1 - to be maintained until 7th of November 2017 OpenSIPS 2.2 LTS - t

Re: [OpenSIPS-Users] Opensips -1.11 crash with mongodb replica set .

2016-06-07 Thread Liviu Chircu
To avoid those kind of problems, I would recommend putting one "mongos" instance for each OpenSIPS machine, on the same box. This way, not only do you avoid problems with the mongos machine going down, but you'll speed up query times as well, making your OpenSIPS workers more responsive! Liviu

Re: [OpenSIPS-Users] Register with TO Tag

2016-06-07 Thread Bogdan-Andrei Iancu
REGISTER and INVITE requests should be handled in different ways, so split your scripting per methods. In regards, to MF, better do the validation first, to be sure that whatever you do later, at least you have a valid SIP msg. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http

Re: [OpenSIPS-Users] Register with TO Tag

2016-06-07 Thread John Nash
OK that means I should handle Register before In-dialog processing block? I also have one more doubt function mf_process_maxfwd_header should it be used before sipmsg_validate or after?...Currently mf_process_maxfwd_header is being called in my script first but in some cases with malformed packet

Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

2016-06-07 Thread Bogdan-Andrei Iancu
Hi Jeff, So, FIFO works ok for you, but CP (using xmlrpc fails). Can you make a capture of the XMLRPC traffic between CP and OpenSIPS and post it somewhere ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 31.05.2016 17:27, Jeff Wilkie wrote:

Re: [OpenSIPS-Users] Continuous "WARNING:core:timer_ticker: timer task already scheduled" messages in log

2016-06-07 Thread Bogdan-Andrei Iancu
Hello Steve, What OpenSIPS tells you is that you the TM timer routine (which gets executed once per second) takes longer than 1 second (as execution). Probably you have retransmissions or many failure routes to be executed. You can increase the level of parallelism in TM timer via the timer_pa

Re: [OpenSIPS-Users] Question regarding b2b_bridge function

2016-06-07 Thread Bogdan-Andrei Iancu
Hi Ping, So you need the B2B Logic ID only when you create the B2B session, in order to place it in the first outgoing INVITE (as extra hdr), right ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 07.06.2016 04:59, Ping Han wrote: Thanks, Bo

[OpenSIPS-Users] Opensips as proxy, config problem on INVITES

2016-06-07 Thread Saioa Perurena
Hi, We have only one proxy Opensips (version 1.11) that does all the work (register's, invite's, tls conection...) on a DMZ behind a firewall. We want to move that to a new schema, with one Opensips (version 2.1) as a frontend that handles the tls connections (with a public ip) on the DMZ, and an

Re: [OpenSIPS-Users] Register with TO Tag

2016-06-07 Thread Bogdan-Andrei Iancu
Hi John, Assuming you do not do REGISTER relay (but you act as a registrar), you should handle the REGISTER requests (with or without to-tag) in the same way. IF they have a Route hdr , it may be because they do pre-loaded route (the Route points to your SIP server) to be sure the REGISTER get

Re: [OpenSIPS-Users] Opensips -1.11 crash with mongodb replica set .

2016-06-07 Thread Sasmita Panda
Hi Liviu , I just have one question . I have implemented opensips with mongodb shard cluster . I have one replica set with three member . I have three config server for each and mongos service running . What I wanted to know is , the server in which my mongos service is running , If th

[OpenSIPS-Users] Register with TO Tag

2016-06-07 Thread John Nash
I am dealing with In-dialog requests using -- if (has_totag() && (is_domain_local("$rd") || $Ri== "127.0.0.1") && is_method("INVITE|ACK|BYE|UPDATE")) { # sequential request within a