[Spce-user] Asterisk trunk in NGCP

Viraj Balgobind ideatells at outlook.com
Fri Jan 8 17:11:09 EST 2021


Hi Matthias,

Thanks for your reply! The trunk I was mentioning was from the sip provider itself so this is a server connection.
I draw a picture to show you where the problem is:

[Diagram  Description automatically generated]

I added the the trunk of the ITSP as a peer with server.domain.com and made a outbound & inbound peering rule.
When I place an outbound call, the SIP and RTP is working fine, but when I make an inbound call tot the DID which is attached to the server.domain.com there is not a single packet what enters the NGCP (ngcp.domain.com) from the ITSP.

But when I configure the trunk of the ITSP with server.domain.com in an Asterisk PBX (separate from NGCP) the outbound and even the inboud calls from an DID are working fine.
This is what I used to build a trunk in asterisk from a PBX to the ITSP provider directly:

outgolXXX
username=XXXXX
type=peer
secret=XXXXXXXX
qualify=yes
insecure=invite
host=server.domain.com
canreinvite=no
fromdomain=Asterisk PBX

How can I enable IP authentication for a peer? I do not think that will help because the ITSP is not sending me any packet when I call the DID.

Kind regards,
Viraj

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: Matthias Hohl <matthias.hohl at telematica.at>
Sent: Friday, 8 January 2021, 19:23
To: 'Viraj Balgobind'; spce-user at lists.sipwise.com
Subject: AW: [Spce-user] Asterisk trunk in NGCP


Hello,

First of all: Do you want to use your asterisk as your SERVER or as your SUBSCRIBER?
Second: As Server you have to create a Peering with a peering rule and also use IP auth instead of username password.

Do you have any more information for us to help you?

Von: Viraj Balgobind <ideatells at outlook.com>
Gesendet: Freitag, 8. Jänner 2021 12:56
An: spce-user at lists.sipwise.com
Betreff: [Spce-user] Asterisk trunk in NGCP

Hi All,

I am having a problem with registering a trunk within NGCP. Outbound calls are working fine without any problems, but inbound calls are not coming into the NGCP system.

With Asterisk I got the following trunk parameters where incoming and outgoing calls are working:

outgolXXX
username=XXXXX
type=peer
secret=XXXXXXXX
qualify=yes
insecure=invite
host=host.domain.com
canreinvite=no
fromdomain=host.domain.eu


How can I put this configuration into the peer configuration of NGCP. When I place an outbound call with NGCP the call is working fine for the SIP and RTP part. But When I try to call a DID number which is associated with this trunk not even a SIP message is coming into my NGCP system when I used tcpdump.

Could someone point me into the right direction?

Kind regards,
Viraj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20210108/971a8486/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 10490 bytes
Desc: image003.jpg
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20210108/971a8486/attachment-0002.jpg>


More information about the Spce-user mailing list