Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-01-08 Thread Răzvan Crainea
Hi, Samuel! What value are you using for the restore_mode[1] parameter? [1] http://www.opensips.org/html/docs/modules/1.10.x/uac#id249006 Best regards, Razvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 01/08/2014 04:37 PM, Samuel Muller wrote: Hello back, Thanks Ov

Re: [OpenSIPS-Users] Tls configuration information with Opensips

2014-01-08 Thread Răzvan Crainea
Hi, Vishnu! The PEM pass phrase is like a password you should add to protect your certificates. It does not have a default value, it is something that you should specify. Best regards, Razvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 01/08/2014 10:11 AM, Vishnu Va

Re: [OpenSIPS-Users] Memory leakage in Opensips 1.9.1

2014-01-08 Thread Răzvan Crainea
Hi, Ahsan! Can you please enable the the memory debugging (DBG_QM_MALLOC flag in menuconfig)? You can follow this tutorial[1]. [1] http://www.opensips.org/Documentation/TroubleShooting-OutOfMem Best regards, Razvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 01/09/2

Re: [OpenSIPS-Users] ENUM routing

2014-01-08 Thread Răzvan Crainea
Hi, Eddie! By default OpenSIPS uses parallel forking for all the branches, created by the enum_query() function in your case. If you want to use serial forking, you should call the serialize_branches() function[1] after creating the branches. [1] http://www.opensips.org/Documentation/Script-

Re: [OpenSIPS-Users] Caller id

2014-01-08 Thread Răzvan Crainea
Hi, Miha! remove_hf() is the function you should use. According to your scenario, you should remove the RPID and PAI in the failure route. Are you sure that code is reached for the second INVITE? Best regards, Razvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 01/07

Re: [OpenSIPS-Users] OpenSIPS/RTpProxy BridgeMode after failure route

2014-01-08 Thread Răzvan Crainea
Hi, Salman! Well, this is what I was suggesting - even though you were doing RTPProxy per branch, you still should have closed the old/unestablished leg before starting a new one. So I can confirm that your approach is the proper one. Best regards, Razvan Crainea OpenSIPS Core Developer htt

[OpenSIPS-Users] Memory leakage in Opensips 1.9.1

2014-01-08 Thread Ahsan Hasan
We are using opensips-1.9.1 and it is crashing randomly every other week, the core dumps generated are always related to memory leakage. The last four core dumps are Program terminated with signal 11, Segmentation fault. #0 0x7f4c12e20c77 in write_dialog_profiles (links=0x7f4bff03d7f0) at dlg

Re: [OpenSIPS-Users] Firing gwlist in specific order with failover

2014-01-08 Thread Ali Pey
In do_routing, you can specify a list of gateways: http://www.opensips.org/html/docs/modules/devel/drouting.html#id294454 - gw_whitelist - a comma separated white list of gateways. This will force routing over this list of carriers or gateways (a subset of what found in the prefix rules). Or you

Re: [OpenSIPS-Users] Firing gwlist in specific order with failover

2014-01-08 Thread Nick Cameo
Wishing the community a happy new year! ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Firing gwlist in specific order with failover

2014-01-08 Thread Nick Cameo
Oh hey Ali! What I am asking is for is a function that I can pass a gwlist too at runtime, basically retiring the do_routing since I was told it does not handle gwllists sequentially, if I understood correctly. I have a perl module that orders the gwlist as needed, now I just need a function that w

Re: [OpenSIPS-Users] Firing gwlist in specific order with failover

2014-01-08 Thread Ali Pey
Hello Nick, What is the question then? In rules, you can list gateways, carriers and assign wait. How is that different from what you want? Regards, Ali Pey On Wed, Jan 8, 2014 at 1:09 PM, Nick Cameo wrote: > Hello Everyone, > > We are currently using the dr module with dr_rules/gateways pop

[OpenSIPS-Users] ENUM routing

2014-01-08 Thread Eddie Chan
Hi all, We are trying to integrate OpenSIP (1.10) with our ENUM server. We are having issue with ENUM routing in OpenSIP. Currently, opensips will try all the gateways from the ENUM response simultaneously regardless of the priority of the routes. Once it receives the first response from a

[OpenSIPS-Users] Firing gwlist in specific order with failover

2014-01-08 Thread Nick Cameo
Hello Everyone, We are currently using the dr module with dr_rules/gateways populated, and it works great.What we are looking for a is a do_routing like method that accepts a gwlist, terminates to the gatway, and failover to the next one on the list in sequential order. Exactly as the do_routing m

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-01-08 Thread Samuel Muller
Hello back, Thanks Ovidiu - I reproduced the problem with the other function "uac_replace_from" too, in a x86 server, OpenSips 1.10 tls.. here you can find the bt full of gdb : GNU gdb (GDB) 7.4.1-debian This GDB was configured as "x86_64-linux-gnu". Reading symbols from /usr/lib/debug/usr/sbi

[OpenSIPS-Users] Tls configuration information with Opensips

2014-01-08 Thread Vishnu Vardhan
Hi to all, I am using opensips-1.9,i am trying to enable tls support in my opensips server,i enable that from make menuconfig in opensips source folder.When i am trying to configure root Certificate Authority (CA) and aswell user it is asking Enter PEM pass phrase: what is the default value for