<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
you can use sqlops to retrieve data from any database table, with
the structure you want. Then with append_branch() function and
$branch(...) variable, you have the options to add branches and
update their specific attributes with the values retrieved from
database.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 03/10/14 16:43, Marino Mileti wrote:<br>
</div>
<blockquote cite="mid:148d677850d.marino.mileti@alice.it"
type="cite">Hi guys,
<div><br>
</div>
<div>I've tried with success to implement serial forking based on
q value (i've followed documentation) with the istruction:</div>
<div><br>
</div>
<div>append_branch(<a class="moz-txt-link-rfc2396E" href="sip:b@example.com">"sip:b@example.com"</a>, "0.5");</div>
<div><br>
</div>
<div>Now my questions are:</div>
<div><br>
</div>
<div>is it possible to import URI from db? </div>
<div>is it possible to import q value from db too? </div>
<div><br>
</div>
<div>I would like to change the q value based, for example, on
"night & day"; so it would be nice if I can store it on DB
and then load it dinamically when i need.</div>
<div>For the first question I think that it's possible with
dbaliases for example...but I don't know how get a q value for
each contact :)</div>
<div><br>
</div>
<div>Marino</div>
<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></pre>
</body>
</html>