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