<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body style="font-family: Calibri; font-size: 11pt;"
text="#000000" bgcolor="#FFFFFF"><div style="font-size:
11pt;font-family: Calibri;"><span style="font-family: Calibri;">What I
don't understand is that I have the Outbound Rewrite Rules set for
Callee as well as Caller on the fake subscriber as well as on the
registered subscriber I'm calling from:<br><br></span><span><span
style="font-family: Calibri;">Default Rewrite Rule (This is set on the
Subscriber for Local/National Calls)<br>
Outbound Rewrite for Caller:<br>
ˆ0([1-9][0-9]+)$ | 44\1 | CLI to E.164<br><br>
Outbound Rewrite for Callee:<br>
ˆ0([1-9][0-9]+)$ | ${caller_cc}\1 | National
to E.164</span> </span><br><span style="font-family: Calibri;"><br><br>International
Rewrite Rule (This is set on the fake Subscriber for International
Calls to and from this Carrier)<br>Outbound Rewrite for Caller:<br>^([1-9][0-9]+)$
| +\ | E.164 to International<br><br>Outbound
Rewrite for Callee:<br>ˆ(00|\+)([1-9][0-9]+)$ | \2
| International to E.164<br><br><br>I just did a random test to
call 44113001417 on a fake subscriber on the same domain, but I still
get the exact same errors:<br><br>- No matching rewrite rules for
'0839999989' found<br>- No matching rewrite rules for '44113001417'
found<br>- No PSTN gateways available<br></span><br>Please correct me if
I'm wrong but it's not supposed to look for a gateway if the
destination is local? In this case an Alias.<br>I also don't understand
why any of the Rewrite Rules are not hit at any stage of the call setup?<br><br><br>Kind
Regards<br>Deon<br><br><blockquote style="border: 0px none;"
cite="mid:51714090.9060701@mail.sipwise.com" type="cite"><div
style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="dgrotti@sipwise.com" photoname="Daniel Grotti"
src="cid:part1.02000305.05000900@gmail.com" name="postbox-contact.jpg"
width="25px" height="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:dgrotti@sipwise.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Daniel Grotti</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">April 19, 2013
2:03 PM</span></font></div></div></div><div
style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><div>So, in this case you need
to check you Inbound Rewrite Rules for Calee<br>as the callee is
0044113001417 instead of 44113001417, as your alias:<br><br>No matching
rewrite rules for '0044113001417' found<br><br><br>br,<br>Daniel<br><br><br></div><div><!----><br>_______________________________________________<br>Spce-user
mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br><a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a><br></div></div><div
style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="dgrotti@sipwise.com" photoname="Daniel Grotti"
src="cid:part1.02000305.05000900@gmail.com" name="postbox-contact.jpg"
width="25px" height="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:dgrotti@sipwise.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Daniel Grotti</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">April 19, 2013
1:02 PM</span></font></div></div></div><div
style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><div>Hi Deon,<br><br>The call
fails to select a proper PSTN gateway for:<br><br>caller:
<a class="moz-txt-link-freetext" href="sip:44839999989@192.168.0.250">sip:44839999989@192.168.0.250</a><br><br>callee:
<a class="moz-txt-link-freetext" href="sip:0044113001417@192.168.0.250;transport=udp">sip:0044113001417@192.168.0.250;transport=udp</a><br><br><br>It looks like
you don't have any eligible peering rule for this<br>callee/caller.<br>How
your Peering rules looks like ?<br><br>br,<br>Daniel<br><br><br></div><div><!----><br>_______________________________________________<br>Spce-user
mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br><a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a><br></div></div><div
style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="vermeulen.deon@gmail.com" photoname="Deon Vermeulen"
src="cid:part3.04020105.03010602@gmail.com" name="postbox-contact.jpg"
width="25px" height="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:vermeulen.deon@gmail.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Deon Vermeulen</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">April 19, 2013
12:51 PM</span></font></div></div></div><div
style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<div style="font-size:
11pt;font-family: Calibri;"><span><span><span><span style="font-family:
Calibri;">I think I might have resolved the issue to run media-proxy on
multiple
interfaces on the same machine.<br>Once I can confirm this is working
will
I elaborate on how I achieved this.</span> </span></span></span><br><br><span><span>I'm
facing a problem though and it is as follows:<br><br>I'm registered via
SIP Client on my Internal Network <a moz-do-not-send="true"
href="mailto:0839999989@41.218.72.25" class="moz-txt-link-abbreviated">0839999989@192.168.0.250</a>.<br><br>One
of the Carriers is registered to fake subscriber <a
moz-do-not-send="true" href="mailto:0839999999@41.218.72.69"
class="moz-txt-link-abbreviated">0839999999@10.222.0.250</a>
with Alias 44113001417.<br><br>I've made 100% sure that my re-write
rule is set on both the subscribers.<br><br>I make call to 00</span></span><span><span><span>44113001417</span></span>
</span><span><span></span><span><span></span>,
but call fail with " No PSTN gateways available</span> " in the proxy
log.<br><br>I'm also not 100% sure why it is not calling to the local
hosted domain 10.222.0.250</span><span>?<br><br>The LB is listening on
10.222.0.250:6090</span>.<br><span><br>Attached the output of the call
within the proxy log.<br><br><br>Thanks
again for any assistance.<br> </span><br>Kind Regards<br>Deon<br></div></div><div
style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="jbonilla@sipwise.com" photoname="Jon Bonilla (Manwe)"
src="cid:part4.03000507.03050109@gmail.com" name="postbox-contact.jpg"
width="25px" height="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:jbonilla@sipwise.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Jon Bonilla (Manwe)</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">April 18, 2013
11:14 PM</span></font></div></div></div><div
style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><div>El Thu, 18 Apr 2013
14:04:56 +0200<br><br></div><div><!----><br>I have found this
requirement, where the peer requires a vpn or any other<br>tunnel
scenario to be established to send the traffic and they will only accept<br>traffic
from the tunnel. Most common carrier asking for this is British Telecom<br>(BT)<br><br>The
extra_socket option does not work here because the rtp will still be
sent<br>and received in the default ip address, which is not the one
used for the<br>tunnel.<br><br>2 ways of dealing with it:<br><br>*
Create the tunnel in your router. This is the "righ way" (imho). I've
also<br> seen operator purchasing a small cisco router just for this
function. It's<br> easy and cheap.<br><br>* Use an aditional spce to
route the calls between the tunnel and the main<br> spce. This is the
same Thilo achieves with his kamailio-sems combo. This<br> additional
spce will listen in the tunnel address and that ip will be<br>
routeable from/to the main spce's default ip address.<br><br></div><div>_______________________________________________<br>Spce-user
mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br><a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a><br></div></div><div
style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="thilo.bangert@gmail.com" photoname="Thilo Bangert"
src="cid:part5.08030207.01010001@gmail.com"
name="compose-unknown-contact.jpg" width="25px" height="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:thilo.bangert@gmail.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Thilo Bangert</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">April 18, 2013
1:04 PM</span></font></div></div></div><div
style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><pre wrap="">On Thursday, April 18, 2013 11:58:02 AM Deon Vermeulen wrote:
</pre><blockquote type="cite"><pre wrap="">Hi
Can anyone please help me to achieve the following network configuration:
PROVIDER 2
SIP TRUNK
Internal Network ---- SIP TRUNK ----- SPCE ----- SIP TRUNK -----
PROVIDER 1
SIP TRUNK
PROVIDER 3
</pre></blockquote><pre wrap=""><!---->
we have solved this by having provider specific peering gateways, consisting
of a kamailio and sems combo on a different (virtual) host.
kind regards
Thilo
</pre><blockquote type="cite"><pre wrap="">Thanks a lot.
Kind Regards
Deon
</pre></blockquote><pre wrap=""><!---->
_______________________________________________
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></div></blockquote></div></body></html>