<div dir="ltr">On 9 May 2014 17:16, Daniel Grotti <span dir="ltr"><<a href="mailto:dgrotti@sipwise.com" target="_blank">dgrotti@sipwise.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><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 Gary,<br>
<br>
there is no way imho to achieve that within rewrite rules.<br>
Why you should do that? <br>
Can you explain your problem with more details, maybe we can find
another solution.<br></div></div></blockquote><div><br></div><div style>I can think of a good reason for a feature such as: I would like to be able to change a subscriber's CLI based on where they dial. For example, a customer has a France DDI, so I would love to be able to change his CLI to be the French DDI when he is calling ^33. and use his NL DDI when he dials ^31.</div>
<div style><br></div><div style>I'd like to have a table with </div><div style><br></div><div style>subscriber : destination : cli</div><div style><br></div><div style>...which could be looked up and if the destination matches this CLI is used, otherwise the default one used. </div>
<div style><br></div><div style>More and more customers want "in-country" CLI presentation to go with their in-country DDI.</div><div style><br></div><div style>-Barry</div><div style><br></div><div style><br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div>
<br>
<br>
Daniel<div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
On 05/09/2014 06:02 PM, Gary Nieboer wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I would like to make a re-write rule based on matching of
both the Caller and Callee.
<div><br>
</div>
<div>If the Caller is <a href="tel:%2B19015551212" value="+19015551212" target="_blank">+19015551212</a> and the Callee is 123, I'd
Like to rewrite the Caller to <a href="tel:%2B19015551213" value="+19015551213" target="_blank">+19015551213</a>. This would only
occur on an exact match of Caller and Callee.</div>
<div><br>
</div>
<div>Is there a way to match both caller and callee in the
match portion of a rewrite rule?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
Gary
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Spce-user mailing list
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
<br></blockquote></div><br></div></div>