[Spce-user] Inbound calls not working

Daniel Grotti dgrotti at sipwise.com
Fri Sep 27 09:41:55 EDT 2013


Hi,
so the problem are in Rewrite rules.
However the number looks different:

  7200123344 at 1.2.3.4
4372001223334 at my.domain.net


you need a "43" preefix one less "4" in the end and one more "3" in the
middle ??

The number is completely wrong, this is why ngcp can't find the user.
This is not a problem of domain.


Daniel



On 09/27/2013 03:28 PM, Carriba UG - sip:wise wrote:
> Hallo,
> 
> I have add this domain with the IP, but it do not work, this is the same
> problem... 
> The Version is 3.0.18.
> Is there a Problem in the rules?
> The log shows me it goes to 7200123344 at 1.2.3.4 and the primary number of the
> subscription 4372001223334 at my.domain.net.
> 
> Thanks.
> 
> -----Ursprüngliche Nachricht-----
> Von: spce-user-bounces at lists.sipwise.com
> [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag von Daniel Grotti
> Gesendet: Freitag, 27. September 2013 15:25
> An: spce-user at lists.sipwise.com
> Betreff: Re: [Spce-user] Inbound calls not working
> 
> Hi,
> you don't need, just add the ip to your domain list.
> It should work.
> Btw, what's your NGCP version ?
> 
> Daniel
> 
> 
> 
> 
> On 09/27/2013 02:07 PM, Carriba UG - sip:wise wrote:
>> Hello Daniel,
>>
>> I have also think about that, but then I should assign the 
>> subscriptions to that domain and the incoming SIP URI will also be 
>> changed did you have another solution?
>> This peer should handle different domains.
>>
>> Tanks
>>
>> -----Ursprüngliche Nachricht-----
>> Von: spce-user-bounces at lists.sipwise.com
>> [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag von Daniel 
>> Grotti
>> Gesendet: Freitag, 27. September 2013 13:53
>> An: spce-user at lists.sipwise.com
>> Betreff: Re: [Spce-user] Inbound calls not working
>>
>> So, it seems that your peer try to send INVITE to you with a wrong 
>> domain, using your IP - I guess - 1.2.3.4 instead of your FQDN.
>>
>> You should ask your peer to change the behaviuor, or you can try to 
>> add a new domain 1.2.3.4 in the Domain list of your SPCE.
>>
>>
>> Daniel
>>
>>
>> On 09/27/2013 01:37 PM, Carriba UG - sip:wise wrote:
>>> Hello Daniel,
>>>
>>> This is also what i am wondering about it, i will call to a local user.
>>>
>>> The user has this 43720123456 at my.domain.net primary number. It can be 
>>> that i have a false in my rules, but i am to blind to see that.
>>>
>>> Thanks.
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: spce-user-bounces at lists.sipwise.com
>>> [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag von Daniel 
>>> Grotti
>>> Gesendet: Freitag, 27. September 2013 11:43
>>> An: spce-user at lists.sipwise.com
>>> Betreff: Re: [Spce-user] Inbound calls not working
>>>
>>> Hi Carriba,
>>> what are trying to achieve?
>>> This is an incomig call from PSTN, but the callee is not local and 
>>> NGCP try to relay the call to SIP Peering.
>>>
>>> Do you have in config.yml:
>>>
>>> allow_peer_relay: 'yes' ?
>>>
>>>
>>> Daniel
>>>
>>>
>>> On 09/27/2013 02:40 AM, Carriba UG - sip:wise wrote:
>>>> Hello,
>>>>
>>>> I have a problem to setup inbound calls, outbound works very
>> successfully.
>>>>
>>>> My Log shows me this:
>>>>
>>>> Sep 27 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: New 
>>>> request
>>>> - M=INVITE R=sip:720123456 at 1.2.3.4:5060 F=sip:+4366412345678 at 5.6.7.8
>>>> T=sip:720123456 at 1.2.3.4 IP=5.6.7.8:5060 (192.168.2.2:5060)
>>>> ID=855935264_17994029 at 5.6.7.8
>>>> Sep 27 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: Call from 
>>>> PSTN -
>>>> R=sip:720123456 at 1.2.3.4:5060 ID=855935264_17994029 at 5.6.7.8 Sep 27
>>>> 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: User-Provided CLI 
>>>> '+4366412345678' taken from From-User - R=sip:720123456 at 1.2.3.4:5060
>>>> ID=855935264_17994029 at 5.6.7.8
>>>> Sep 27 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: 
>>>> Network-Provided CLI '+4366412345678' taken from From-User -
>>>> R=sip:720123456 at 1.2.3.4:5060
>>>> ID=855935264_17994029 at 5.6.7.8
>>>> Sep 27 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: Rewriting 
>>>> user-provided CLI '+4366412345678' to '4366412345678' -
>>>> R=sip:720123456 at 1.2.3.4:5060 ID=855935264_17994029 at 5.6.7.8 Sep 27
>>>> 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: Rewriting 
>>>> network-provided CLI '+4366412345678' to '4366412345678' -
>>>> R=sip:720123456 at 1.2.3.4:5060 ID=855935264_17994029 at 5.6.7.8 Sep 27
>>>> 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: Setting 
>>>> '4366412345678 at 5.6.7.8' as initiating user-provided CLI -
>>>> R=sip:720123456 at 1.2.3.4:5060 ID=855935264_17994029 at 5.6.7.8 Sep 27
>>>> 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: Setting 
>>>> '4366412345678 at 5.6.7.8' as initiating network-provided CLI -
>>>> R=sip:720123456 at 1.2.3.4:5060 ID=855935264_17994029 at 5.6.7.8 Sep 27
>>>> 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: Rewriting called 
>>>> party '720123456' to '720123456' - R=sip:720123456 at 1.2.3.4:5060
>>>> ID=855935264_17994029 at 5.6.7.8
>>>> Sep 27 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: Callee is 
>>>> not local - R=sip:720123456 at 1.2.3.4:5060
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18871]: 
>>>> NOTICE: <script>: Call to SIP Peering - R=sip:720123456 at 1.2.3.4:5060
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18871]: 
>>>> NOTICE: <script>: Load gws matching calling part 
>>>> 'sip:4366412345678 at 5.6.7.8' and called user '720123456' and called 
>>>> part 'sip:720123456 at 1.2.3.4:5060' -
>>>> R=sip:720123456 at 1.2.3.4:5060
>>>> ID=855935264_17994029 at 5.6.7.8
>>>> Sep 27 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: Setting 
>>>> acc source-leg for uuid '0':
>>>> '0|+4366412345678|5.6.7.8|4366412345678|||0|||0|call|5.6.7.8|1380241
>>>> 7
>>>> 8
>>>> 4.2248 71' - R=sip:720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8
>>>> Sep 27 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: Setting 
>>>> acc destination-leg for uuid '0':
>>>> '0|||0|720123456|0|720123456|5.6.7.8|720123456|5.83.133.52' - 
>>>> R=sip:720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18871]: 
>>>> NOTICE: <script>: Rewriting first user-provided CLI '4366412345678' 
>>>> to '66412345678' - R=sip:720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18871]: 
>>>> NOTICE: <script>: Rewriting first network-provided CLI '4366412345678' 
>>>> to '66412345678' - R=sip:720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18871]: 
>>>> NOTICE: <script>: Setting caller_cli_userprov/caller_domain_userprov
>>>> '66412345678 at 5.6.7.8' for upn -
>>>> R=sip:720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18871]: 
>>>> NOTICE: <script>: Setting From to '<sip:66412345678 at 5.6.7.8>' - 
>>>> R=sip:720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8
>>>> Sep 27 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: Setting 
>>>> caller_cli_netprov/caller_domain_netprov '66412345678 at 5.6.7.8' for 
>>>> npn
>>>> - R=sip:720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18871]: 
>>>> NOTICE: <script>: Setting PAI to '<sip:66412345678 at 5.6.7.8>' - 
>>>> R=sip:720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8
>>>> Sep 27 02:29:44 sip-00-01 proxy[18871]: NOTICE: <script>: Rewriting 
>>>> called party '720123456' to '43720123456' - 
>>>> R=sip:720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18871]: 
>>>> NOTICE: <script>: Setting P-Called-Party-ID 
>>>> '<sip:43720123456 at 5.6.7.8>' - 
>>>> R=sip:43720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18871]: 
>>>> NOTICE: <script>: Setting 'sip:5.6.7.8:5060' taken from R-URI as 
>>>> next hop after lb for PSTN call - 
>>>> R=sip:43720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18871]: 
>>>> NOTICE: <script>: Appending P-D-URI
>>>> 'sip:192.168.2.2:5060;received='sip:5.6.7.8:5060;transport=udp'' - 
>>>> R=sip:43720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18871]: 
>>>> NOTICE: <script>: Forcing request via B2BUA 'sip:192.168.2.2:5080' - 
>>>> R=sip:43720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18871]: 
>>>> NOTICE: <script>: Request leaving server, D-URI='sip:192.168.2.2:5080' 
>>>> - R=sip:43720123456 at 5.6.7.8:5060;transport=udp
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18868]: 
>>>> NOTICE: <script>: NAT-Reply - S=100
>>>> - Connecting M=INVITE IP=5.6.7.8:5060 (192.168.2.2:5080)
>>>> ID=855935264_17994029 at 5.6.7.8
>>>> Sep 27 02:29:44 sip-00-01 proxy[18874]: NOTICE: <script>: NAT-Reply 
>>>> -
>>>> S=400
>>>> - Bad Request M=INVITE IP=5.6.7.8:5060 (192.168.2.2:5080)
>>>> ID=855935264_17994029 at 5.6.7.8
>>>> Sep 27 02:29:44 sip-00-01 proxy[18874]: NOTICE: <script>: Failure 
>>>> route for PSTN call - R=sip:720123456 at 1.2.3.4:5060
>>>> ID=855935264_17994029 at 5.6.7.8 Sep 27 02:29:44 sip-00-01 proxy[18874]: 
>>>> NOTICE: <script>: No failover routing needed for this response code 
>>>> -
>>>> R=sip:720123456 at 1.2.3.4:5060
>>>> ID=855935264_17994029 at 5.6.7.8
>>>>
>>>> I have found in the mailinglist something, but it is not working for 
>>>> me. My Domain ist not the local IP is my.domain.net.
>>>> I was checked the rules and something else but i do not found any 
>>>> working solution for that.
>>>>
>>>> Can you please help me.
>>>> Thanks, from Austria.
>>>>
>>>>
>>>> _______________________________________________
>>>> Spce-user mailing list
>>>> 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
>>>
>>
>> _______________________________________________
>> Spce-user mailing list
>> 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
> 




More information about the Spce-user mailing list