[Spce-user] Callee Rewrite rule depending on the caller

Andrew Pogrebennyk apogrebennyk at sipwise.com
Wed Mar 6 07:50:29 EST 2019


OK, I see now. This could be of course done with Header Manipulations
rule in mr7.2.1+  but this is PRO-only.
Can't think of a good solution for the CE right now. First thought about
the LNP database but this doesn't do what you want.
Sorry.

On 3/6/19 1:37 PM, Raul Alonso wrote:
>
> Andrew,
>
>  
>
> But the direction I'm referring is peer -> CE->subscriber .
>
>  
>
> Regards,
>
> Raul.
>
>  
>
> *De:*Andrew Pogrebennyk <apogrebennyk at sipwise.com>
> *Enviado el:* miércoles, 6 de marzo de 2019 12:46
> *Para:* Raul Alonso <raul.alonso at tpartner.net>;
> spce-user at lists.sipwise.com
> *Asunto:* Re: [Spce-user] Callee Rewrite rule depending on the caller
>
>  
>
> Hi Paul,
>
> 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.
>
>  
>
> Hope this helps.
>
> Andrew
>
>  
>
> On 3/6/19 12:30 PM, Raul Alonso wrote:
>
>     Hello,
>
>      
>
>     We are adding a new service to our platform.
>
>     The service consists of mobile short numbering. The case is, our
>     provider sends us the call in the following way:
>
>     Caller:Mobile number
>
>     Callee: short company number.
>
>     e.g:
>
>     caller:655543543
>
>     callee:1212
>
>      
>
>     this caller belongs to client A. the callee is generic, i.e. we
>     can receive another call with this type:
>
>      
>
>     caller:633242342
>
>     callee:1212
>
>      
>
>     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
>
>     Is possible via rewrite rules to modify the callee according to
>     the caller?
>
>      
>
>     Regards,
>
>     Raul.
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20190306/44ece5e3/attachment-0001.html>


More information about the Spce-user mailing list