<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
yes, it is safe to use $var(x) to pass values between the block
calling t_continue() and the route executed by t_continue().<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 25/05/15 10:52, DanB wrote:<br>
</div>
<blockquote cite="mid:5562E2B9.1000902@gmail.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Hey Daniel,<br>
<br>
Thanks for coming back to me.<br>
<br>
Yes, called t_continue and for now I have used $var() to pass
information back to the route with transaction info recovered. <br>
Will that be OK to leave it like that? Is $var() safe to use
between event_route[evapi:message-received] and route called by
t_continue()? I am just speaking about these two interactions
since after t_continue, I will process the vars into $avp().<br>
<br>
You can find the .cfg we are using it as part of our test build
here:<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/cgrates/cgrates/blob/master/data/tutorials/kamevapi/kamailio/etc/kamailio/kamailio-cgrates.cfg#L62">https://github.com/cgrates/cgrates/blob/master/data/tutorials/kamevapi/kamailio/etc/kamailio/kamailio-cgrates.cfg#L62</a><br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/cgrates/cgrates/blob/master/data/tutorials/kamevapi/kamailio/etc/kamailio/kamailio.cfg#L191">https://github.com/cgrates/cgrates/blob/master/data/tutorials/kamevapi/kamailio/etc/kamailio/kamailio.cfg#L191</a><br>
<br>
<br>
Ta,<br>
DanB<br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.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-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>