[Spce-user] rate-o-mat stop working after "Redirect from UAC intercepted"

Andrew Pogrebennyk apogrebennyk at sipwise.com
Tue May 3 09:46:54 EDT 2016


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?




More information about the Spce-user mailing list