yes i mean "prefix" of dr_rules tables<br><br><span id="result_box" class="" lang="en"><span class="hps">** I want to redirect</span> <b><span class="hps">emergency calls</span></b> <span class="hps">to</span> <span class="hps">asterisk</span> <span class="hps">but I</span> <span class="hps">don't know if</span> <span class="hps">the</span> <span class="hps">prefix</span> <span class="hps">is used</span> <span class="hps">to controling "To" or "From" headers.</span><span class="hps"></span></span><br>
<br>** for example if an user calls the <b>15</b> number then opensips redirect it to my asterisk server declared in dr_gateways table<br><br>thanks<br><br><div class="gmail_quote">2012/8/27 Max Mühlbronner <span dir="ltr"><<a href="mailto:mm@42com.com" target="_blank">mm@42com.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<br>
<br>
"pri_prefix" is related to dr_gateways table, it is like a
"tech"prefix used by the carrier/gw. It is not matched, but added
to the request uri when sending out the call to the Gateway. <br>
<br>
Did you mean "prefix" of dr_rules table? These prefixes are used
to match based on the request uri, but not based on from/to
header.<br>
<br>
<br>
<br>
Best Regards<br>
<br>
Max M.<div><div class="h5"><br>
<br>
On 08/27/2012 11:28 AM, Engineer voip wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">Hello All,<br>
<br>
someone can tell me if the PRI_PREFIX fields of the dr_rules
table is used to matching the "To" o "From" fields.<br>
<br>
Thank you.<br>
<br>
<fieldset></fieldset>
<br>
</div></div><div class="im"><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</div></blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>