[OpenSIPS-Users] opensips B2BUA configuration in top hiding

2015-06-09 Thread Dheeraj Bisht
Hi, I am new to Opensips and also new on SIP as well. I am trying to configure Opensips as B2BUA top hiding mode. I used the below configuration for that: route { if(is_method(INVITE) !(src_ip == my IP src_port ==5060)) /* skip Invite messages generated by the B2BUA*/ {

Re: [OpenSIPS-Users] Share database between opensips instances

2015-06-09 Thread Bogdan-Andrei Iancu
Hi Aron, For dialog module, you should use different tables for different servers. Otherwise, if an opensips restarts, it will have no idea which dialogs belong to it or to another instance. Simply create different tables in the same DB. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and

Re: [OpenSIPS-Users] Manipulate Opensips generated SIP headers

2015-06-09 Thread Bogdan-Andrei Iancu
Hi Ping, You should not manually change the cseq in the messages as you will break the whole dialog (the sequential requests). The 2.1 version does cseq increasing (with dialog consistency) when performing uac_auth(). Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] Failed to replicate Dialog

2015-06-09 Thread Liviu Chircu
Hello Kneeoh, Finally managed to replicate these errors on my own setup. In my case, the cause was insufficient shared memory for the _primary_ OpenSIPS instance, which MAY end up with some missing data within the dialog module structures, and unfortunately it gets replicated that way.

Re: [OpenSIPS-Users] Double via in MI generated NOTIFY

2015-06-09 Thread Stas Kobzar
nice trick )) Well, lookup works with this trick, but t_relay does not. I have: CRITICAL:tm:w_t_relay: unsupported route type: 32 When I replaced t_relay with forward, I have: ERROR:core:forward_reply: no 2nd via found in reply Well, since you can not reproduce it on both OpenSIPS version, I

Re: [OpenSIPS-Users] Issues using memcache auth

2015-06-09 Thread Bogdan-Andrei Iancu
Hi Tito, OK, so you have a plain text pwd in DB. You also load it to the script during DB auth and push it into the cache. What I was asking is to do some xlog from script to double check that whatever is stored and later fetched from script is correct - have you checked that ? Regards,

Re: [OpenSIPS-Users] Manipulate Opensips generated SIP headers

2015-06-09 Thread Ping Han
Thanks, Bogdan, I have just upgraded Opensips from 1.9 to 2.1 and did not notice the new features related to uac_auth. I was looking a way to dynamically match the authentication credentials and I believe the following new parameters will solve the problem. auth_realm_avp auth_username_avp

[OpenSIPS-Users] Handling of re-invite message from SIP callee on Opensips B2BUA top hiding mode

2015-06-09 Thread Dheeraj Bisht
Hi, I would like to handle the re-invite message from a SIP callee when Opensips is configured as B2BUA and in top hiding mode. Scenario: 1. Caller and Callee established call with Opensips B2BUA configured in top hiding mode 2. Callee put the caller on hold which initiates the

Re: [OpenSIPS-Users] Manipulate Opensips generated SIP headers

2015-06-09 Thread Ping Han
Hi Bogdan, I have implemented the new features and they work perfectly. Thanks, Chris On Wed, Jun 10, 2015 at 10:13 AM, Ping Han pinghan...@gmail.com wrote: Thanks, Bogdan, I have just upgraded Opensips from 1.9 to 2.1 and did not notice the new features related to uac_auth. I was looking

[OpenSIPS-Users] redis with shared dialogs question

2015-06-09 Thread Alex Pappas
Dear all, I have a master redis instance and two opensips connected to it with shared dialogs. Everything work as expected. I can see the same number of profiles in both Opensips servers. When I have a Redis failure I see in both Opensips servers that the profiles are showing 0 calls which is

Re: [OpenSIPS-Users] Share database between opensips instances

2015-06-09 Thread Bogdan-Andrei Iancu
Hello Aron, What are you trying to achieve by using the same table ? keep in mind the dialog table is more for restart persistence, the primary copy of the dialog data is in memory. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 09.06.2015