<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
What if you were to build a subscriber with a call forward unconditional that the number routes to, then you can put the toll free in as the called number in the UCON Forward?</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<table style="font-size:15px;text-align:start;background-color:rgb(255, 255, 255)">
<tbody>
<tr>
<td valign="middle" style="padding-right:10px"><img style="width: 67px; height: 68px;" data-outlook-trace="F:1|T:1" src="cid:7ddb059d-b6f0-4242-9b24-1c2ccb583118"><br>
</td>
<td valign="middle"><b>Greg Stone</b><br>
Senior Voice Network Engineer<br>
Race Communications<br>
<b>E :</b><span style="margin:0px"> greg.stone@race.com</span><br>
<b>P :<span style="margin:0px"> </span></b><span style="margin:0px;font-size:8pt"><i><span style="color:rgb(37, 36, 35);font-family:"Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;font-size:14px;font-style:normal;text-align:center;background-color:rgb(250, 250, 250);display:inline !important">415-376-3306</span></i></span><br>
<b>Web :<span style="margin:0px"> </span></b><a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.race.com%2F&data=04%7C01%7Callracestaff%40race.com%7C0110f233f4ee42d03e8508d9489bf465%7Cc4f7941052bf4601be443afdc7670fe9%7C1%7C0%7C637620656923156401%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YlAIwyP0%2B3z6wavTyMEzOtIg1GK%2BZwwjUzjntvDK9gI%3D&reserved=0" target="_blank" rel="noopener noreferrer" data-auth="Verified" title="Original URL: https://www.race.com/. Click or tap if you trust this link." data-linkindex="1" style="margin:0px">Visit
Race.com</a></td>
</tr>
</tbody>
</table>
<br>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> VoiceOps <voiceops-bounces@voiceops.org> on behalf of Mike Hammett via VoiceOps <voiceops@voiceops.org><br>
<b>Sent:</b> Tuesday, November 8, 2022 8:23 AM<br>
<b>To:</b> Markus <universe@truemetal.org><br>
<b>Cc:</b> voiceops@voiceops.org <voiceops@voiceops.org><br>
<b>Subject:</b> Re: [VoiceOps] Metaswitch Loopback</font>
<div> </div>
</div>
<style type="text/css">
<!--
p
{margin:0}
-->
</style>
<div>
<div style="padding:2pt; border:1pt solid #9C6500">
<div style="background-color:#FFEB9C; margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt; background-color:#FFEB9C"><font size="2" color="#9C6500"><span style="font-size:10pt"><b>CAUTION:</b></span></font><font size="2" color="black"><span style="font-size:10pt">
This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.</span></font></span></font></div>
</div>
<div>
<div style="font-family:arial,helvetica,sans-serif; font-size:10pt; color:#000000">
I do mean called.<br>
<br>
It's for 911. If the SIP trunks fail, I'm supposed to route it over TDM to the toll-free number.<br>
<br>
<div><span name="x_x"></span><br>
<br>
-----<br>
Mike Hammett<br>
Intelligent Computing Solutions<br>
http://www.ics-il.com<br>
<br>
<br>
<br>
Midwest Internet Exchange<br>
http://www.midwest-ix.com<br>
<br>
<span name="x_x"></span><br>
</div>
<br>
<hr id="x_zwchr">
<div style="color:#000; font-weight:normal; font-style:normal; text-decoration:none; font-family:Helvetica,Arial,sans-serif; font-size:12pt">
<b>From: </b>"Markus via VoiceOps" <voiceops@voiceops.org><br>
<b>To: </b>voiceops@voiceops.org<br>
<b>Sent: </b>Tuesday, November 8, 2022 10:18:29 AM<br>
<b>Subject: </b>Re: [VoiceOps] Metaswitch Loopback<br>
<br>
Am 08.11.2022 um 16:38 schrieb Mike Hammett via VoiceOps:<br>
> I'm working a situation where I need to rewrite my called number to a <br>
> toll-free number. Because the rewriting happens after Metaswitch does <br>
> the toll-free lookup, the tandem rejects the call as there's no dip.<br>
<br>
Did you really mean called number or rather calling number? If you can <br>
hook a Asterisk box in between the device where your customers' SIP <br>
calls are coming from and Metaswitch you could rewrite either.<br>
<br>
Overwrite any calls' CLI to calling number 18009999999 and send it out <br>
to "metaswitch01" as defined in sip.conf:<br>
<br>
/etc/asterisk/extensions.conf:<br>
<br>
[incoming-calls-from-customers]<br>
<br>
exten => _X.,1,NoOp<br>
exten => _X.,n,Set(CALLERID(name)=18009999999)<br>
exten => _X.,n,Set(CALLERID(num)=18009999999)<br>
exten => _X.,n,Dial(SIP/${EXTEN}@metaswitch01)<br>
exten => _X.,n,Hangup<br>
<br>
- or - Overwrite any called number and send the call to 18007777777 to <br>
"metaswitch01":<br>
<br>
exten => _X.,1,NoOp<br>
exten => _X.,n,Dial(SIP/18007777777@metaswitch01)<br>
exten => _X.,n,Hangup<br>
<br>
(old Asterisk, before pjsip, but not much different)<br>
<br>
Sample for sip.conf:<br>
<br>
[metaswitch01]<br>
type=peer<br>
host=sip.metaswitch.something<br>
username=maybe-username-or-leave-empty<br>
secret=maybe-password-or-leave-empty<br>
disallow=all<br>
allow=alaw<br>
allow=ulaw<br>
canreinvite=no<br>
dtmfmode=rfc2833<br>
context=nowhere<br>
<br>
[my-internal-pbx-or-sbc]<br>
type=peer<br>
host=10.10.10.10<br>
insecure=port,invite<br>
disallow=all<br>
allow=alaw<br>
allow=ulaw<br>
canreinvite=no<br>
dtmfmode=rfc2833<br>
context=incoming-calls-from-customers<br>
<br>
Good luck<br>
Markus<br>
_______________________________________________<br>
VoiceOps mailing list<br>
VoiceOps@voiceops.org<br>
https://puck.nether.net/mailman/listinfo/voiceops<br>
</div>
<br>
</div>
</div>
</div>
</body>
</html>