<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000"><span>Hi Abel,<br>
actually you may be right that this is not the case. I recall it was 
needed in older releases (?) otherwise the server would reply 403 Domain
 not served here. </span><span>Domain matters when there is no record in
 dbaliases so it falls back to user and domain check in subscriber 
table. </span><span><br>
  <br>
As long as you have a record in dbaliases matching dialed number the 
system should be able to match inbound call to subscriber. That is where
 the problem happens I think, because the dialed number does not have 1 
in front and probably callee-in rewrite rule for inbound peer is not 
adding 1.<br>
You can fix that with a rewrite rule.<br>
</span><span>Nothing has been changed in mr4.5.4 in that regard (mr5.x 
has inbound peering 
rules and tighter source port check for peers but that is whole other 
story)..</span><br>
<span>Andrew<br>
  <br>
Abel Alejandro wrote:</span><br>
<blockquote 
cite="mid:CAKiNg22g3qj6CEkkuE0Y8J7rqRvtXX3epbmpsEeyX5=P3OQMjQ@mail.gmail.com"
 type="cite">Hey Andrew,
  <div><br></div>
  <div>Did that changed recently and only affects new subscribers? I 
will speak with my PSTN to make the change however.</div>
  <div><br></div>
  <div>However calls coming to other subscribers are working from the 
very same PSTN and they use the IP, not the domain.</div>
  <div><br></div>
  <div><div>root@<a class="moz-txt-link-freetext" href="sip:/var/log/ngcp#">sip:/var/log/ngcp#</a> grep <a moz-do-not-send="true" 
href="mailto:5435BC51@10.246.9.8">5435BC51@10.246.9.8</a> 
kamailio-proxy.log </div><div><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt; color: 
rgb(0, 0, 0);"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt; 
text-decoration: underline; color: rgb(0, 0, 0);"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt; 
text-decoration: underline; color: rgb(0, 0, 0);"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt; 
text-decoration: underline; color: rgb(0, 0, 0);"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt; 
text-decoration: underline; color: rgb(0, 0, 0);"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt; 
text-decoration: underline; color: rgb(0, 0, 0);"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt; 
text-decoration: underline; color: rgb(0, 0, 0);"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt; 
text-decoration: underline; color: rgb(0, 0, 0);"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt; 
text-decoration: underline; color: rgb(0, 0, 0);"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt; 
text-decoration: underline; color: rgb(0, 0, 0);">Mar  7 08:30:38</span></span></span></span></span></span></span></span></span></span>
 sip proxy[3757]: NOTICE: <script>: New request on proxy - 
M=INVITE R=<a class="moz-txt-link-freetext" href="sip:7877050555@74.85.156.17:5060;transport=udp">sip:7877050555@74.85.156.17:5060;transport=udp</a> F=<a 
moz-do-not-send="true" href="http://sip:7875868313@196.12.170.244:5060">sip:7875868313@196.12.170.244:5060</a>
 T=<a moz-do-not-send="true" 
href="http://sip:7877050555@74.85.156.17:5060">sip:7877050555@74.85.156.17:5060</a>
 IP=<a moz-do-not-send="true" href="http://196.12.170.244:5060">196.12.170.244:5060</a>
 (<a moz-do-not-send="true" href="http://127.0.0.1:5060">127.0.0.1:5060</a>)
 ID=<a moz-do-not-send="true" href="mailto:5435BC51@10.246.9.8">5435BC51@10.246.9.8</a>
 UA='<null>'</div><div><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt;"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt;"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt;"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt;"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt;"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt;"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt;"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt;"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt;"><span 
__postbox-detected-content="__postbox-detected-date" 
class="__postbox-detected-content __postbox-detected-date" 
displaystyle="display: inline; font-size: inherit; padding: 0pt;">Mar  7
 08:30:38</span></span></span></span></span></span></span></span></span></span>
 sip proxy[3757]: NOTICE: <script>: Call from PSTN - 
R=<a class="moz-txt-link-freetext" href="sip:7877050555@74.85.156.17:5060;transport=udp">sip:7877050555@74.85.156.17:5060;transport=udp</a> ID=<a 
moz-do-not-send="true" href="mailto:5435BC51@10.246.9.8">5435BC51@10.246.9.8</a>
 UA='<null>'</div></div>
</blockquote>
<br>
Andrew<br>
</body></html>