[Spce-user] R: R: Re: R: UPRN - History Info

Danilo Smaldone - sip:wise dsmaldone at sipwise.com
Wed Jun 6 06:49:27 EDT 2018


Hi Alessandro,

can youplease provide the full log

"grep 919548-5537ba8-13c4-5506-12ea3-54437dbc-12ea3 
/var/log/ngcp/kamailio-proxy.log"


BTW what RR you changed?

Regards


On 2018-06-06 12:43, Alessandro Romano wrote:
>
> Hi daniel,
>
> if i made the suggested change, the history info is ok but, i have 
> 3939089330492 instead of 39089330492 for all calls, i think that other 
> roules are wrong
>
> Jun  6 12:39:54 spce proxy[1499]: NOTICE: <script>: New request on 
> proxy - M=PRACK R=sip:127.0.0.1:5080;prxroute=1 
> F=sip:0899948100 at sip.positivonet.it T=sip:089330492 at sip.positivonet.it 
> IP=5.83.123.168:5060 (127.0.0.1:5060) 
> ID=919548-5537ba8-13c4-5506-12ea3-54437dbc-12ea3 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:39:58 spce proxy[1499]: NOTICE: <script>: New request on 
> proxy - M=CANCEL R=sip:089330492 at sip.positivonet.it 
> F=sip:0899948100 at sip.positivonet.it T=sip:089330492 at sip.positivonet.it 
> IP=5.83.123.168:5060 (127.0.0.1:5060) 
> ID=919548-5537ba8-13c4-5506-12ea3-54437dbc-12ea3 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:39:58 spce proxy[1485]: NOTICE: <script>: New request on 
> proxy - M=ACK R=sip:089330492 at sip.positivonet.it 
> F=sip:0899948100 at sip.positivonet.it T=sip:089330492 at sip.positivonet.it 
> IP=5.83.123.168:5060 (127.0.0.1:5060) 
> ID=919548-5537ba8-13c4-5506-12ea3-54437dbc-12ea3 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1493]: NOTICE: <script>: New request on 
> proxy - M=INVITE R=sip:089330492 at sip.positivonet.it 
> F=sip:0899948100 at sip.positivonet.it T=sip:089330492 at sip.positivonet.it 
> IP=5.83.123.168:5060 (127.0.0.1:5060) 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: New request on 
> proxy - M=INVITE R=sip:089330492 at sip.positivonet.it 
> F=sip:0899948100 at sip.positivonet.it T=sip:089330492 at sip.positivonet.it 
> IP=5.83.123.168:5060 (127.0.0.1:5060) 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: User-Provided CLI 
> '0899948100' taken from From-User - R=sip:089330492 at sip.positivonet.it 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: Rewriting 
> user-provided CLI '0899948100' to '390899948100' - 
> R=sip:089330492 at sip.positivonet.it 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: User-provided CLI 
> '390899948100' accepted (matched user preference) - 
> R=sip:089330492 at sip.positivonet.it 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: Setting 
> '390899948100 at sip.positivonet.it' as initiating user-provided CLI - 
> R=sip:089330492 at sip.positivonet.it 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: Setting 
> '390899948100 at sip.positivonet.it' as initiating network-provided CLI - 
> R=sip:089330492 at sip.positivonet.it 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: Load gws matching 
> calling part 'sip:390899948100 at sip.positivonet.it' and called user 
> '3939089330492' and called part 'sip:3939089330492 at sip.positivonet.it' 
> - R=sip:3939089330492 at sip.positivonet.it 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: Rewriting acc 
> caller party '390899948100' to '0899948100' - 
> R=sip:3939089330492 at 185.29.248.37:5060;transport=udp 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: Setting acc 
> source-leg for uuid 'f5f17758-3e8b-4d6d-9a5b-c96f3c5cd984': 
> 'f5f17758-3e8b-4d6d-9a5b-c96f3c5cd984|0899948100|sip.positivonet.it|390899948100|||6|||0|call|5.83.123.168|1528281626.549603||||||||||||0899948100||' 
> - R=sip:3939089330492 at 185.29.248.37:5060;transport=udp 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: Rewriting first 
> user-provided CLI '390899948100' to '0899948100' - 
> R=sip:3939089330492 at 185.29.248.37:5060;transport=udp 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: Rewriting first 
> network-provided CLI '390899948100' to '0899948100' - 
> R=sip:3939089330492 at 185.29.248.37:5060;transport=udp 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: Setting 
> caller_cli_netprov/caller_domain_netprov 
> '0899948100 at sip.positivonet.it' for npn - 
> R=sip:3939089330492 at 185.29.248.37:5060;transport=udp 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: Setting From to 
> '<sip:0899948100 at sip.positivonet.it>' - 
> R=sip:3939089330492 at 185.29.248.37:5060;transport=udp 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: Setting 
> caller_cli_netprov/caller_domain_netprov 
> '0899948100 at sip.positivonet.it' for npn - 
> R=sip:3939089330492 at 185.29.248.37:5060;transport=udp 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:26 spce proxy[1485]: NOTICE: <script>: Setting PAI to 
> '<sip:0899948100 at sip.positivonet.it>' - 
> R=sip:3939089330492 at 185.29.248.37:5060;transport=udp 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:27 spce proxy[1497]: NOTICE: <script>: New request on 
> proxy - M=PRACK R=sip:127.0.0.1:5080;prxroute=1 
> F=sip:0899948100 at sip.positivonet.it T=sip:089330492 at sip.positivonet.it 
> IP=5.83.123.168:5060 (127.0.0.1:5060) 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:34 spce proxy[1493]: NOTICE: <script>: New request on 
> proxy - M=CANCEL R=sip:089330492 at sip.positivonet.it 
> F=sip:0899948100 at sip.positivonet.it T=sip:089330492 at sip.positivonet.it 
> IP=5.83.123.168:5060 (127.0.0.1:5060) 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> Jun  6 12:40:34 spce proxy[1489]: NOTICE: <script>: New request on 
> proxy - M=ACK R=sip:089330492 at sip.positivonet.it 
> F=sip:0899948100 at sip.positivonet.it T=sip:089330492 at sip.positivonet.it 
> IP=5.83.123.168:5060 (127.0.0.1:5060) 
> ID=919730-5537ba8-13c4-5506-12ec4-5497d5b-12ec4 UA='Epicentro - YAPS 
> ADB Stack on 63168'
>
> *Da:*Spce-user <spce-user-bounces at lists.sipwise.com> *Per conto di 
> *Daniel Grotti
> *Inviato:* mercoledì 6 giugno 2018 12.02
> *A:* spce-user at lists.sipwise.com
> *Oggetto:* Re: [Spce-user] R: Re: R: UPRN - History Info
>
> Hi,
> the following rule is wrong in the peering Inbound Rewrite Rules for 
> Callee:
>
>
> ^0([1-9][0-9]+)$ ${caller_cc}0\1 National to E.164 yes
>
>
> as variable ${caller_cc} is empty for calls coming from the Peer. You 
> can use ${caller_XX} only on domain/subscriber level, not peering level.
> On peer you should have:
>
>
> ^0([1-9][0-9]+)$ 390\1 National to E.164 yes
>
>
> as your internal numbers are Italian numbers.
>
> Daniel
>
>
>
>
> On 06/06/2018 11:53 AM, Alessandro Romano wrote:
>
>     Hi daniel,
>
>     what is the missing or wrong roule?
>
>     BR
>
>     *Da:*Daniel Grotti <dgrotti at sipwise.com> <mailto:dgrotti at sipwise.com>
>     *Inviato:* mercoledì 6 giugno 2018 11.32
>     *A:* Alessandro Romano <alessandro.romano at rpeng.it>
>     <mailto:alessandro.romano at rpeng.it>
>     *Oggetto:* Fwd: Re: [Spce-user] R: UPRN - History Info
>
>     fyi
>
>
>
>     -------- Forwarded Message --------
>
>     *Subject: *
>
>     	
>
>     Re: [Spce-user] R: UPRN - History Info
>
>     *Date: *
>
>     	
>
>     Wed, 6 Jun 2018 10:54:29 +0200
>
>     *From: *
>
>     	
>
>     Daniel Grotti <dgrotti at sipwise.com> <mailto:dgrotti at sipwise.com>
>
>     *To: *
>
>     	
>
>     spce-user at lists.sipwise.com <mailto:spce-user at lists.sipwise.com>
>
>     Hi,
>
>     imho problem is here:
>
>     Jun  6 10:15:23 spce proxy[1493]: NOTICE: <script>: Rewriting
>     called party '0899948150' to '0899948150' -
>     R=sip:0899948150 at sip.positivonet.it;user=phone
>     <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>     ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>     <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>     UA='TELES-SBC'
>
>     You are not properly rewriting the called number from Local format
>     to E164 format (390899...).
>     Since HIH requires to be in an international format, a + is added,
>     in order to have +390899....
>
>
>     Daniel
>
>
>
>     On 06/06/2018 10:46 AM, Danilo Smaldone - sip:wise wrote:
>
>
>         Hi Alessandro,
>
>         can you please provide the log increasing the verbosity with
>         "ngcp-kamctl proxy fifo debug 2"
>
>         Please reset the log to 1 with "ngcp-kamctl proxy fifo debug
>         1" after done
>
>         Regards
>
>         On 2018-06-06 10:30, Alessandro Romano wrote:
>
>             Hi Daniel,
>
>             the full log :
>
>             Jun 6 10:15:09 spce proxy[1489]: NOTICE: <script>: New
>             request on proxy - M=ACK
>             R=sip:3351402534 at sip.positivonet.it
>             <mailto:R=sip:3351402534 at sip.positivonet.it>
>             F=sip:089330492 at telecomitalia.it;user=phone
>             <mailto:F=sip:089330492 at telecomitalia.it;user=phone>
>             T=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:T=sip:0899948150 at sip.positivonet.it;user=phone>
>             IP=127.0.0.1:5080 (127.0.0.1:5080)
>             ID=f515e00016f5-5b1797fe-16408273-2b048708-168 at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b1797fe-16408273-2b048708-168 at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:09 spce proxy[1493]: NOTICE: <script>: New
>             request on proxy - M=ACK
>             R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             F=sip:089330492 at telecomitalia.it;user=phone
>             <mailto:F=sip:089330492 at telecomitalia.it;user=phone>
>             T=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:T=sip:0899948150 at sip.positivonet.it;user=phone>
>             IP=185.29.248.37:5060 (127.0.0.1:5060)
>             ID=f515e00016f5-5b1797fe-16408273-2b048708-168 at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b1797fe-16408273-2b048708-168 at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>: New
>             request on proxy - M=INVITE
>             R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             F=sip:089330492 at telecomitalia.it;user=phone
>             <mailto:F=sip:089330492 at telecomitalia.it;user=phone>
>             T=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:T=sip:0899948150 at sip.positivonet.it;user=phone>
>             IP=185.29.248.37:5060 (127.0.0.1:5060)
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>: Call
>             from PSTN - R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>: Inbound
>             peering group '1' matched, looking up peer host -
>             R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>:
>             Selected peering host id '1' as inbound peer -
>             R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>: Dialog
>             managed,
>             lua_dlg_callid:[f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>]
>             - R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>:
>             User-Provided CLI '089330492' taken from From-User -
>             R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>:
>             Network-Provided CLI '089330492' taken from From-User -
>             R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>:
>             Rewriting user-provided CLI '089330492' to '089330492' -
>             R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>:
>             Rewriting network-provided CLI '089330492' to '089330492'
>             - R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>: Setting
>             '089330492 at telecomitalia.it
>             <mailto:089330492 at telecomitalia.it>' as initiating
>             user-provided CLI -
>             R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>: Setting
>             '089330492 at telecomitalia.it
>             <mailto:089330492 at telecomitalia.it>' as initiating
>             network-provided CLI -
>             R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>:
>             Rewriting called party '0899948150' to '0899948150' -
>             R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>: Callee
>             is local, uuid='97a941a4-ad1e-4d0a-bb26-15608094d21d' -
>             R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>: CFU to
>             CF map id '13' found -
>             R=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:R=sip:0899948150 at sip.positivonet.it;user=phone>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>: Setting
>             acc destination-leg for uuid
>             '97a941a4-ad1e-4d0a-bb26-15608094d21d':
>             '0|||6|0899948150|97a941a4-ad1e-4d0a-bb26-15608094d21d|0899948150|sip.positivonet.it|0899948150|sip.positivonet.it|0||||||||||||0899948150||'
>             - R=sip:3351402534 at sip.positivonet.it
>             <mailto:R=sip:3351402534 at sip.positivonet.it>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1493]: NOTICE: <script>: Setting
>             History-Info (HUNT route) to
>             '<sip:+0899948150 at sip.positivonet.it:5060;user=phone>
>             <mailto:sip:+0899948150 at sip.positivonet.it:5060;user=phone>;index=1'
>             - R=sip:3351402534 at sip.positivonet.it
>             <mailto:R=sip:3351402534 at sip.positivonet.it>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='TELES-SBC'
>
>             Jun 6 10:15:23 spce proxy[1485]: NOTICE: <script>: New
>             request on proxy - M=INVITE
>             R=sip:3351402534 at sip.positivonet.it
>             <mailto:R=sip:3351402534 at sip.positivonet.it>
>             F=sip:089330492 at telecomitalia.it;user=phone
>             <mailto:F=sip:089330492 at telecomitalia.it;user=phone>
>             T=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:T=sip:0899948150 at sip.positivonet.it;user=phone>
>             IP=127.0.0.1:5080 (127.0.0.1:5080)
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:23 spce proxy[1485]: NOTICE: <script>:
>             User-Provided Redirecting CLI '390899948150' taken from
>             NPN - R=sip:3351402534 at sip.positivonet.it
>             <mailto:R=sip:3351402534 at sip.positivonet.it>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:23 spce proxy[1485]: NOTICE: <script>:
>             User-provided CLI '390899948150' accepted (matched user
>             preference) - R=sip:3351402534 at sip.positivonet.it
>             <mailto:R=sip:3351402534 at sip.positivonet.it>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:23 spce proxy[1485]: NOTICE: <script>:
>             User-provided Redirecting CLI '390899948150' accepted
>             (matched user preference) -
>             R=sip:3351402534 at sip.positivonet.it
>             <mailto:R=sip:3351402534 at sip.positivonet.it>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:23 spce proxy[1485]: NOTICE: <script>:
>             Rewriting acc caller party '390899948150' to '0899948150'
>             - R=sip:3351402534 at 185.29.248.37:5060;transport=udp
>             <mailto:R=sip:3351402534 at 185.29.248.37:5060;transport=udp>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:23 spce proxy[1485]: NOTICE: <script>: Setting
>             acc source-leg for uuid
>             '97a941a4-ad1e-4d0a-bb26-15608094d21d':
>             '97a941a4-ad1e-4d0a-bb26-15608094d21d|0899948150|sip.positivonet.it|390899948150|||6|||0|cfu|127.0.0.1|1528272923.531749||||||||||||0899948150||'
>             - R=sip:3351402534 at 185.29.248.37:5060;transport=udp
>             <mailto:R=sip:3351402534 at 185.29.248.37:5060;transport=udp>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:23 spce proxy[1485]: NOTICE: <script>:
>             Rewriting user-provided Redirecting CLI '390899948150' to
>             '0899948150' -
>             R=sip:3351402534 at 185.29.248.37:5060;transport=udp
>             <mailto:R=sip:3351402534 at 185.29.248.37:5060;transport=udp>
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:30 spce proxy[1487]: NOTICE: <script>: New
>             request on proxy - M=PRACK R=sip:127.0.0.1:5080;prxroute=1
>             F=sip:089330492 at telecomitalia.it;user=phone
>             <mailto:F=sip:089330492 at telecomitalia.it;user=phone>
>             T=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:T=sip:0899948150 at sip.positivonet.it;user=phone>
>             IP=185.29.248.37:5060 (127.0.0.1:5060)
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:30 spce proxy[1499]: NOTICE: <script>: New
>             request on proxy - M=PRACK
>             R=sip:127.0.0.1:5080;transport=udp
>             F=sip:089330492 at telecomitalia.it;user=phone
>             <mailto:F=sip:089330492 at telecomitalia.it;user=phone>
>             T=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:T=sip:0899948150 at sip.positivonet.it;user=phone>
>             IP=127.0.0.1:5080 (127.0.0.1:5080)
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:30 spce proxy[1485]: NOTICE: <script>: New
>             request on proxy - M=PRACK R=sip:127.0.0.1:5080;prxroute=1
>             F=sip:089330492 at telecomitalia.it;user=phone
>             <mailto:F=sip:089330492 at telecomitalia.it;user=phone>
>             T=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:T=sip:0899948150 at sip.positivonet.it;user=phone>
>             IP=185.29.248.37:5060 (127.0.0.1:5060)
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:30 spce proxy[1484]: NOTICE: <script>: New
>             request on proxy - M=PRACK
>             R=sip:127.0.0.1:5080;transport=udp
>             F=sip:089330492 at telecomitalia.it;user=phone
>             <mailto:F=sip:089330492 at telecomitalia.it;user=phone>
>             T=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:T=sip:0899948150 at sip.positivonet.it;user=phone>
>             IP=127.0.0.1:5080 (127.0.0.1:5080)
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:35 spce proxy[1493]: NOTICE: <script>: New
>             request on proxy - M=ACK R=sip:127.0.0.1:5080;prxroute=1
>             F=sip:089330492 at telecomitalia.it;user=phone
>             <mailto:F=sip:089330492 at telecomitalia.it;user=phone>
>             T=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:T=sip:0899948150 at sip.positivonet.it;user=phone>
>             IP=185.29.248.37:5060 (127.0.0.1:5060)
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:35 spce proxy[1485]: NOTICE: <script>: New
>             request on proxy - M=ACK
>             R=sip:127.0.0.1:5080;transport=udp
>             F=sip:089330492 at telecomitalia.it;user=phone
>             <mailto:F=sip:089330492 at telecomitalia.it;user=phone>
>             T=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:T=sip:0899948150 at sip.positivonet.it;user=phone>
>             IP=127.0.0.1:5080 (127.0.0.1:5080)
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:37 spce proxy[1493]: NOTICE: <script>: New
>             request on proxy - M=BYE
>             R=sip:127.0.0.1:5080;transport=udp
>             F=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:F=sip:0899948150 at sip.positivonet.it;user=phone>
>             T=sip:089330492 at telecomitalia.it
>             <mailto:T=sip:089330492 at telecomitalia.it>
>             IP=127.0.0.1:5080 (127.0.0.1:5080)
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             Jun 6 10:15:37 spce proxy[1485]: NOTICE: <script>: New
>             request on proxy - M=BYE
>             R=sip:+39089330492 at 185.29.248.37:5060
>             <mailto:R=sip:+39089330492 at 185.29.248.37:5060>
>             F=sip:0899948150 at sip.positivonet.it;user=phone
>             <mailto:F=sip:0899948150 at sip.positivonet.it;user=phone>
>             T=sip:089330492 at telecomitalia.it;user=phone
>             <mailto:T=sip:089330492 at telecomitalia.it;user=phone>
>             IP=127.0.0.1:5080 (127.0.0.1:5080)
>             ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1
>             <mailto:ID=f515e00016f5-5b17981b-3b0a383a-1a39da18-16a at 127.0.0.1>
>             UA='<null>'
>
>             The rewrite rules for domain and peer are:
>
>             inbound for caller
>
>             ^(00|\+)([1-9][0-9]+)$ \1 International to E.164 yes
>
>             ^0([1-9][0-9]+)$ ${caller_cc}0\1 National to E.164 yes
>
>             ^([1-9][0-9]+)$ ${caller_cc}${caller_ac}\1 Local to E.164 no
>
>             inbound for calee
>
>             ^(00|\+)([1-9][0-9]+)$ \2 International to E.164 yes
>
>             ^0([1-9][0-9]+)$ ${caller_cc}0\1 National to E.164 yes
>
>             ^([1-9][0-9]+)$ ${caller_cc}${caller_ac}\1 Local to E.164 no
>
>             oudbound for caller
>
>             ^39([0-9][0-9]+)$ \1 E.164 to Italia National yes
>
>             ^([1-9][0-9]+)$ 00\1 E.164 to International yes
>
>             Subscriber settings:
>
>             Customer # 6
>
>             Status active
>
>             Web Username 0899948150
>
>             Web Password PqR2018
>
>             SIP URI 0899948150 at sip.positivonet.it
>             <mailto:0899948150 at sip.positivonet.it>
>
>             SIP Password xxxxxx
>
>             Administrative no
>
>             External #
>
>             UUID 97a941a4-ad1e-4d0a-bb26-15608094d21d
>
>             Timezone localtime
>
>             Primary Number 39 089 9948150
>
>             Alias Numbers
>
>             Subscriber Profile Set
>
>             Subscriber Profile
>
>             Number Manipulation
>
>               cli Network-Provided CLI 390899948150
>
>               clir Hide own number for outbound calls
>
>             Edit
>
>               cc Country Code  39
>
>               ac Area Code   089
>
>               emergency_prefix Emergency Prefix variable
>
>               rewrite_rule_set Rewrite Rule Set    domain-dialplan
>             peering-c4sbc-dialplan
>
>               e164_to_ruri Use Number instead of Contact first for
>             outbound calls
>
>               user_cli User-Provided Number
>
>               emergency_suffix Emergency Suffix variable
>
>               emergency_cli Emergency CLI
>
>               inbound_upn Inbound User-Provided Number 
>             From-Displayname P-Asserted-Identity P-Preferred-Identity
>             Remote-Party-ID use domain default From-Username
>
>               outbound_from_user Outbound From-Username Field
>             Network-Provided-Number Authentication-User Received
>             Display-name use domain default User-Provided-Number UPRN
>             (if set) or Network-Provided-Number UPRN (if set) or
>             User-Provided-Number UPRN (if set) or Authentication-User
>             UPRN (if set) or Received Display-name
>
>               outbound_from_display Outbound From-Display Field 
>             Network-Provided-Number User-Provided-Number
>             Authentication-User Received Display-name use domain
>             default None UPRN (if set) or Network-Provided-Number UPRN
>             (if set) or User-Provided-Number UPRN (if set) or
>             Authentication-User UPRN (if set) or Received Display-name
>             Network-Provided Display-name
>
>               outbound_pai_user Outbound PAI-Username Field 
>             User-Provided-Number Authentication-User Received
>             Display-name use domain default None
>             Network-Provided-Number  UPRN (if set) or
>             Network-Provided-Number UPRN (if set) or
>             User-Provided-Number UPRN (if set) or Authentication-User
>             UPRN (if set) or Received Display-name
>
>               outbound_ppi_user Outbound PPI-Username Field 
>             Network-Provided-Number User-Provided-Number
>             Authentication-User Received Display-name use domain
>             default None UPRN (if set) or Network-Provided-Number UPRN
>             (if set) or User-Provided-Number UPRN (if set) or
>             Authentication-User UPRN (if set) or Received Display-name
>
>               extension_in_npn Use valid Alias CLI as NPN
>
>               inbound_uprn Inbound User-Provided Redirecting Number 
>             None Forwarder's NPN use domain default Forwarder's NPN /
>             Received Diversion Received Diversion Forwarder's UPN
>
>               outbound_diversion Outbound Diversion Header  None use
>             domain default UPRN Network-Provided Number
>
>               outbound_history_info Outbound History-Info Field  None
>             use domain default UPRN
>
>               display_name Network-Provided Display Name
>
>               clir_intrapbx Hide own number for calls within own PBX
>
>               emergency_location_object MIME encapsulated Location
>             Information in the INVITE
>
>               voicemail_echo_number Number to be played in voicebox
>
>               extended_dialing_mode Incoming Dialed Number Matching 
>             use domain default Strict number matching Extended
>             matching, send dialed number with extension Extended
>             matching, send base matching number
>
>               outbound_to_user Outbound To-Username Field  use domain
>             default Called user Received To header Original
>             (Forwarding) called user
>
>             outbound_from_user_is_phone Add user=phone to calling number
>
>               outbound_to_user_is_phone Add user=phone to calling number
>
>               clir_override Override clir
>
>             emergency_mapping_container Emergency Mapping Container
>
>               upn_rewrite User CLI rewrite
>
>               secretary_numbers Numbers used in the "Manager
>             Secretary" call forwardings
>
>               manager_secretary "Manager Secretary" call forwardings
>             toggle
>
>             skip_upn_check_on_diversion Skip UPN check if received
>             Diversion/History-Info header  use domain default Never If
>             received Diversion or History-Info header If user in
>             received Diversion or History-Info header is in caller's
>             alias list If user in received Diversion or History-Info
>             header is in caller's alias list or allowed_clis If
>             received Diversion header If received History-Info header
>
>             *Da:*Spce-user <spce-user-bounces at lists.sipwise.com>
>             <mailto:spce-user-bounces at lists.sipwise.com> *Per conto di
>             *Daniel Grotti
>             *Inviato:* mercoledì 6 giugno 2018 10.08
>             *A:* spce-user at lists.sipwise.com
>             <mailto:spce-user at lists.sipwise.com>
>             *Oggetto:* Re: [Spce-user] UPRN - History Info
>
>             Hi Alessandro,
>             Please check your Rewrite Rules and have a look at the
>             full log.
>             You probably didn't rewrite correctly the number. The full
>             log should help you to understand where that '+' is coming
>             from.
>
>             Daniel
>
>
>
>
>             On 06/04/2018 03:37 PM, Alessandro Romano wrote:
>
>                 Dear All
>
>                 I need the History info value for cfw to be compliant
>                 with telecom
>
>                 I’ve made the settings like the documentation:
>
>                 ·Domain’s Prefererences: /inbound_uprn/ = Forwarder’s NPN
>
>                 ·Peer’s Prefererences: /outbound_history_info/ = UPRN
>
>                 ·Peer’s Prefererences: /outbound_diversion/ = UPRN
>
>                 ·Domain’s Prefererences: /outbound_history_info/ =
>                 UPRN(if you want to allow History Header for on-net
>                 call as well)
>
>                 ·Domain’s Prefererences: /outbound_diversion/ =
>                 UPRN(if you want to allow Diversion Header for on-net
>                 call as well)
>
>                 But in the history info i’ve this
>
>                 Jun  4 15:13:21 spce proxy[1499]: NOTICE: <script>:
>                 Setting History-Info (HUNT route) to
>                 '<sip:+0899948150 at sip.positivonet.it:5060;user=phone>;index=1'
>                 - R=sip:089330492 at sip.positivonet.it
>                 <mailto:R=sip:089330492 at sip.positivonet.it>
>                 ID=f515e00016f5-5b153af1-1b0e271c-28b1e090-f2 at 127.0.0.1
>                 <mailto:ID=f515e00016f5-5b153af1-1b0e271c-28b1e090-f2 at 127.0.0.1>
>                 UA='TELES-SBC'
>
>                 Jun  4 15:13:21 spce proxy[1493]: NOTICE: <script>:
>                 New request on proxy - M=INVITE
>                 R=sip:089330492 at sip.positivonet.it
>                 <mailto:R=sip:089330492 at sip.positivonet.it>
>                 F=sip:07538716 at telecomitalia.it;user=phone
>                 <mailto:F=sip:07538716 at telecomitalia.it;user=phone>
>                 T=sip:0899948150 at sip.positivonet.it;user=phone
>                 <mailto:T=sip:0899948150 at sip.positivonet.it;user=phone>
>                 IP=127.0.0.1:5080 (127.0.0.1:5080)
>                 ID=f515e00016f5-5b153af1-1b0e271c-28b1e090-f2 at 127.0.0.1
>                 <mailto:ID=f515e00016f5-5b153af1-1b0e271c-28b1e090-f2 at 127.0.0.1>
>                 UA='<null>'
>
>                 Jun  4 15:13:21 spce proxy[1493]: NOTICE: <script>:
>                 User-Provided Redirecting CLI '390899948150' taken
>                 from NPN - R=sip:089330492 at sip.positivonet.it
>                 <mailto:R=sip:089330492 at sip.positivonet.it>
>                 ID=f515e00016f5-5b153af1-1b0e271c-28b1e090-f2 at 127.0.0.1
>                 <mailto:ID=f515e00016f5-5b153af1-1b0e271c-28b1e090-f2 at 127.0.0.1>
>                 UA='<null>'
>
>                 I need to remove <sip:+0899948150 at sip.positivonet.it
>                 <mailto:sip:+0899948150 at sip.positivonet.it> the ‘+’
>
>                 BR
>
>
>
>
>
>
>                 _______________________________________________
>
>                 Spce-user mailing list
>
>                 Spce-user at lists.sipwise.com
>                 <mailto:Spce-user at lists.sipwise.com>
>
>                 https://lists.sipwise.com/listinfo/spce-user
>
>
>
>
>
>             _______________________________________________
>
>             Spce-user mailing list
>
>             Spce-user at lists.sipwise.com
>             <mailto:Spce-user at lists.sipwise.com>
>
>             https://lists.sipwise.com/listinfo/spce-user
>
>
>
>
>         -- 
>
>         Danilo Smaldone
>
>           
>
>         Sipwise GmbH , Campus 21/Europaring F15
>
>         AT-2345 Brunn am Gebirge
>
>           
>
>         Phone:  +43 (0)1 3012059
>
>         Email:dsmaldone at sipwise.com <mailto:dsmaldone at sipwise.com>
>
>         Website:www.sipwise.com <http://www.sipwise.com>
>
>           
>
>         Particulars according Austrian Companies Code paragraph 14
>
>         "Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge
>
>         FN:305595f, Commercial Court Vienna, ATU64002206
>
>
>
>
>
>         _______________________________________________
>
>         Spce-user mailing list
>
>         Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>
>         https://lists.sipwise.com/listinfo/spce-user
>
>
>
>
>     _______________________________________________
>
>     Spce-user mailing list
>
>     Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>
>     https://lists.sipwise.com/listinfo/spce-user
>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user

-- 
Danilo Smaldone

Sipwise GmbH , Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Phone:  +43 (0)1 3012059
Email:  dsmaldone at sipwise.com
Website:  www.sipwise.com

Particulars according Austrian Companies Code paragraph 14
"Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge
FN:305595f, Commercial Court Vienna, ATU64002206

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


More information about the Spce-user mailing list