<div dir="ltr">Hi,<div><br></div><div>Do you know where I can find the example kamailio.cfg file used in that presentation?</div><div><br></div><div>Thanks</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div style="font-family:Helvetica;font-size:medium">Benjamin Fitzgerald</div><div style="font-family:Helvetica;font-size:medium">LETS Corporation</div><div style="font-family:Helvetica;font-size:medium">(925) 235-1154</div><div style="font-family:Helvetica;font-size:medium"><span style="text-align:-webkit-auto"><a href="mailto:ben@letscorp.us" style="color:rgb(17,85,204)" target="_blank">ben@letscorp.us</a></span></div><div style="font-family:Helvetica;font-size:medium"><br></div><div style="font-family:Helvetica;font-size:medium"><br></div><div><img src="https://drive.google.com/a/letscorp.us/uc?export=view&id=0BypXJ2tJXo79c0ZaNXJVUWFlMVk"><br></div><br style="font-family:Helvetica;font-size:medium"><span style="font-family:Helvetica;font-size:medium">*******Confidential Notice: </span><br style="font-family:Helvetica;font-size:medium"><span style="font-family:Helvetica;font-size:medium">This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this message in error, please delete this message from all computers and contact Orion Systems/LETS Corp immediately by return e-mail and/or telephone at </span><a value="+19255665600" style="color:rgb(17,85,204);font-family:Helvetica;font-size:medium">(925) 566-5600</a><br></div></div></div>
<br><div class="gmail_quote">On Thu, Jul 30, 2015 at 3:19 PM, Seudin Kasumovic <span dir="ltr"><<a href="mailto:seudin.kasumovic@gmail.com" target="_blank">seudin.kasumovic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Helo,<div><br></div><div>try with tsilo module see excelent presentation here <a href="https://www.youtube.com/watch?v=4XIrR9bwUkM" target="_blank">https://www.youtube.com/watch?v=4XIrR9bwUkM</a></div><div><br></div><div>Seudin</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Jul 27, 2015 at 10:39 AM, Dmytro Bogovych <span dir="ltr"><<a href="mailto:dmytro.bogovych@gmail.com" target="_blank">dmytro.bogovych@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Greetings.<br>
Sorry for previous false letter.<br>
<br>
I want to check if user is registered before reply is routed to its<br>
target user agent.<br>
<br>
Imho it should be like this:<br>
<br>
onreply_route[MANAGE_REPLY] {<br>
  if ($rm=="INVITE") {<br>
    if (registered("location", $ru)) {<br>
      # Do job - pause for 15 seconds and give chance to reregister<br>
    }<br>
  }<br>
}<br>
<br>
But kamailio complains on registered function<br>
 0(6274) ERROR: <core> [cfg.y:3295]: yyparse(): misused command registered<br>
 0(6274) : <core> [cfg.y:3439]: yyerror_at(): parse error in config<br>
file /usr/local/etc/kamailio/kamailio.cfg, line 1121, column 35:<br>
Command cannot be used in the block<br>
<br>
Documentation confirms - registered() function can be used in<br>
REQUEST_ROUTE and FAILURE_ROUTE only.<br>
<br>
Is it possible to check if user is registered when reply is processed<br>
in scripts?<br>
<br>
Thank you!<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>MSC Seudin Kasumovic<br>Tuzla, Bosnia</div>
</font></span></div>
<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>