[Spce-user] Inbound Peering Rule
Raul Fernandez Gomez
rgomez at berkano.es
Wed Apr 10 03:20:49 EDT 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20190410/e637835d/attachment.html>
More information about the Spce-user
mailing list