[Spce-user] Inbound Peering Rule

Daniel Grotti dgrotti at sipwise.com
Fri Apr 12 05:34:59 EDT 2019


Please check my latest reply: 
https://lists.sipwise.com/pipermail/spce-user/2019-April/013679.html


--
Daniel Grotti

Head of Customer Support                               Sipwise GmbH
e: dgrotti at sipwise.com                               Europaring F15
t: +43(0)130120332                          A-2345 Brunn Am Gebirge
w: www.sipwise.com          FN: 305595f      FG: LG Wiener Neustadt

On 4/12/19 11:28 AM, Raul Fernandez Gomez wrote:
>
> Hi
>
> I am using mr7.2.1. Do you recommend a previous version?
>
> Thanks
>
> Raul
>
> Raul Fernandez Gomez
> El 12/4/19 a las 10:31, Daniel Grotti escribió:
>> What version are you running?
>> --
>> Daniel Grotti
>>
>> Head of Customer Support                               Sipwise GmbH
>> e:dgrotti at sipwise.com                                Europaring F15
>> t: +43(0)130120332                          A-2345 Brunn Am Gebirge
>> w:www.sipwise.com           FN: 305595f      FG: LG Wiener Neustadt
>> On 4/11/19 9:05 AM, Raul Fernandez Gomez wrote:
>>>
>>> Hi Daniel
>>>
>>> Yes, all the peering servers are in the same peering group and I 
>>> have only one inbounf peering rule.
>>>
>>> Best Regards
>>>
>>> Raul
>>>
>>> El 10/4/19 a las 14:55, Daniel Grotti escribió:
>>>> Hi,
>>>> and this is the only inbound rule you have set?
>>>> You said "it works for incoming calls from other peering server".
>>>>
>>>> Does these other peering server belong to the same peering group ?
>>>>
>>>> I see only 1 inbound peering rule for group_id =1 . Is that the 
>>>> only one you have?
>>>>
>>>>
>>>> --
>>>> Daniel Grotti
>>>>
>>>> Head of Customer Support                               Sipwise GmbH
>>>> e:dgrotti at sipwise.com                                Europaring F15
>>>> t: +43(0)130120332                          A-2345 Brunn Am Gebirge
>>>> w:www.sipwise.com           FN: 305595f      FG: LG Wiener Neustadt
>>>> On 4/10/19 2:40 PM, Raul Fernandez Gomez wrote:
>>>>>
>>>>> Hi Daniel
>>>>>
>>>>>
>>>>> This is the output:
>>>>>
>>>>>
>>>>> MariaDB [(none)]> select * from provisioning.voip_peer_inbound_rules;
>>>>> +----+----------+--------+---------+-------------+---------------+----------+---------+
>>>>> | id | group_id | field  | pattern | reject_code | reject_reason | 
>>>>> priority | enabled |
>>>>> +----+----------+--------+---------+-------------+---------------+----------+---------+
>>>>> |  2 |        1 | to_uri | .*      |        NULL | NULL          
>>>>> |       50 |       1 |
>>>>> +----+----------+--------+---------+-------------+---------------+----------+---------+
>>>>> 1 row in set (0.00 sec)
>>>>>
>>>>> Thanks
>>>>>
>>>>> Raul
>>>>>
>>>>>
>>>>> Raul Fernandez Gomez
>>>>> El 10/4/19 a las 13:25, Daniel Grotti escribió:
>>>>>> Hi,
>>>>>> what do you get from:
>>>>>>
>>>>>> MariaDB [(none)]> select * from provisioning.voip_peer_inbound_rules;
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Daniel Grotti
>>>>>>
>>>>>> Head of Customer Support                               Sipwise GmbH
>>>>>> e:dgrotti at sipwise.com                                Europaring F15
>>>>>> t: +43(0)130120332                          A-2345 Brunn Am Gebirge
>>>>>> w:www.sipwise.com           FN: 305595f      FG: LG Wiener Neustadt
>>>>>> On 4/10/19 12:19 PM, Raul Fernandez wrote:
>>>>>>> Hi Daniel
>>>>>>>
>>>>>>> Yes, and it is working with other peer server in the same 
>>>>>>> peering group.
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> Raul Fernandez
>>>>>>>
>>>>>>> -------- Mensaje original --------
>>>>>>> De: Daniel Grotti <dgrotti at sipwise.com>
>>>>>>> Fecha: 10/4/19 9:49 (GMT+01:00)
>>>>>>> Para: spce-user at lists.sipwise.com
>>>>>>> Asunto: Re: [Spce-user] Inbound Peering Rule
>>>>>>>
>>>>>>> Hi,
>>>>>>> this is correct.
>>>>>>> Is the rule ENABLED with flag enabled=1 ?
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Daniel Grotti
>>>>>>>
>>>>>>> Head of Customer Support                               Sipwise GmbH
>>>>>>> e:dgrotti at sipwise.com                                Europaring F15
>>>>>>> t: +43(0)130120332                          A-2345 Brunn Am Gebirge
>>>>>>> w:www.sipwise.com           FN: 305595f      FG: LG Wiener Neustadt
>>>>>>> On 4/10/19 9:20 AM, Raul Fernandez Gomez wrote:
>>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>>
>>>>>>>> Could you please recommend an Inbound Peering Rule for 
>>>>>>>> accepting any call from the peering servers?
>>>>>>>>
>>>>>>>>
>>>>>>>> I am trying with the following:
>>>>>>>>
>>>>>>>> - Field: to_uri
>>>>>>>>
>>>>>>>> - Pattern: .*
>>>>>>>>
>>>>>>>>
>>>>>>>> But it seems that I am doing something wrong:
>>>>>>>>
>>>>>>>> Apr 10 09:09:59 sipwise proxy[1472]: NOTICE: <script>: New 
>>>>>>>> request on proxy - M=INVITE 
>>>>>>>> R=sip:876660xxx at 185.254.160.126:5060;user=phone 
>>>>>>>> F=sip:649xxxxxx at trunksip6.lcrcom.es;user=phone 
>>>>>>>> T=sip:876660xxx at trunksip6.lcrcom.es;user=phone 
>>>>>>>> IP=185.130.155.216:5060 (127.0.0.1:5060) 
>>>>>>>> ID=5cad96c700000a640000d067e5e9776a at ens.com UA='<null>' 
>>>>>>>> DESTIP=127.0.0.1:5062
>>>>>>>> Apr 10 09:09:59 sipwise proxy[1472]: NOTICE: <script>: Sending 
>>>>>>>> reply S=100 Trying fs='127.0.0.1:5062' du='127.0.0.1:5060' - 
>>>>>>>> R=sip:876660xxx at 185.254.160.126:5060;user=phone 
>>>>>>>> ID=5cad96c700000a640000d067e5e9776a at ens.com UA='<null>'
>>>>>>>> Apr 10 09:09:59 sipwise proxy[1472]: NOTICE: <script>: Call 
>>>>>>>> from PSTN - R=sip:876660xxx at 185.254.160.126:5060;user=phone 
>>>>>>>> ID=5cad96c700000a640000d067e5e9776a at ens.com UA='<null>'
>>>>>>>> Apr 10 09:09:59 sipwise proxy[1472]: NOTICE: <script>: *No 
>>>>>>>> matching inbound peer rule in any peering group, rejecting 
>>>>>>>> call* - R=sip:876660xxx at 185.254.160.126:5060;user=phone 
>>>>>>>> ID=5cad96c700000a640000d067e5e9776a at ens.com UA='<null>'
>>>>>>>> Apr 10 09:09:59 sipwise proxy[1480]: NOTICE: <script>: New 
>>>>>>>> request on proxy - M=ACK 
>>>>>>>> R=sip:876660xxx at 185.254.160.126:5060;user=phone F=<null> 
>>>>>>>> T=<null> IP=<null>:<null> (127.0.0.1:5060) 
>>>>>>>> ID=5cad96c700000a640000d067e5e9776a at ens.com UA='<null>' 
>>>>>>>> DESTIP=127.0.0.1:5062
>>>>>>>> Apr 10 09:09:59 sipwise proxy[1472]: NOTICE: <script>: Sending 
>>>>>>>> reply S=403 Forbidden fs='127.0.0.1:5062' du='127.0.0.1:5060' - 
>>>>>>>> R=sip:876660xxx at 185.254.160.126:5060;user=phone 
>>>>>>>> ID=5cad96c700000a640000d067e5e9776a at ens.com UA='<null>'
>>>>>>>>
>>>>>>>>
>>>>>>>> Nevertheless, it works with other peers servers:
>>>>>>>>
>>>>>>>> Apr 10 09:15:14 sipwise proxy[1484]: NOTICE: <script>: New 
>>>>>>>> request on proxy - M=INVITE 
>>>>>>>> R=sip:876613xxx at 185.254.160.126:5060 
>>>>>>>> F=sip:649xxxxxx at 78.136.82.55 
>>>>>>>> T=sip:876613xxx at 185.254.160.126:5060 IP=78.136.82.55:5060 
>>>>>>>> (127.0.0.1:5060) ID=3a258f4d-d603-1237-6b80-d09466645245 
>>>>>>>> UA='NP005' DESTIP=127.0.0.1:5062
>>>>>>>> Apr 10 09:15:14 sipwise proxy[1484]: NOTICE: <script>: Sending 
>>>>>>>> reply S=100 Trying fs='127.0.0.1:5062' du='127.0.0.1:5060' - 
>>>>>>>> R=sip:876613xxx at 185.254.160.126:5060 
>>>>>>>> ID=3a258f4d-d603-1237-6b80-d09466645245 UA='NP005'
>>>>>>>> Apr 10 09:15:14 sipwise proxy[1484]: NOTICE: <script>: Call 
>>>>>>>> from PSTN - R=sip:876613xxx at 185.254.160.126:5060 
>>>>>>>> ID=3a258f4d-d603-1237-6b80-d09466645245 UA='NP005'
>>>>>>>> Apr 10 09:15:14 sipwise proxy[1484]: NOTICE: <script>: *Inbound 
>>>>>>>> peering group '1' matched, looking up peer host* - 
>>>>>>>> R=sip:876613xxx at 185.254.160.126:5060 
>>>>>>>> ID=3a258f4d-d603-1237-6b80-d09466645245 UA='NP005'
>>>>>>>> Apr 10 09:15:14 sipwise proxy[1484]: NOTICE: <script>:*Selected 
>>>>>>>> peering host id '2' as inbound peer* - 
>>>>>>>> R=sip:876613xxx at 185.254.160.126:5060 
>>>>>>>> ID=3a258f4d-d603-1237-6b80-d09466645245 UA='NP005'
>>>>>>>>
>>>>>>>>
>>>>>>>> Do I need to call some script after changing the rule?
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks in advance
>>>>>>>>
>>>>>>>> Raul
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Spce-user mailing list
>>>>>>>> Spce-user at lists.sipwise.com
>>>>>>>> https://lists.sipwise.com/listinfo/spce-user
>>>>>>>
>>>>>>
>>>>
>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20190412/023f1ab0/attachment.html>


More information about the Spce-user mailing list