<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="font-family: MyriadPro-Regular;">Ok, i thought so already. So the question then is how can i make the phones ring that are registered to SBCE when a call comes in from another phone connected to the PBX behind it? In SBCE the subscriber also has remote authentication to the PBX.</span><br style="font-family: MyriadPro-Regular;"><br style="font-family: MyriadPro-Regular;"><span style="font-family: MyriadPro-Regular;">So call is as follow:</span><br style="font-family: MyriadPro-Regular;"><br style="font-family: MyriadPro-Regular;"><span style="font-family: MyriadPro-Regular;">PHONE1 —> PBX </span><br style="font-family: MyriadPro-Regular;"><span style="font-family: MyriadPro-Regular;">PHONE 2—> SBCE — PBX</span><br style="font-family: MyriadPro-Regular;"><br style="font-family: MyriadPro-Regular;"><span style="font-family: MyriadPro-Regular;">Its the same PBX only 1 phone registered to the PBX and the other one to SBCE.</span><div><font face="MyriadPro-Regular"><br></font></div><div><font face="MyriadPro-Regular"><br></font></div><div><font face="MyriadPro-Regular"><br></font><div apple-content-edited="true"><span style="color: rgb(0, 0, 0); font-family: 'Myriad Pro'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="color: rgb(0, 0, 0); font-family: 'Myriad Pro'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><font face="Myriad Pro"><div><br></div></font></span></div><br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: 'Myriad Pro'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline">
</span></div>
<br><div style=""><div>Op 29 okt. 2013, om 14:48 heeft Daniel Grotti <<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>> het volgende geschreven:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<br>you can't rewrite the domain part of RURI with RR, just only the User part.<br>The domain part will be rewrite afterwards - if needed - for example<br>after a peer selection for outgoing calls.<br><br>Daniel<br><br><br><br>On 10/29/2013 02:41 PM, Rogier Banis wrote:<br><blockquote type="cite">Hi y’all,<br><br>I don’t quite understand something on the rewrite rules on a Peer.<br>My PBX behind the SBCE is connected thru a peer. On that peer i have defined number manipulation by rewrite rules.<br><br>Now a call from my PBX comes to sbce. It is from a user directly registered to the pbx to a user that is registered thru the SBCE. In my Proxy logs i see the following:<br><br>Oct 29 14:34:35 sbc proxy[3661]: NOTICE: <script>: New request - M=INVITE R=sip:0009*201@11.222.333.444:5060;uuid=3ecb8269-9d87-4e3e-9971-781ed2883b25 F=sip:231@55.666.77.888 T=sip:0009*201@55.666.77.888:5060 IP=55.666.77.888:5060 (127.0.0.1:5060) ID=2f7b937e4d783aa428c3cb944d7843d3@55.666.77.888:5050<br><br>Now i have a Rewrite Rule Incoming Callee on the peer with the following details:<br>Match Pattern: @11\.222\.333\.444<br>Replacement Pattern: @sbc.host.name<br><br>The Subscriber 0009*201 is registered to the sbce with this domain sbc.host.name<br><br><br>So it looks like that the ipaddress in the request is not replaced with the domain name. How can i make this happen?<br><br>Thank you very much..<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>http://lists.sipwise.com/listinfo/spce-user<br><br></blockquote><br>_______________________________________________<br>Spce-user mailing list<br><a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>http://lists.sipwise.com/listinfo/spce-user<br></blockquote></div><br></div></body></html>