[Spce-user] R: R: Problem Receiving Calls with complete E.164 number

Daniel Grotti dgrotti at sipwise.com
Fri May 9 08:30:01 EDT 2014


Hi Alessandro,
problem is that the call was a From PSTN so probably you didn't create
or assigned Rewrite Rules to your Peer.
So there is no Rewrite Rules for that calls.

You have to assign the RR to your peer as well so when a call from Pstn
comes in the Inbound RR (of the peer) will be apply and if the call goes to
a local user, the outboun RR (of the subscriber/domain) will be applied
before deliver the call.

Daniel






On 05/09/2014 02:23 PM, Alessandro Romano - Rp engineering wrote:
>
> Hi Daniel,
>
>  
>
> i've the following roules:
>
>  
>
> Rewrite Rules in Ingresso per Chiamante
> <https://voip.positivonet.it:1443/rewrite/3/rules?back=https%3A%2F%2Fvoip.positivonet.it%3A1443%2Frewrite#collapse_icaller>
>
>
>
> 	
>
> *Pattern Sorgente***
>
> 	
>
> *Pattern Sostitutivo*
>
> 	
>
> *Descrizione*
>
> 	
>
> 	
>
> ^(00|\+)([1-9][0-9]+)$
>
> 	
>
> \2
>
> 	
>
> International to E.164
>
> 	
>
> 	
>
> ^0([1-9][0-9]+)$
>
> 	
>
> ${caller_cc}\1
>
> 	
>
> National to E.164
>
> 	
>
> 	
>
> ^([1-9][0-9]+)$
>
> 	
>
> ${caller_cc}${caller_ac}\1
>
> 	
>
> Local to E.164
>
> 	
>
>  
>
>  
>
> Rewrite Rules in Ingresso per Chiamato
> <https://voip.positivonet.it:1443/rewrite/3/rules?back=https%3A%2F%2Fvoip.positivonet.it%3A1443%2Frewrite#collapse_icallee>
>
>
>
> 	
>
> *Pattern Sorgente***
>
> 	
>
> *Pattern Sostitutivo*
>
> 	
>
> *Descrizione*
>
> 	
>
> 	
>
> ^(00|\+)([1-9][0-9]+)$
>
> 	
>
> \2
>
> 	
>
> International to E.164
>
> 	
>
> 	
>
> ^0([1-9][0-9]+)$
>
> 	
>
> ${caller_cc}\1
>
> 	
>
> National to E.164
>
> 	
>
> 	
>
> ^([1-9][0-9]+)$
>
> 	
>
> ${caller_cc}${caller_ac}\1
>
> 	
>
> Local to E.164
>
> 	
>
>  
>
> And i've assigned the rouleset to the domain
>
>  
>
> There is something missing or wrong ?
>
>  
>
> BR
>
>  
>
> *Da:*spce-user-bounces at lists.sipwise.com
> [mailto:spce-user-bounces at lists.sipwise.com] *Per conto di *Daniel Grotti
> *Inviato:* venerdì 9 maggio 2014 14.05
> *A:* spce-user at lists.sipwise.com
> *Oggetto:* Re: [Spce-user] R: Problem Receiving Calls with complete
> E.164 number
>
>  
>
> Hi Alessandro,
> this URI R=sip:0899358190 at 31.7.144.140:5060;transport=UDP
> <mailto:R=sip:0899358190 at 31.7.144.140:5060;transport=UDP> as you can
> see, doesn't match your subscriber.
>
> If you create your subscriber as
>
> 39 089 9358190
>
> you should rewrite the RURI from 0899358190 into 390899358190.
> Maybe you missed how the Rewrite Rules works in SPCE.
> I suggest you to read the handbook about that.
>
>
> Daniel
>
>
>
>
>
> On 05/09/2014 01:57 PM, Alessandro Romano - Rp engineering wrote:
>
>     Hi daniel,
>
>     i've tried all ..
>
>      
>
>     39 089 9358190
>
>     39 89 9358190
>
>      
>
>     The only work mode is 89 (blank) 9358190
>
>      
>
>     L
>
>      
>
>     Br
>
>      
>
>     Ps. I indicate the logs of the call.
>
>      
>
>     May  9 13:56:08 31-7-144-140 proxy[29971]: NOTICE: <script>:
>     Contacts successfully updated, expires in 180s -
>     R=sip:voip.positivonet.it ID=9c77f273-25332b0c at 91.214.73.242
>     <mailto:ID=9c77f273-25332b0c at 91.214.73.242>
>
>     May  9 13:56:21 31-7-144-140 proxy[29976]: NOTICE: <script>: New
>     request - M=INVITE
>     R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>     <mailto:R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone>
>     F=sip:089330492 at 10.39.1.16:5060;user=phone
>     <mailto:F=sip:089330492 at 10.39.1.16:5060;user=phone>
>     T=sip:0899358190 at 10.39.7.183:5060;user=phone
>     <mailto:T=sip:0899358190 at 10.39.7.183:5060;user=phone>
>     IP=77.239.128.6:5060 (127.0.0.1:5060)
>     ID=SDi2ak401-e025df2a67b8d071b1dbb5676bfe0fba-ao92gd1
>
>     May  9 13:56:21 31-7-144-140 proxy[29976]: NOTICE: <script>: Call
>     from PSTN -
>     R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>     <mailto:R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone>
>     ID=SDi2ak401-e025df2a67b8d071b1dbb5676bfe0fba-ao92gd1
>
>     May  9 13:56:21 31-7-144-140 proxy[29976]: NOTICE: <script>:
>     User-Provided CLI '089330492' taken from From-User -
>     R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>     <mailto:R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone>
>     ID=SDi2ak401-e025df2a67b8d071b1dbb5676bfe0fba-ao92gd1
>
>     May  9 13:56:21 31-7-144-140 proxy[29976]: NOTICE: <script>:
>     Network-Provided CLI '089330492' taken from From-User -
>     R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>     <mailto:R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone>
>     ID=SDi2ak401-e025df2a67b8d071b1dbb5676bfe0fba-ao92gd1
>
>     May  9 13:56:21 31-7-144-140 proxy[29976]: NOTICE: <script>:
>     Setting '089330492 at 10.39.1.16 <mailto:089330492 at 10.39.1.16>' as
>     initiating user-provided CLI -
>     R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>     <mailto:R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone>
>     ID=SDi2ak401-e025df2a67b8d071b1dbb5676bfe0fba-ao92gd1
>
>     May  9 13:56:21 31-7-144-140 proxy[29976]: NOTICE: <script>:
>     Setting '089330492 at 10.39.1.16 <mailto:089330492 at 10.39.1.16>' as
>     initiating network-provided CLI -
>     R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>     <mailto:R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone>
>     ID=SDi2ak401-e025df2a67b8d071b1dbb5676bfe0fba-ao92gd1
>
>     May  9 13:56:21 31-7-144-140 proxy[29976]: NOTICE: <script>:
>     Callee is not local -
>     R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>     <mailto:R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone>
>     ID=SDi2ak401-e025df2a67b8d071b1dbb5676bfe0fba-ao92gd1
>
>     May  9 13:56:21 31-7-144-140 proxy[29976]: NOTICE: <script>: Call
>     to unknown user -
>     R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>     <mailto:R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone>
>     ID=SDi2ak401-e025df2a67b8d071b1dbb5676bfe0fba-ao92gd1
>
>     May  9 13:56:21 31-7-144-140 proxy[29976]: NOTICE: <script>:
>     Setting acc source-leg for uuid '0':
>     '0|089330492|77.239.128.6|089330492|||0|||0|call|77.239.128.6|1399636581.781925'
>     - R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>     <mailto:R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone>
>     ID=SDi2ak401-e025df2a67b8d071b1dbb5676bfe0fba-ao92gd1
>
>     May  9 13:56:21 31-7-144-140 proxy[29976]: NOTICE: <script>:
>     Setting acc destination-leg for uuid '0':
>     '0|||0|0899358190|0|0899358190|31.7.144.140|0899358190|31.7.144.140'
>     - R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>     <mailto:R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone>
>     ID=SDi2ak401-e025df2a67b8d071b1dbb5676bfe0fba-ao92gd1
>
>     May  9 13:56:21 31-7-144-140 proxy[29978]: NOTICE: <script>: New
>     request - M=ACK
>     R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone
>     <mailto:R=sip:0899358190 at 31.7.144.140:5060;transport=UDP;user=phone>
>     F=sip:089330492 at 10.39.1.16:5060;user=phone
>     <mailto:F=sip:089330492 at 10.39.1.16:5060;user=phone>
>     T=sip:0899358190 at 10.39.7.183:5060;user=phone
>     <mailto:T=sip:0899358190 at 10.39.7.183:5060;user=phone>
>     IP=77.239.128.6:5060 (127.0.0.1:5060)
>     ID=SDi2ak401-e025df2a67b8d071b1dbb5676bfe0fba-ao92gd1
>
>     May  9 13:56:23 31-7-144-140 proxy[29977]: NOTICE: <script>: New
>     request - M=REGISTER R=sip:voip.positivonet.it
>     F=sip:0899358201 at voip.positivonet.it
>     <mailto:F=sip:0899358201 at voip.positivonet.it>
>     T=sip:0899358201 at voip.positivonet.it
>     <mailto:T=sip:0899358201 at voip.positivonet.it> IP=31.7.150.77:5060
>     (127.0.0.1:5060)
>     ID=73dee10e0961567a45d3111469f7367d at voip.positivonet.it
>     <mailto:ID=73dee10e0961567a45d3111469f7367d at voip.positivonet.it>
>
>     May  9 13:56:23 31-7-144-140 proxy[29977]: NOTICE: <script>:
>     Contacts successfully updated, expires in 120s -
>     R=sip:voip.positivonet.it
>     ID=73dee10e0961567a45d3111469f7367d at voip.positivonet.it
>     <mailto:ID=73dee10e0961567a45d3111469f7367d at voip.positivonet.it>
>
>      
>
>      
>
>     *Da:*spce-user-bounces at lists.sipwise.com
>     <mailto:spce-user-bounces at lists.sipwise.com>
>     [mailto:spce-user-bounces at lists.sipwise.com] *Per conto di *Daniel
>     Grotti
>     *Inviato:* venerdì 9 maggio 2014 13.49
>     *A:* spce-user at lists.sipwise.com <mailto:spce-user at lists.sipwise.com>
>     *Oggetto:* Re: [Spce-user] Problem Receiving Calls with complete
>     E.164 number
>
>      
>
>     Hi Alessandro,
>
>     This is because in italy - for PSTN number - you need to keep the
>     "0", so your E164 should looks like:
>
>     39 089 9358190
>
>     and not 39 89 9358190, this number will be not reachable.
>
>
>     Daniel
>
>
>
>
>     On 05/09/2014 01:39 PM, Alessandro Romano - Rp engineering wrote:
>
>         Dear All,
>
>          
>
>         if i configure a subscriber eg: 0899358190 with the complete
>         E164 Number
>
>         like the attached sshot 2
>
>          
>
>         cc: 39  ac: 089  number: 9358190
>
>          
>
>         I can make calls, but i cant receive
>
>          
>
>         If i conficure the sub. In this way:
>
>          
>
>         cc: 089  ac: blank number: 9358190 as tge attached sshot 1 i
>         can make and receive calls.
>
>          
>
>         What is the problem ?
>
>          
>
>         BR
>
>
>
>
>
>         _______________________________________________
>
>         Spce-user mailing list
>
>         Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>
>         http://lists.sipwise.com/listinfo/spce-user
>
>      
>
>
>
>
>     _______________________________________________
>
>     Spce-user mailing list
>
>     Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>
>     http://lists.sipwise.com/listinfo/spce-user
>
>  
>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user

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


More information about the Spce-user mailing list