[Spce-user] connect 2 sipwise as trunk

stefanormc stefanormc at gmail.com
Thu Nov 30 05:29:56 EST 2017


Hi

it’s not working as I expected. Peer is registered to subscriber but I get
No PSTN Available response:

Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: New request on
proxy - M=INVITE R=sip:3355416588 at d.voceblu.it;user=phone F=
sip:0118118673 at d.voceblu.it T=sip:3355416588 at d.voceblu.it;user=phone IP=
172.31.255.180:2051 (127.0.0.1:5060) ID=3c4632c304e2-1vukdq0ac0ql at snom190
UA='snom190/3.60x'

Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: IMS marker,
s:ims_role='<null>', s:caller_uuid='f091ad4c-c8a2-42e4-8fae-bcba92b63fb2',
s:callee_uuid='<null>', s:acc_caller_user='0118118673',
s:acc_caller_domain='d.voceblu.it'  - R=sip:3355416588 at d.voceblu.it;user=phone
ID=3c4632c304e2-1vukdq0ac0ql at snom190 UA='snom190/3.60x'

Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Dialog managed,
lua_dlg_callid:[3c4632c304e2-1vukdq0ac0ql at snom190] - R=
sip:3355416588 at d.voceblu.it;user=phone ID=3c4632c304e2-1vukdq0ac0ql at snom190
UA='snom190/3.60x'

Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: User-Provided CLI
'0118118673' taken from From-User - R=sip:3355416588 at d.voceblu.it;user=phone
ID=3c4632c304e2-1vukdq0ac0ql at snom190 UA='snom190/3.60x'

Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: User-provided CLI
'0118118673' rejected, using network-provided CLI '390118118673' - R=
sip:3355416588 at d.voceblu.it;user=phone ID=3c4632c304e2-1vukdq0ac0ql at snom190
UA='snom190/3.60x'

Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Setting '
390118118673 at d.voceblu.it' as initiating user-provided CLI - R=
sip:3355416588 at d.voceblu.it;user=phone ID=3c4632c304e2-1vukdq0ac0ql at snom190
UA='snom190/3.60x'

Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Setting '
390118118673 at d.voceblu.it' as initiating network-provided CLI - R=
sip:3355416588 at d.voceblu.it;user=phone ID=3c4632c304e2-1vukdq0ac0ql at snom190
UA='snom190/3.60x'

Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Callee is not local
- R=sip:3355416588 at d.voceblu.it;user=phone
ID=3c4632c304e2-1vukdq0ac0ql at snom190 UA='snom190/3.60x'

Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Call to SIP Peering
- R=sip:3355416588 at d.voceblu.it;user=phone
ID=3c4632c304e2-1vukdq0ac0ql at snom190 UA='snom190/3.60x'

Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Load gws matching
calling part 'sip:390118118673 at d.voceblu.it' and called user '3355416588'
and called part 'sip:3355416588 at d.voceblu.it;user=phone' - R=
sip:3355416588 at d.voceblu.it;user=phone ID=3c4632c304e2-1vukdq0ac0ql at snom190
UA='snom190/3.60x'

Nov 30 11:15:35 centrale proxy[4776]: ERROR: <script>: No PSTN gateways
available - R=sip:3355416588 at d.voceblu.it;user=phone
ID=3c4632c304e2-1vukdq0ac0ql at snom190 UA='snom190/3.60x'

Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Setting acc
source-leg for uuid 'f091ad4c-c8a2-42e4-8fae-bcba92b63fb2':
'f091ad4c-c8a2-42e4-8fae-bcba92b63fb2|0118118673|d.voceblu.it|390118118673||Associazione
Vivere|170|||0|call|172.31.255.180|1512036935.048282||||||||||||390118118673|'
- R=sip:3355416588 at d.voceblu.it;user=phone
ID=3c4632c304e2-1vukdq0ac0ql at snom190 UA='snom190/3.60x'

If I check with the ‘call routing tool’ I get this:

found caller subscriber '0118118673 at d.voceblu.it' with id 178
call from 0118118673 using subscriber '0118118673 at d.voceblu.it' id 178
no caller subscriber/domain rewrite rule sets were found
caller 0118118673 is rejected as it does not match subscriber's
'allowed_clis'
'allowed_cli' reject policy is 'override_by_usernpn', taken from 'cli'
390118118673
callee subscriber lookup based on 3355416588
no callee subscriber found, performing peer lookup with caller uri
390118118673 at d.voceblu.it and callee uri 3355416588 and callee 3355416588
no callee peers found

The CLI is in the allowed_cli list of the subscriber

what am I doing wrong?

thanks

stefano

Il giorno 30 novembre 2017 @ 09:22:50, Daniel Grotti (dgrotti at sipwise.com)
ha scritto:

Hi Stefano,
you can just route calls to the other peer via subscribers aliases, indeed.


--
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)130120332
Email: dgrotti at sipwise.com
Website: https://www.sipwise.com

On 11/29/2017 09:58 PM, stefanormc wrote:

Hi all, thanks for the support.

Trial is working, tomorrow I’ll check in production. I don’t think you have
to setup 2 peers but I think you have to set all aliases subscriber side to
route calls correctly.

I’m using mr5.4.1
<https://centrale03.avanzati.it:1443/statistics/versions>
Please note that on this version peer_auth only works manually as described
on documentation

Thanks

Ciao

Stefano

On 29 November 2017 at 21:49:53, Jon Bonilla (Manwe) (manwe at sipdoc.net)
wrote:

El Wed, 29 Nov 2017 20:09:06 +0000
Barry Flanagan <barry at flanagan.ie> escribió:


> >
> >
> I think you would also need to do the reverse as well, so both SPCE have a
> peer to the other for outbound, and a subscriber for the inbound. Peers
and
> Subscribers would need to use authentication as mentioned above, so that
> they don't get mixed up.
>
> Alternatively, I think you can set allow_peer_relay to "yes" in
> /etc/ngcp-config/config.yml which would allow a call to come in from one
> peer and get sent out to another peer (based on routing rules), although
> this only would work if you did not need to bill, as peer-to-peer does not
> get billed.
>
>

If you set another system as peer and subscriber when an incoming call
comes it
will be detected as peer and won't be authenticated. No need for
authenticate
the peer, right?

Maybe it could work, yes. You would send via subscriber with permanent
contact
and it would be detected as incoming form peer in the other side. No need
for
enable_peer_relay in that case.
_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com
https://lists.sipwise.com/listinfo/spce-user



_______________________________________________
Spce-user mailing
listSpce-user at lists.sipwise.comhttps://lists.sipwise.com/listinfo/spce-user


_______________________________________________
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/20171130/31957824/attachment-0001.html>


More information about the Spce-user mailing list