<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Paul,</div>
<div class="moz-cite-prefix">you can modify the callee number by
adding one of the special caller-assigned preferences as a prefix,
for example emergency_prefix (or if it's already in use
emergency_suffix). Then you could have an inbound rewrite rule
assigned to calling subscriber/domain. Not sure if it solves your
problem, i.e. if you can describe the necessary rewrite in form of
a regex. The main goal is that the normalized number after inbound
rewrite rules matches callee-subscriber or is routed to the right
peer.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Hope this helps.</div>
<div class="moz-cite-prefix">Andrew<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 3/6/19 12:30 PM, Raul Alonso wrote:<br>
</div>
<blockquote type="cite"
cite="mid:545601d4d410$096694f0$1c33bed0$@tpartner.net">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We are adding a new service to our platform.<o:p></o:p></p>
<p class="MsoNormal">The service consists of mobile short
numbering. The case is, our provider sends us the call in the
following way:<o:p></o:p></p>
<p class="MsoNormal">Caller:Mobile number<o:p></o:p></p>
<p class="MsoNormal">Callee: short company number.<o:p></o:p></p>
<p class="MsoNormal">e.g:<o:p></o:p></p>
<p class="MsoNormal">caller:655543543<o:p></o:p></p>
<p class="MsoNormal">callee:1212<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">this caller belongs to client A. the callee
is generic, i.e. we can receive another call with this type:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">caller:633242342<o:p></o:p></p>
<p class="MsoNormal">callee:1212<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">in this case the caller is from client B but
the callee is the same, so we need to modify it depending on the
caller<o:p></o:p></p>
<p class="MsoNormal">Is possible via rewrite rules to modify the
callee according to the caller?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Raul.</p>
</blockquote>
<p><br>
</p>
</body>
</html>