<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2/27/2013 4:17 PM, Kevin Masse
wrote:<br>
</div>
<blockquote
cite="mid:CEEE718799582B47A55D7897DCB264FC280134@bvusaex.bestvoipusa.local"
type="cite">
<pre wrap="">Hello, one of the most asked questions I see is: What do I do for
rewrite rules.
First thing is you need to fully understand exactly what the rewrite
rules are doing. If you are an asterisk user you need to forget
NXXNXXXXXX etc.
Try to use this reference
<a class="moz-txt-link-freetext" href="http://www.regular-expressions.info/reference.html">http://www.regular-expressions.info/reference.html</a> as a guide to fully
understanding the use of Regular Expressions so you can anticipate
exactly what you want to put in the rewrite rule.
I know that this is not answering your question directly but if you
completely understand the Regular Expressions you will get it quickly.
I just saw an email come through from Lorenzo with the link and
reference to the manual that describes it all.
Follow both the suggestion above and it will begin to click.
I think everyone in the list has been where you are at one point or
another but once you understand it you will not have any issues with
this.
You could also post some examples that will help drive home your issue.
Thanks
Kevin
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:spce-user-bounces@lists.sipwise.com">spce-user-bounces@lists.sipwise.com</a>
[<a class="moz-txt-link-freetext" href="mailto:spce-user-bounces@lists.sipwise.com">mailto:spce-user-bounces@lists.sipwise.com</a>] On Behalf Of Blagoja
Sent: Wednesday, February 27, 2013 4:08 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a>
Subject: [Spce-user] inbound rewriting rule
Hello, I can't figure out how rewriting is working . I have problem
routing incoming call .
Can someone help please
_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
</pre>
</blockquote>
<br>
<h4 class="title">Thanks. Can you give me a hint what should i use
for inbound call :</h4>
<p>U 2013/02/27 16:24:11.989859 127.0.0.1:5060 -> 127.0.0.1:5062<br>
ACK <a class="moz-txt-link-freetext" href="sip:127.0.0.1:5080">sip:127.0.0.1:5080</a> SIP/2.0'<br>
Record-Route:
<a class="moz-txt-link-rfc2396E" href="sip:127.0.0.1;r2=on;lr=on;ftag=99t4ntcktc;ngcplb=yes"><sip:127.0.0.1;r2=on;lr=on;ftag=99t4ntcktc;ngcplb=yes></a>'<br>
Record-Route:
<a class="moz-txt-link-rfc2396E" href="sip:24.150.194.162;r2=on;lr=on;ftag=99t4ntcktc;ngcplb=yes"><sip:24.150.194.162;r2=on;lr=on;ftag=99t4ntcktc;ngcplb=yes></a>'<br>
Via: SIP/2.0/UDP
127.0.0.1;branch=z9hG4bKb681.ab05ea59cb197e25406c375804bfd202.0'<br>
Via: SIP/2.0/UDP
217.16.67.5:5060;rport=5060;branch=z9hG4bKmmh0al3048rhbjk040n0.1'<br>
CSeq: 112 ACK'<br>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:41ab0d85t5auay1ag@172.16.17.10">41ab0d85t5auay1ag@172.16.17.10</a>'<br>
From: "025101165"
<a class="moz-txt-link-rfc2396E" href="sip:025101165@217.16.67.5:5060;user=phone;cpc=ordinary"><sip:025101165@217.16.67.5:5060;user=phone;cpc=ordinary></a>;tag=99t4ntcktc'<br>
To: "5101199"
<a class="moz-txt-link-rfc2396E" href="sip:5101199@217.16.67.5:5060;user=phone"><sip:5101199@217.16.67.5:5060;user=phone></a>;tag=f3067022b00c564156251ba2f28f331f-f415'<br>
Max-Forwards: 68'<br>
Content-Length: 0'<br>
P-NGCP-Src-Ip: 217.16.67.5'<br>
P-NGCP-Src-Port: 5060'<br>
P-NGCP-Src-Proto: udp'<br>
P-NGCP-Src-Af: 4'<br>
<br>
</p>
<p><br>
this is log how i recieve the call and my user number is set 389
2 5101199<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>incoming caller or incoming callee<br>
</p>
</body>
</html>