[Spce-user] Inbound Peering Rule
Raul Fernandez Gomez
rgomez at berkano.es
Wed Apr 10 08:40:55 EDT 2019
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/pipermail/spce-user_lists.sipwise.com/attachments/20190410/998fb6e6/attachment-0001.html>
More information about the Spce-user
mailing list