[Spce-user] Peering Rules für Peering Server

Marco Teixeira admin at marcoteixeira.com
Sat Jan 2 11:06:11 EST 2016


Thank you Andrew for that pointer. It was helpfull for a situation i was
trying to surpass.

Happy new year to all on the list !


---
Marco
---


On Wed, Dec 23, 2015 at 12:03 PM, Andrew Pogrebennyk <
apogrebennyk at sipwise.com> wrote:

> Hi,
> we have been using the inbound rewrite rule for calling number, since if
> you add the prefix to the called number that breaks subscriber lookup
> for on-net calls. The prefix can be provisioned in the caller preference
> e.g. emergency_suffix, which is available in rewrite rules as
> ${caller_emergency_suffix}.
>
> Alternatively, Matthias you can change the proxy.cfg:
> >         $var(lcr_match_content) = "sip:" +
> $avp(s:first_caller_cli_userprov) + "@" + $avp(s:caller_domain_netprov);
> >         xlog("L_NOTICE", "Load gws matching calling part
> '$var(lcr_match_content)' and called user '$rU' and called part '$ru' - [%
> logreq -%]\n");
>
> Trying replacing $avp(s:first_caller_cli_userprov) with
> $avp(s:acc_caller_user) for example in the lcr_match_content.
>
> Hope this helps.
> Andrew
>
> On 12/22/2015 11:13 PM, John Murray wrote:
> > Matthias hi,
> >
> > One option is:
> > in the subscribers rewrite ruleset add a prefix to the dialled number,
> > eg. xyz.
> > Then have a routing rule for xyz... to that peer and the peers rewrite
> > typeset removes it before sending.
> > You can then add the same subscriber ruleset to any subscriber you want
> > to route that way.
> >
> > Regards
> > John
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20160102/e9858de3/attachment.html>


More information about the Spce-user mailing list