[Spce-user] Emergency Calls in Austria with 0720
Daniel Grotti
dgrotti at sipwise.com
Mon May 30 10:22:51 EDT 2016
Hi,
you can use Rewrite rules as well.
For your target subscriber you can populate the "emergency_suffix", and
then use it ${emergency_suffix}=invalidAC_ in the inbound rewrite rule
for caller, to prefix the value for call to emergency number.
Then on Peering side you can intercept the ${emergency_suffix} caller,
remove the prefix, the 43720 and substitute it with 431, this is in the
peer's outbound rewrite rule for caller:
^invalidAC_43720([0-9]+) ----> 431\1
this should work.
Daniel
On 05/30/2016 04:01 PM, Matthias Hohl wrote:
>
> Hello,
>
> Calling an emergency number from a 43 720 123456 number will currently
> fail, cause “720” is no valid AC prefix in Austria.
>
> So I must rewrite “720” to AC “1” to fix that problem.
>
> I have done this currently in the subscriber settings that I rewrite
> the AC Code “720” with “1” but I was thinking about if this is the
> right handling to fix this problem?
>
> I was thinking about rewrite rules, but afaik there is no batch
> working with rewrite rules, so the first rule will match and stop, so
> I can’t first remove emergency_ and then check if “720” is AC and if
> yes then “rewrite it with “1”.
>
> Any other ideas?
>
> thanks
>
>
>
> _______________________________________________
> 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/pipermail/spce-user_lists.sipwise.com/attachments/20160530/276c9563/attachment-0001.html>
More information about the Spce-user
mailing list