[Spce-user] Emergency Calls in Austria with 0720

Matthias Hohl matthias.hohl at telematica.at
Fri Jan 6 15:44:41 EST 2017


Hello,

 

yes this is an austrian specific issue with this 0720 AC for emergency
calls.

 

If you try to call an emergency number (120, 122, 133 or whatever) you get
this back:

 

Jan  6 17:44:16 spce proxy[3717]: NOTICE: <script>: Setting
caller_cli_userprov/caller_domain_userprov '43720266497 at sip.telematica.at'
for upn - R=sip:emergency_144 at 92.63.158.30:5060;transport=udp
ID=1385091644-19093-12 at BHC.BG.F.BAC UA='Grandstream GXP2130 1.0.7.97'

Jan  6 17:44:16 spce proxy[3717]: NOTICE: <script>: Setting From to
'<sip:43720266497 at sip.telematica.at>' -
R=sip:emergency_144 at 92.63.158.30:5060;transport=udp
ID=1385091644-19093-12 at BHC.BG.F.BAC UA='Grandstream GXP2130 1.0.7.97'

Jan  6 17:44:16 spce proxy[3717]: NOTICE: <script>: Setting
caller_cli_netprov/caller_domain_netprov '43720266497 at sip.telematica.at' for
npn - R=sip:emergency_144 at 92.63.158.30:5060;transport=udp
ID=1385091644-19093-12 at BHC.BG.F.BAC UA='Grandstream GXP2130 1.0.7.97'

Jan  6 17:44:16 spce proxy[3717]: NOTICE: <script>: Setting PAI to
'<sip:43720266497 at sip.telematica.at>' -
R=sip:emergency_144 at 92.63.158.30:5060;transport=udp
ID=1385091644-19093-12 at BHC.BG.F.BAC UA='Grandstream GXP2130 1.0.7.97'

Jan  6 17:44:16 spce proxy[3717]: NOTICE: <script>: Rewriting called party
'emergency_144' to '43720144' -
R=sip:emergency_144 at 92.63.158.30:5060;transport=udp
ID=1385091644-19093-12 at BHC.BG.F.BAC UA='Grandstream GXP2130 1.0.7.97'

Jan  6 17:44:16 spce proxy[3717]: NOTICE: <script>: Setting
P-Called-Party-ID '<sip:43720144 at 92.63.158.30>' -
R=sip:43720144 at 92.63.158.30:5060;transport=udp
ID=1385091644-19093-12 at BHC.BG.F.BAC UA='Grandstream GXP2130 1.0.7.97'

...

Jan  6 17:44:17 spce proxy[3713]: NOTICE: <script>: NAT-Reply - S=484 -
Address Incomplete M=INVITE

 

Austrian regulatory doesn’t allow 720 as AC for emergency calls, so in case
of an emergency call the AC „720“ must be rewritten to „1“ or any other
valid AC from Austria. But „1“ for vienna should be the preferred AC.

 

The problem ist hat i have hundreds of subsribers with 43 720 numbers out
there, so patching it manually on every subscriber device is no real deal to
make this work.

 

Must better would be a rewrite rule solution that makes a IF request: 

IF emergency call detected AND if B area code is 43 720 THEN rewrite area
code to 43 1.

This would be the best fitting solution for this problem, cause i can set
this globally on the server.

 

At the peering i have this rewrite rule for Outbound rewrite rules for
callee:

^emergency_(.+)$ à ${caller_cc}${caller_ac}\1

 

So it not about the number oft he caller it is just about the Rewrite rule
the peer use fort he Callee to make from an emergency number a valid Caller
CC and caller AC number.. and there he use the wrong Caller AC number in
case of 43 720 numbers.

 

 

BTW: the solution i wrote several months ago with this
„${emergency_suffix}=invalidAC_“
 what about this? What you meant with this
in your first answer to this topic?

 

 

Yes it would be very nice if you could provide me a solution for this
 

 

 

In the meantime i use this workarround:

i open the subscriber settings and go to number manipulations and overwrite
the Area code „720“ manually with „1“. Then i can place the call.

 

Jan  6 21:36:06 spce proxy[3707]: NOTICE: <script>: Setting
caller_cli_userprov/caller_domain_userprov '43720266497 at sip.telematica.at'
for upn - R=sip:emergency_144 at 92.63.158.30:5060;transport=udp
ID=1108595425-19093-13 at BHC.BG.F.BAC UA='Grandstream GXP2130 1.0.7.97'

Jan  6 21:36:06 spce proxy[3707]: NOTICE: <script>: Setting From to
'<sip:43720266497 at sip.telematica.at>' -
R=sip:emergency_144 at 92.63.158.30:5060;transport=udp
ID=1108595425-19093-13 at BHC.BG.F.BAC UA='Grandstream GXP2130 1.0.7.97'

Jan  6 21:36:06 spce proxy[3707]: NOTICE: <script>: Setting
caller_cli_netprov/caller_domain_netprov '43720266497 at sip.telematica.at' for
npn - R=sip:emergency_144 at 92.63.158.30:5060;transport=udp
ID=1108595425-19093-13 at BHC.BG.F.BAC UA='Grandstream GXP2130 1.0.7.97'

Jan  6 21:36:06 spce proxy[3707]: NOTICE: <script>: Setting PAI to
'<sip:43720266497 at sip.telematica.at>' -
R=sip:emergency_144 at 92.63.158.30:5060;transport=udp
ID=1108595425-19093-13 at BHC.BG.F.BAC UA='Grandstream GXP2130 1.0.7.97'

Jan  6 21:36:06 spce proxy[3707]: NOTICE: <script>: Rewriting called party
'emergency_144' to '431144' -
R=sip:emergency_144 at 92.63.158.30:5060;transport=udp
ID=1108595425-19093-13 at BHC.BG.F.BAC UA='Grandstream GXP2130 1.0.7.97'

Jan  6 21:36:06 spce proxy[3707]: NOTICE: <script>: Setting
P-Called-Party-ID '<sip:431144 at 92.63.158.30>' -
R=sip:431144 at 92.63.158.30:5060;transport=udp
ID=1108595425-19093-13 at BHC.BG.F.BAC UA='Grandstream GXP2130 1.0.7.97'




Jan  6 21:36:07 spce proxy[3717]: NOTICE: <script>: NAT-Reply - S=183 -
Session Progress

 

 

 

Von: Daniel Grotti [mailto:dgrotti at sipwise.com] 
Gesendet: Freitag, 6. Jänner 2017 18:24
An: Matthias Hohl <matthias.hohl at telematica.at>
Cc: spce-user at lists.sipwise.com
Betreff: Re: AW: AW: [Spce-user] Emergency Calls in Austria with 0720

 

Hi, 

Ok I see. I get it know.

You need a patch in kamailio to achieve that, cause you cannot modify the
Caller number BASED on Callee number.

I can have a look at that and provide with a solution.

 

Can't you allow your phones to set the From with the AC 1, and you add that
number on your allowed_cli list as well as as ALIAS number of that
subscriber ?

In this way they will go out always with 1, bit they can be called back. Or
just add the alias, is that possible?

Sorry I don't know this 720 AC issue so well.

 

Daniel

 
<http://t.sidekickopen65.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v4
LQ_-W2BpsbF8p-VDHN4WJ21WQFLCHW115b5_1k1H6H0?si=6582522784514048&pi=1792f66c-
c6a9-4175-8019-20a1be2fd5df> 

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


More information about the Spce-user mailing list