I am very new to FreePBX but have used it at a local level for deploying extensions. I have been recently trying to use it more professionally so am trying to link it with our SIP Trunk. We have a trunk with yay dot com who have been brilliant so far.
I am trying to setup the trunks so I can make outgoing and receive incoming calls. I’ve followed their guide as shown online and contacted their support.
Their support said that my server is responding with a 407 Proxy Authentication Required to our incoming calls (INVITEs). They said they don’t support authentication on trunk calls and that I will need to configure freepbx to accept calls without authentication. Unfortunately I am very new to FreePBX and VOIP in general so this may seem like a bit of a dumb question!
Thanks in advanced for any support it is greatly appreciated!
Yes I was following that exact guide but couldn’t! post as I’m a new user. I have attached a few screenshots I hope they help. No I can’t make outbound calls either, I just get a recording saying your call cannot be completed as dialled please check the number and dial again. I cant see anything in the log but have also attached the top half.
Try the register string which you have left blank in your trunk settings.
See if you get the trunk to register.
The config example is in the link stewart1 posted.
You might have deleted the pjsip trunk, but you will need a chan-sip trunk responsive to and from yay dot com on the port that they are set to use. Currently it looks like they are sending calls to port 5060 , which in your deployment is going to be answered by pjsip and as you see , pjsip doesn’t know what to do with them.
Perhaps adding port=5160 (or whatever) to your chan-sip trunk’s inbound and outbound settings?