<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div style="-webkit-text-size-adjust: auto;"><span></span></div><div><div dir="ltr" style="-webkit-text-size-adjust: auto;">Here is what I tried on outbound rewrite rule callee. I was hopping to apply this at the subscriber level. </div><div dir="ltr" style="-webkit-text-size-adjust: auto;"><br></div><div dir="ltr"><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">^([0-9]+)$ 3333\1</span></div><div dir="ltr" style="-webkit-text-size-adjust: auto;"><br></div><div dir="ltr" style="-webkit-text-size-adjust: auto;"><br></div><div dir="ltr" style="-webkit-text-size-adjust: auto;">I tried that on both the subscriber and the peer but it is not adding it to the call on the way out. Any other suggetions<br></div><div class="gmail_extra" style="-webkit-text-size-adjust: auto;"><br><br><div class="gmail_quote">On Sat, Nov 23, 2013 at 10:30 AM, Daniel Grotti <span dir="ltr"><<a href="mailto:dgrotti@sipwise.com" target="_blank">dgrotti@sipwise.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
you need to create a rewrite rule set to your peer and add an outbound rewrite rules for callee.<br>
In this way you will add your prefix just before sending out the call to the peer.<br>
<br>
Ex.<br>
<br>
^(150[0-9]+)$ 3333\1<br>
<br>
<br>
<br>
<br>
Daniel<br>
<div class="im"><br>
<br>
<br>
<br>
On Saturday, November 23, 2013 17:08 CET, Jeremie Chism <<a href="mailto:jchism2@gmail.com">jchism2@gmail.com</a>> wrote:<br>
<br>
> I need to be able to prefix numbers on the way out for one of my peers. Example. A subscriber dials <a href="tel:15045551212" value="+15045551212">15045551212</a>. The number I need to send to a peer is 333315045551212. Any help with a rewrite rule would be greatly appreciated.<br>
><br>
> Sent from my iPhone<br>
</div>> _______________________________________________<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>
<br>
<br>
<br>
<br>
<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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Jeremie Chism<br>Triton Communications
</div>
</div></body></html>