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

Matthias Hohl matthias.hohl at telematica.at
Mon May 2 12:45:39 EDT 2016


Hello, 

today i found out a strange problem: 

rate-o-mat was broken. 

root at spce:~# rate-o-mat: Error rating CDR batch: No outbound fee info for profile 3 and source user '43316375573' or user/domain '43316375573 at 79.111.111.111' and destination user '+436767010111' or user/domain '+436767010111 at 79.111.111.111' found 

i checked the proxy log and found out this: 

May 2 14:01:29 spce (local7.notice) proxy[3464]: NOTICE: <script>: Request leaving server, D-URI='sip:127.0.0.1:5080' - R=sip:43720371371 at 192.168.178.78:46890 ID=4f2a4d2e07e97ede2f164987616b32a8 at 79.111.111.111:5060 UA='GlobalCall+T.38' 
May 2 14:01:29 spce (local7.notice) proxy[3463]: NOTICE: <script>: NAT-Reply - S=100 - Connecting M=INVITE IP=79.111.111.111:5060 (127.0.0.1:5080) ID=4f2a4d2e07e97ede2f164987616b32a8 at 79.111.111.111:5060 UA='<null>' 
May 2 14:01:29 spce (local7.notice) proxy[3462]: NOTICE: <script>: NAT-Reply - S=302 - Moved Temporarily M=INVITE IP=79.111.111.111:5060 (127.0.0.1:5080) ID=4f2a4d2e07e97ede2f164987616b32a8 at 79.111.111.111:5060 UA='Grandstream GXP2100 1.0.6.11' 
May 2 14:01:29 spce (local7.notice) proxy[3462]: NOTICE: <script>: Redirect from UAC intercepted - R=sip:+436767010111 at sip.telematica.at;alias=185.50.234.181~46890~1;transport=udp ID=4f2a4d2e07e97ede2f164987616b32a8 at 79.111.111.111:5060 UA='GlobalCall+T.38' 
May 2 14:01:29 spce (local7.notice) proxy[3462]: NOTICE: <script>: Rewriting called party '+436767010111' to '436767010111' - R=sip:+436767010111 at sip.telematica.at;alias=185.50.234.181~46890~1;transport=udp ID=4f2a4d2e07e97ede2f164987616b32a8 at 79.111.111.111:5060 UA='GlobalCall+T.38' 
May 2 14:01:29 spce (local7.notice) proxy[3462]: NOTICE: <script>: Callee is not local - R=sip:436767010111 at sip.telematica.at;alias=185.50.234.181~46890~1;transport=udp ID=4f2a4d2e07e97ede2f164987616b32a8 at 79.111.111.111:5060 UA='GlobalCall+T.38' 
May 2 14:01:29 spce (local7.notice) proxy[3462]: NOTICE: <script>: Call to SIP Peering - R=sip:436767010111 at sip.telematica.at;alias=185.50.234.181~46890~1;transport=udp ID=4f2a4d2e07e97ede2f164987616b32a8 at 79.111.111.111:5060 UA='GlobalCall+T.38' 
May 2 14:01:29 spce (local7.notice) proxy[3462]: NOTICE: <script>: Load gws matching calling part 'sip:4975338030997 at 79.111.111.111' and called user '436767010111' and called part 'sip:436767010111 at sip.telematica.at;alias=185.50.234.181~46890~1;transport=udp' - R=sip:436767010111 at sip.telematica.at;alias=185.50.234.181~46890~1;transport=udp ID=4f2a4d2e07e97ede2f164987616b32a8 at 79.111.111.111:5060 UA='GlobalCall+T.38' 
May 2 14:01:29 spce (local7.notice) proxy[3462]: NOTICE: <script>: Setting acc source-leg for uuid 'c06d96e5-cdd2-484d-945b-c0227896d27e': 'c06d96e5-cdd2-484d-945b-c0227896d27e|43720371371|79.111.111.111|43316375573|1720|1720|60|||<null>|cfb|127.0.0.1|1462190489.837227||||||||||||' - R=sip:436767010111 at 79.111.111.111:5060;transport=udp ID=4f2a4d2e07e97ede2f164987616b32a8 at 79.111.111.111:5060 UA='GlobalCall+T.38' 
May 2 14:01:29 spce (local7.notice) proxy[3462]: NOTICE: <script>: Setting acc destination-leg for uuid '0': '0|||0|+436767010111|0|436767010111|79.111.111.111|+436767010111|sip.telematica.at|4||||||||||||' - R=sip:436767010111 at 79.111.111.111:5060;transport=udp ID=4f2a4d2e07e97ede2f164987616b32a8 at 79.111.111.111:5060 UA='GlobalCall+T.38' 



SPCE is rewriting the number right for callee but rate-o-mate still stops working, cause the see this "+" in the number and found no billing profile for it. 
but don't know where i should set the rewrite rule anywhere else just for the redirect number. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20160502/845e656f/attachment.html>


More information about the Spce-user mailing list