Hi,
I’m trying to configure a SIP trunk between two Asterisk installations (trough FreePBX). The trunks are loading correctly, and allows to pass calls but, in sip show registry, they show as No Registration
When I enable sip debugging, it shows Bad Auth.
Here is the config I have right now:
=====================================
FIRST SITE
trunk_name: the_trunk
PEER Details:
username=the_trunk
type=friend
trunkstyle=voip
secret=abc123
registersip=yes
registeriax=no
host=firstsite.example1.com
hassip=yes
hasiax=no
hasexten=no
group=null
Register string: the_trunk:[email protected]
SECOND SITE
trunk_name: the_trunk
PEER Details:
username=the_trunk
type=friend
trunkstyle=voip
secret=abc123
registersip=yes
registeriax=no
host=secondsite.example1.com
hassip=yes
hasiax=no
hasexten=no
group=null
Register string: the_trunk:[email protected]
I certainly have something wrong, but I can’t figure it out. Any help would be appreciated. Thanks.