[Spce-user] rate-o-mat stop working after "Redirect from UAC intercepted"
Matthias Hohl
matthias.hohl at telematica.at
Wed May 4 08:19:33 EDT 2016
Hello Everybody,
today i Got the Same problem with another subscriber, who set a UAC Redirect: This time with a "00" and not with a "+" in front of the redirect number.
May 4 13:45:43 spce (local7.notice) proxy[3881]: NOTICE: <script>: Request leaving server, D-URI='sip:127.0.0.1:5080' - R=sip:43316375006 at 185.50.232.57:49632 ID=4ebe57f17ce77f907c4a392c2c1c2ee6 at 79. 111.111.111:5060 UA='GlobalCall+T.38'
May 4 13:45:43 spce (local7.notice) proxy[3886]: NOTICE: <script>: NAT-Reply - S=100 - Connecting M=INVITE IP=79. 111.111.111:5060 (127.0.0.1:5080) ID=4ebe57f17ce77f907c4a392c2c1c2ee6 at 79. 111.111.111:5060 UA='<null>'
May 4 13:45:43 spce (local7.notice) proxy[3876]: NOTICE: <script>: NAT-Reply - S=180 - Ringing M=INVITE IP=79. 111.111.111:5060 (127.0.0.1:5080) ID=4ebe57f17ce77f907c4a392c2c1c2ee6 at 79.111.111.111:5060 UA='A510 IP/42.075.00.000.000'
May 4 13:46:03 spce (local7.notice) proxy[3881]: NOTICE: <script>: NAT-Reply - S=302 - Moved Temporarily M=INVITE IP=79. 111.111.111:5060 (127.0.0.1:5080) ID=4ebe57f17ce77f907c4a392c2c1c2ee6 at 79.170.208.151:5060 UA='A510 IP/42.075.00.000.000'
May 4 13:46:03 spce (local7.notice) proxy[3881]: NOTICE: <script>: Redirect from UAC intercepted - R=sip:00436802033515 at sip.telematica.at;alias=185.50.232.57~49632~1;user=phone;transport=udp ID=4ebe57f17ce77f907c4a392c2c1c2ee6 at 79.170.208.151:5060 UA='GlobalCall+T.38'
May 4 13:46:03 spce (local7.notice) proxy[3881]: NOTICE: <script>: Rewriting called party '00436802033515' to '436802033515' - R=sip:00436802033515 at sip.telematica.at;alias=185.50.232.57~49632~1;user=phone;transport=udp ID=4ebe57f17ce77f907c4a392c2c1c2ee6 at 79.111.111.111:5060 UA='GlobalCall+T.38'
May 4 13:46:03 spce (local7.notice) proxy[3881]: NOTICE: <script>: Callee is not local - R=sip:436802033515 at sip.telematica.at;alias=185.50.232.57~49632~1;user=phone;transport=udp ID=4ebe57f17ce77f907c4a392c2c1c2ee6 at 79.170.208.151:5060 UA='GlobalCall+T.38'
May 4 13:46:03 spce (local7.notice) proxy[3881]: NOTICE: <script>: Call to SIP Peering - R=sip:436802033515 at sip.telematica.at;alias=185.50.232.57~49632~1;user=phone;transport=udp ID=4ebe57f17ce77f907c4a392c2c1c2ee6 at 79.170.208.151:5060 UA='GlobalCall+T.38'
May 4 13:46:03 spce (local7.notice) proxy[3881]: NOTICE: <script>: Load gws matching calling part 'sip:433164811480 at 79.170.208.151' and called user '436802033515' and called part 'sip:436802033515 at sip.telematica.at;alias=185.50.232.57~49632~1;user=phone;transport=udp' - R=sip:436802033515 at sip.telematica.at;alias=185.50.232.57~49632~1;user=phone;transport=udp ID=4ebe57f17ce77f907c4a392c2c1c2ee6 at 79. 111.111.111:5060 UA='GlobalCall+T.38'
May 4 13:46:03 spce (local7.notice) proxy[3881]: NOTICE: <script>: Setting acc source-leg for uuid 'b67f9798-b9d6-4eeb-a6d8-d8db6e79c355': 'b67f9798-b9d6-4eeb-a6d8-d8db6e79c355|43316375006|79.170.208.151|43316375006|1363|1363|41|||<null>|cfb|127.0.0.1|1462362363.735281||||||||||||' - R=sip:436802033515 at 92.63.158.30:5060;transport=udp ID=4ebe57f17ce77f907c4a392c2c1c2ee6 at 79111.111.111:5060 UA='GlobalCall+T.38'
May 4 13:46:03 spce (local7.notice) proxy[3881]: NOTICE: <script>: Setting acc destination-leg for uuid '0': '0|||0|00436802033515|0|436802033515|92.63.158.30|00436802033515|sip.telematica.at|12||||||||||||' - R=sip:436802033515 at 92.63.158.30:5060;transport=udp ID=4ebe57f17ce77f907c4a392c2c1c2ee6 at 79. 111.111.111:5060 UA='GlobalCall+T.38'
The Number will be rewritten, but Rate-o-Mat stops working.
root at spce:~# rate-o-mat: Error rating CDR batch: No outbound fee info for profile 3 and source user '43316375006' or user/domain '43316375006 at 79.111.111.111' and destination user '00436802033515' or user/domain '00436802033515 at 92.11.11.11' found
Any Idea?
-----Ursprüngliche Nachricht-----
Von: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag von Matthias Hohl
Gesendet: Dienstag, 3. Mai 2016 16:00
An: 'Andrew Pogrebennyk' <apogrebennyk at sipwise.com>; 'Rene Krenn' <rkrenn at sipwise.com>; spce-user at lists.sipwise.com
Betreff: Re: [Spce-user] rate-o-mat stop working after "Redirect from UAC intercepted"
Hello,
no i didn't use a costum proxy.cfg.customtt.tt2 file.
I also have the latest apt-get update && apt-get upgrade installed of version 4.3.1
Only things available for upgrading are this packages:
The following packages will be upgraded:
libdatetime-timezone-perl libmysqlclient18 mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 ngcp-asterisk-voicemail-odbcstorage
-----Ursprüngliche Nachricht-----
Von: Andrew Pogrebennyk [mailto:apogrebennyk at sipwise.com]
Gesendet: Dienstag, 3. Mai 2016 15:47
An: Matthias Hohl <matthias.hohl at telematica.at>; 'Rene Krenn' <rkrenn at sipwise.com>; spce-user at lists.sipwise.com
Betreff: Re: [Spce-user] rate-o-mat stop working after "Redirect from UAC intercepted"
Matthias,
what is the version of templates-pro packages you are running: mr4.3.1.5 or older?
We have recently introduced some changes that can be related:
@@ -9368,6 +9369,9 @@ event_route[tm:branch-failure:redirect]
route(ROUTE_EARLY_REJECT);
}
$ru = $var(contact);
+ $(avp(s:callee_base_user)[*]) = $null;
+ $(avp(s:acc_callee_user_in)[*]) = $rU;
+ $(avp(s:acc_callee_domain_in)[*]) = $rd;
# not needed in per-branch failure route?
#append_branch();
^^ almost at the bottom of that file..
Also if you are using proxy.cfg.customtt.tt2 we weed to know if you have those lines in your customtt.
Andrew
On 05/03/2016 12:30 PM, Matthias Hohl wrote:
> Hello,
>
> sure... this one i use for this subscriber. I use 4.3.1:
>
> Inbound Rewrite Rules for Caller
> Match Pattern Replacement Pattern Description Enabled
> ^(00|\+)([1-9][0-9]+)$ \2 International to
> E.164 yes
> ^0([1-9][0-9]+)$ ${caller_cc}\1 National to E.164
> yes
> ^([1-9][0-9]+)$ ${caller_cc}${caller_ac}\1 Local to
> E.164 yes
>
>
> Inbound Rewrite Rules for Callee
> Match Pattern Replacement Pattern Description Enabled
> ^(911|112|122|128|133|140|141|142|144|147)$ emergency_\1
> Tag Emergency Numbers yes
> ^(111[0-9]+|116[0-9]+|118[0-9]+)$ \1
> Sondernummer to E.164 yes
> ^(00|\+)([1-9][0-9]+)$ \2
> International to E.164 yes
> ^0([1-9][0-9]+)$ ${caller_cc}\1
> National to E.164 yes
> ^([1-9][0-9]+)$
> ${caller_cc}${caller_ac}\1 Local to E.164 yes
>
>
> Outbound Rewrite Rules for Caller
> Match Pattern Replacement Pattern Description Enabled
> ^43([1-9][0-9]+)$ 0\1 E.164 to Austria National yes
> ^([1-9][0-9]+)$ 00\1 E.164 to International yes
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag
> von Rene Krenn
> Gesendet: Dienstag, 3. Mai 2016 12:02
> An: spce-user at lists.sipwise.com
> Betreff: [Spce-user] rate-o-mat stop working after "Redirect from UAC
> intercepted"
>
> hello!
>
> rate-o-mat just gets the sip uris to process you see in that error
> message, it does not apply rewrite rules itself. so it must be related
> to the rewrite rule setup (those components got recent updates).
>
> can you give me your rewrite rule setup to check in detail?
_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com
https://lists.sipwise.com/listinfo/spce-user
More information about the Spce-user
mailing list