Hello,

I asked for the wrong command, as the bt full was already sent before -- I wanted the output from gdb for:

p *tcpconn

Daniel


On 27/02/15 04:10, Slava Bendersky wrote:
Hello Daniel,
Here bt full from back trace.

http://fpaste.org/191207/50064491/

Slava.


From: "volga629" <volga629@skillsearch.ca>
To: miconda@gmail.com, "Slava Bendersky" <volga629@networklab.ca>
Cc: "sr-users" <sr-users@lists.sip-router.org>
Sent: Thursday, February 26, 2015 9:56:48 PM
Subject: Re: [SR-Users] kamailio asterisk

Hello Daniel,
I tried $rz option on top of request route and that where I see wrong request uri like sip:sips: . And as far I can see it happenes only for SUBSCRIBE INVITE and NOTIFY.

if($rz=="sips") {
   $ru = "sip" + $(ru{s.substr,4,0});
}

Slava.

Sent from mobile device typos are expected.

From: Daniel-Constantin Mierla <miconda@gmail.com>
Sent: Feb 25, 2015 1:04 PM
To: Slava Bendersky
Cc: sr-users
Subject: Re: [SR-Users] kamailio asterisk


Hello,

On 25/02/15 17:19, Slava Bendersky wrote:
Hello Daniel,
substr you suggested didn't worked.
See my previous email.

your previous email didn't say anything about the results. That's why I asked. Be sure you don't have those spaces that are in the email you wrote. Also, I had more parenthesis in the parameter of the subst_uri().

Or you can try the alternative with:

if($rz=="sips") {
   $ru = "sip" + $(ru{s.substr,4,0});
}

I asked for more details from the backtrace to confirm that what I found is the cause for the crash in this case -- see one of my previous emails from today.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com