Can't get Inbound calls using Telnyx, sip 401

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Can't get Inbound calls using Telnyx, sip 401

Postby mar1o » Mon Nov 08, 2021 5:39 pm

Hello,

I am using vicidial 9.0.3 with Asterisk 13.29.2. I can't get inbound calls using Telnyx as voip provider.
Im getting 401-unauthorized.

[general]
context=trunkinbound
allowguest=yes

This is my sip.conf configuration. Telnyx support says that I should disable authentication for inbound calls, but I can't find this setting.

Can someone help?

Thank you
mar1o
 
Posts: 21
Joined: Fri Oct 28, 2016 6:20 am

Re: Can't get Inbound calls using Telnyx, sip 401

Postby ambiorixg12 » Tue Nov 09, 2021 7:35 am

[telnyx]
type=peer
disallow=all
allow=ulaw
allow=alaw
insecure=port,invite
directmedia=no
context=trunkinbound
qualify=yes
dtmfmode=rfc2833
trustrpid=yes
sendrpid=yes
nat=force_rport,comedia
port=5060
host=sip.telnyx.com
username=ambiorixg12
fromuser=ambiorixg12
secret=myrealpassword!

But the relevant part to your issue is this

insecure=port,invite


also Telnyx have more than 1 IP so you will need to create a trunk for each of them to make sure asterisk doesn't reject it

Primary: 192.76.120.10 | Secondary: 64.16.250.10
ambiorixg12
 
Posts: 448
Joined: Tue Sep 17, 2013 10:35 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 82 guests