[OpenSIPS-Users] uac_replace_to segmentation fault

2014-04-18 Thread Samuel Muller
Razvan, Liviu, Thank you. Before posting the problems I have (for instance, timers), I have to update all my dev architecture to the latest git version of opensips - Liviu you're right, I use the tar.gz downloaded from /latest/src a month ago. Let me time to do the stuff, I'll be glad to help yo

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-04-17 Thread Liviu Chircu
Hello Samuel, By any chance, have you downloaded your sources from the "latest" links [1] from the *Downloads* section of the website? If *yes*, then mind you that it is very likely that you've been working with only the initial release of the 1.11 beta from March 21 (Răzvan updated the tarbal

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-04-17 Thread Răzvan Crainea
Hi, Samuel! If there are any issues with the new variables, we would be very grateful if you could report them so we can get them fixed. Otherwise, if there are bugs out there and nobody reports them, most likely they will never get fixed. Best regards, Razvan Crainea OpenSIPS Core Develope

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-04-17 Thread Samuel Muller
Hello Razvan, I admit I could not wait anymore, I had to find another solution. So, I don't use the function anymore in that particular case. I hope you will resolve the problem in next version. Furthermore I'm trying the v.1.11, that breaks several core stuff : following issues on github, almost

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-04-17 Thread Răzvan Crainea
Hi, Samuel! Sorry for getting back so late. Do you still have this issue with the latest 1.10 source? Best regards, Razvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 01/21/2014 02:44 PM, Samuel Muller wrote: Hello Răzvan , Yes, rr module is loaded, with this neede

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-01-21 Thread Samuel Muller
Hello Răzvan , Yes, rr module is loaded, with this needed parameter : modparam("rr","enable_double_rr",1) others are in default config. With the module parameters set up as you asked, same problem happened : [Script Trace][line 362][me][module uac_replace_to] -> (INVITE cf6ade52a95d-bvzxxpfi54f

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-01-20 Thread Răzvan Crainea
Hi, Samuel! Are you loading the 'rr' module in your script? Also, have you tried the 'manual' mode? Bet regards, Razvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 01/15/2014 04:08 PM, Samuel Muller wrote: FYI, I noticed that OpenSips does not crash when module par

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-01-15 Thread Samuel Muller
FYI, I noticed that OpenSips does not crash when module parameters are set to : modparam("uac","restore_mode","none") means that there's no encoding stuff like this line: Jan 8 16:26:55 vp-scp1a opensips[29220]: DBG:uac:replace_uri: encode is= len=44 But in that way I can't use replacement back

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-01-11 Thread Samuel Muller
Hello back, Here you ave the result of your needs : (gdb) f 1 #1 0x7f83f453bcb9 in replace_uri (msg=msg@entry=0x7f83fd7bfb90, display=display@entry=0x7fff9017ba30, uri=uri@entry=0x7fff9017ba20, hdr=, to=44, to@entry=0) at replace.c:432 432 replace.c: No such file or directory. (gdb) p uac_r

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-01-09 Thread Răzvan Crainea
Hi, Samuel! Can you go back in gdb and print the following value: # f 1 # p uac_rrb Best regards, Razvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 01/09/2014 02:21 PM, Samuel Muller wrote: Hello Razvan, All the module parameters are set up as default ... #modpara

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-01-09 Thread Samuel Muller
Hello Razvan, All the module parameters are set up as default ... #modparam("uac","restore_mode","auto") #modparam("uac","restore_passwd","") #modparam("uac","force_dialog",no) #modparam("uac","rr_to_store_param","vst") the function is called in the branch route only, and only one time, like :

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-01-08 Thread Răzvan Crainea
, u_params_no = 40296} u = port = cmatch = aitem = adefault = spec = model = val = {rs = {s = 0x0, len = 0}, ri = 0, flags = 0} pve = name_s = {s = 0x520f2a "", len = 126} start = {tv_sec

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-01-08 Thread Samuel Muller
x46c6a5 "", len = 5060}, { ---Type to continue, or q to quit--- s = 0x43a1be "", len = 2}, {s = 0x7fe8edec6780 "\001", len = 1}, {s = 0x7fe8edf0ef88 "\001", len = 0}, {s = 0x46c761 "", len = 5383433}}, u_params_no = 40296} u = p

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2013-12-19 Thread Ovidiu Sas
Take a look here how to enable core dumps: http://www.opensips.org/Documentation/TroubleShooting-Crash Even if it's an ARM, you should be able to get a core dump. Regards, Ovidiu Sas On Thu, Dec 19, 2013 at 12:14 PM, Samuel Muller wrote: > Hello, > > I discovered that the function "uac_replace_t

[OpenSIPS-Users] uac_replace_to segmentation fault

2013-12-19 Thread Samuel Muller
Hello, I discovered that the function "uac_replace_to" does a segmentation fault. Context: Opensips compiled for ARM system. The original request URI makes a fork to several users. When sending to PSTN, I've to rewrite To username because the PSTN gateway uses it instead of R-URI. As I've only 8