IAX trunks "No authority found" Cause Code : 50

I am trying to receive calls form a trunk and asterisk says

CAUSE : No authority found
CAUSE CODE : 50

with “Iax2 show peers” both sides show that trunk is registered. But No authority found error comes.

This is a Raspbx and same configurations with latest freepbx works fine.

Log is given below :

Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00248ms SCall: 07599 DCall: 00000 94.237.74.248:4569
VERSION : 2
CALLED NUMBER : 0094712043212
CODEC_PREFS : (opus|ulaw)
CALLING NUMBER : 666
CALLING PRESNTN : 67
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : UpCloud
LANGUAGE : en
USERNAME : testuser
FORMAT : 0
FORMAT2 : opus
CAPABILITY : 4
CAPABILITY2 : Unknown
ADSICPE : 2
DATE TIME : 2020-06-16 00:21:28
CALLTOKEN : 51 bytes

Tx-Frame Retry[-01] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00248ms SCall: 08800 DCall: 07599 94.237.74.248:4569
Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00015ms SCall: 08800 DCall: 07599 94.237.74.248:4569
AUTHMETHODS : 2
CHALLENGE : \x35\x34\x36\x39\x38\x39\x32\x33\x39
USERNAME : testuser

Rx-Frame Retry[ No] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00492ms SCall: 07599 DCall: 08800 94.237.74.248:4569
MD5 RESULT : 2260080931372d8edd4f1bf40a795042

Tx-Frame Retry[-01] – OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00492ms SCall: 08800 DCall: 07599 94.237.74.248:4569
Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00010ms SCall: 09304 DCall: 00000 94.237.74.248:4569
USERNAME : testuser
REFRESH : 60

Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: CTOKEN
Timestamp: 00010ms SCall: 00001 DCall: 09304 94.237.74.248:4569
CALLTOKEN : 51 bytes

Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00253ms SCall: 09304 DCall: 00000 94.237.74.248:4569
USERNAME : testuser
REFRESH : 60
CALLTOKEN : 51 bytes

Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH
Timestamp: 00010ms SCall: 14163 DCall: 09304 94.237.74.248:4569
AUTHMETHODS : 3
CHALLENGE : \x31\x35\x33\x30\x33\x34\x39\x33\x34
USERNAME : testuser

Tx-Frame Retry[000] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ
Timestamp: 00493ms SCall: 09304 DCall: 14163 94.237.74.248:4569
USERNAME : testuser
REFRESH : 60
MD5 RESULT : 40f8dc6f5367e518b9923215d28f6ef3

Rx-Frame Retry[ No] – OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK
Timestamp: 00251ms SCall: 14163 DCall: 09304 94.237.74.248:4569
USERNAME : testuser
DATE TIME : 2020-06-16 00:21:28
REFRESH : 60
APPARENT ADDRES : IPV4 112.134.162.6:64761

Tx-Frame Retry[-01] – OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00251ms SCall: 09304 DCall: 14163 94.237.74.248:4569
Tx-Frame Retry[000] – OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REJECT
Timestamp: 01255ms SCall: 08800 DCall: 07599 94.237.74.248:4569
CAUSE : No authority found
CAUSE CODE : 50

Rx-Frame Retry[ No] – OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 01255ms SCall: 07599 DCall: 08800 94.237.74.248:4569
Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00002ms SCall: 13313 DCall: 00000 192.168.1.6:4569

Thank you for any support.

A quick Google search yielded this result:

No authority found. This error is usually caused by a username/secret/type mismatch. This error also occurs when the context requested in the incoming call is different from one in the section of incoming peer. Multiple contexts in the peer section can be defined.Jun 20, 2007

Asterisk No authority found - VoIP-Info

](https://www.voip-info.org/asterisk-no-authority-found/#:~:text=No%20authority%20found,peer%20section%20can%20be%20defined.)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.