<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>if you get a core dump, then send the backtrace taken with gdb --
even better, open an issue on the bugtracker from
github.com/kamailio/kamailio - the template there should guide you
on what details to provide.</p>
<p>On the other hand, can you just try with:</p>
<p> xlog("L_INFO","route(fixdigits) @@ $rm - E164 :
<a class="moz-txt-link-freetext" href="sip:$(fU">sip:$(fU</a>{s.substr,1,0})@$fd");</p>
<p>So no need of string concatenation with +, the variables inside
the parameter for xlog() are evaluated always.<br>
</p>
<p>Using expressions for parameters was something added by SER
branch in the past, not sure if all modules are handling that
properly.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 06.02.18 19:42, Jean Cérien wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAL_ph0Jr-wE8LovGA8St_SywEnf3HUvtzdTgKpRMvPGWDrWsdA@mail.gmail.com">
<div dir="ltr"><br>
<div>Hi</div>
<div>I've isolated to that line: </div>
<div><br>
</div>
<div> xlog("L_INFO","route(fixdigits) @@ $rm - E164 :
sip:"+$(fU{s.substr,1,0})+"@"+$fd);<br>
</div>
<div><br>
</div>
<div>(I was trying to evntually modify the from field). I guess
the + werent a good idea.</div>
<div><br>
</div>
<div>Kamailio version is the one from your repo (deb <a
href="http://deb.kamailio.org/kamailio50"
moz-do-not-send="true">http://deb.kamailio.org/kamailio50</a>
stretch main), running on a debian 9.3</div>
<div>
<div><br>
</div>
<div>version: kamailio 5.0.5 (x86_64/linux) </div>
<div>flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP,
PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY,
USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
HAVE_RESOLV_RES</div>
<div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT
PKG_SIZE 8MB</div>
<div>poll method support: poll, epoll_lt, epoll_et, sigio_rt,
select.</div>
<div>id: unknown </div>
<div>compiled with gcc 6.3.0</div>
</div>
<div><br>
</div>
<div>I am not specifically looking for any corrections, as I
know that my syntax is wrong, but I guess you're not too eager
to have segfault in the code !</div>
<div><br>
</div>
<div>J.</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Feb 6, 2018 at 1:17 PM, Vasiliy
Ganchev <span dir="ltr"><<a
href="mailto:vancecezar@gmail.com" target="_blank"
moz-do-not-send="true">vancecezar@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">hi!<br>
<br>
try to:<br>
<br>
- revert your changes - be sure that kamailio starts<br>
- add changes back - confirm that issue is still present<br>
<br>
if yes - share relevant part of your changes here, and
describe - what were<br>
your intensions.<br>
<br>
cheers<br>
<br>
<br>
<br>
--<br>
Sent from: <a
href="http://sip-router.1086192.n5.nabble.com/Users-f3.html"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://sip-router.1086192.n5.<wbr>nabble.com/Users-f3.html</a><br>
<div class="HOEnZb">
<div class="h5"><br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>