[Spce-user] Emergency Calls in Austria with 0720
Matthias Hohl
matthias.hohl at telematica.at
Mon May 30 12:11:47 EDT 2016
Hello,
i am not sure how the inbound rewrite rule for caller would look likes in
this scenario.
I didn't have then the "emergency_" prefix then anymore, so how would spce
knows then, that this is an emergency call?
Or is the suffix independent of the "emergency_" prefix of the rewrite rule?
Can you give me some more details about that?
Von: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag von
Daniel Grotti
Gesendet: Montag, 30. Mai 2016 16:23
An: spce-user at lists.sipwise.com
Betreff: Re: [Spce-user] Emergency Calls in Austria with 0720
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 <mailto: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/bed0fee8/attachment-0001.html>
More information about the Spce-user
mailing list