Hi Paul,
I am sorry about the slow reply, but I have been ill in the past few days.
Quick update: I got the Yealink to work. I missed a setting under advanced named RPort. It needs to set to enabled to work for local calls.
I am having two subnets because FreePBX is located in a different location that is connected to my home office by VPN. So, subnet A is used for the location of FreePBX and subnet B is used for my home office.
Well, I got BroadVoice working with CHAN_SIP and I am using the following settings.
Outgoing -> Peer Details
username=user_name
user=phone
type=peer
secret=secret
qualify=yes
insecure=port,invite
host=sip.broadvoice.com
fromuser=user_name
fromdomain=sip.broadvoice.com
dtmfmode=inband
disallow=all
allow=g729&alaw&ulaw
authname=user_name
Incoming -> Register String
user_name:secret@sip.broadvoice.com/
I am guessing that CHAN_PJSIP isn't working because of the register string.
Otherwise, I got all extensions working on CHAN_PJSIP.