So, what&#39;s the best link for upgrade kamailio on Ubuntu?<br><br>thanks,<br>R<br><br><div class="gmail_quote">On Fri, Mar 23, 2012 at 9:24 AM, Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am going to have to go with the &quot;upgrade&quot; crowd in this one. Running OpenSER 1.3 at this point is like running a libc5-based Linux distro.  Almost no advice or discussion is relevant to it because there have been such tectonic, generational shifts since.<br>

<div class="im"><br>
--<br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Atlanta, GA 30030<br>
</div>Tel: <a href="tel:%2B1-678-954-0671" value="+16789540671">+1-678-954-0671</a><br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com" target="_blank">http://www.alexbalashov.com</a><br>
<div class="im"><br>
Edson - Lists &lt;<a href="mailto:4lists@gmail.com">4lists@gmail.com</a>&gt; wrote:<br>
<br>
&gt;Please upgrade to latest stable and try again....<br>
&gt;<br>
&gt;Why? If you have to ask it, than you didn&#39;t got it...<br>
&gt;<br>
&gt;new version === new functionalities<br>
&gt;<br>
&gt;99% of list support and tips are based on last stable version. 1.3 is<br>
&gt;pretty old...<br>
&gt;<br>
&gt;Edson.<br>
&gt;<br>
&gt;Em 23/03/2012 10:06, Robert R escreveu:<br>
</div><div class="im">&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; Even though when I try to use &quot;uac_replace_from( )&quot; in branch_route<br>
&gt;&gt; block I get the same error message:<br>
&gt;&gt;<br>
&gt;&gt; branch_route[2]<br>
&gt;&gt; {<br>
&gt;&gt;     if ( $avp(i:204) )<br>
&gt;&gt;     {<br>
&gt;&gt;        uac_replace_from(&quot;hello&quot;);<br>
&gt;&gt;     }<br>
&gt;&gt;<br>
&gt;&gt; }<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; error message:<br>
&gt;&gt;<br>
&gt;&gt; Not starting openser: invalid configuration file!<br>
&gt;&gt; Mar 23 09:03:00 [7542] CRITICAL:core:yyerror: parse error in config<br>
&gt;&gt; file, line 623, column 26-27: Command cannot be used in the block<br>
&gt;&gt; Mar 23 09:03:00 [7542] ERROR:core:main: bad config file (1 errors)<br>
&gt;&gt;<br>
&gt;&gt; PS: I am running an old release of openser 1.3.<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; R<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Mar 22, 2012 at 1:23 PM, Daniel-Constantin Mierla<br>
</div><div class="im">&gt;&gt; &lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a> &lt;mailto:<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;     On 3/22/12 6:12 PM, Alex Balashov wrote:<br>
&gt;&gt;<br>
&gt;&gt;         On 03/22/2012 01:00 PM, Robert R wrote:<br>
&gt;&gt;<br>
&gt;&gt;             When I am trying to modify FROM field in the &quot;failure_route&quot;<br>
&gt;&gt;             block I<br>
&gt;&gt;             get an error message:<br>
&gt;&gt;<br>
&gt;&gt;             failure_route[1]<br>
&gt;&gt;             {<br>
&gt;&gt;                 ...<br>
</div>&gt;&gt;             uac_replace_from(&quot;$avp(i:204)&quot;__);<br>
<div><div></div><div class="h5">&gt;&gt;                 append_branch();<br>
&gt;&gt;                 t_relay();<br>
&gt;&gt;             }<br>
&gt;&gt;<br>
&gt;&gt;             Not starting openser: invalid configuration file!<br>
&gt;&gt;             Mar 22 10:51:39 [6457] CRITICAL:core:yyerror: parse error in<br>
&gt;&gt;             config<br>
&gt;&gt;             file, line 662, column 32-33: Command cannot be used in the<br>
&gt;&gt;             block<br>
&gt;&gt;             Mar 22 10:51:39 [6457] ERROR:core:main: bad config file (1<br>
&gt;&gt;             errors)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;         You can probably get around it this way:<br>
&gt;&gt;<br>
&gt;&gt;         failure_route[1]<br>
&gt;&gt;         {<br>
&gt;&gt;            ...<br>
&gt;&gt;<br>
&gt;&gt;            append_branch();<br>
&gt;&gt;<br>
&gt;&gt;            route(STUFF);<br>
&gt;&gt;            t_relay();<br>
&gt;&gt;         }<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;         route[STUFF]<br>
&gt;&gt;         {<br>
&gt;&gt;             uac_replace_from(...);<br>
&gt;&gt;         }<br>
&gt;&gt;<br>
&gt;&gt;     indeed this should work -- it is no reason of not being usable in<br>
&gt;&gt;     failure_route, perhaps is so from the time of development. The<br>
&gt;&gt;     function itself is allowed in branch_route which is called from<br>
&gt;&gt;     inside t_relay() (when t_on_branch(...) is used), therefore we can<br>
&gt;&gt;     relax the restriction for failure_route, imo.<br>
&gt;&gt;<br>
&gt;&gt;     One thing to take care of, if you use uac_replace_from() in request<br>
&gt;&gt;     route and then in failure route, you may end in malformed format, so<br>
&gt;&gt;     it is recommended to use it in branch_route, then the changes done<br>
&gt;&gt;     by the function will be per each forwarded branch.<br>
&gt;&gt;<br>
&gt;&gt;     Cheers,<br>
&gt;&gt;     Daniel<br>
&gt;&gt;<br>
&gt;&gt;     --<br>
&gt;&gt;     Daniel-Constantin Mierla<br>
&gt;&gt;     Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany<br>
</div></div>&gt;&gt;     <a href="http://www.asipto.com/index.__php/kamailio-advanced-__training/" target="_blank">http://www.asipto.com/index.__php/kamailio-advanced-__training/</a><br>
&gt;&gt;     &lt;<a href="http://www.asipto.com/index.php/kamailio-advanced-training/" target="_blank">http://www.asipto.com/index.php/kamailio-advanced-training/</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;     _________________________________________________<br>
<div class="im">&gt;&gt;     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
</div>&gt;&gt;     <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a> &lt;mailto:<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>&gt;<br>
&gt;&gt;     <a href="http://lists.sip-router.org/__cgi-bin/mailman/listinfo/sr-__users" target="_blank">http://lists.sip-router.org/__cgi-bin/mailman/listinfo/sr-__users</a><br>
<div><div></div><div class="h5">&gt;&gt;     &lt;<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
&gt;&gt; <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
&gt;&gt; <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
&gt;<br>
&gt;_______________________________________________<br>
&gt;SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
&gt;<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
&gt;<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br>