I’m quite new to FreePBX and I’ve been trying to configure my Vodafone VoIP line following countless guides online, but I keep getting a 403 Forbidden error when trying to register my softphone.
Here are my VoIP settings (partially masked for security):
You can set up pjsip extension 101 with all settings left at defaults.
In the softphone, the SIP password must match the value of Secret for extension 101.
Test the extension by dialing *43 (echo test).
For the trunk:
Username: +3908*******
Password: *************
SIP Server: ims.vodafone.it
SIP Server Port: 5060
Outbound Proxy: sip:voip3.fixed.vodafone.it\;lr\;hide
From User: (same as Username)
From Domain: ims.vodafone.it
Leave all other trunk settings at defaults.
For initial testing, you can set a catch-all Inbound Route (DID Number and CallerID Number both left at ANY) pointing to extension 101. Likewise, set up a dummy Outbound Route with match pattern
X.
and selecting the Vodafone trunk.
Hi,
I’m still struggling with getting my Vodafone Italy VoIP line to register correctly with FreePBX.
Today, I get 404 or Rejected in pjsip show registrations. I respected your configuration. With pjsip set logger on, I can see my REGISTER going out to ims.vodafone.it:5060, but the response from Vodafone is either 403 or 404.
What I Need Help With
Is my trunk configuration correct for Vodafone Italy (ims.vodafone.it + outbound proxy voip3.fixed.vodafone.it)?
Do I need special settings for Contact User / Identify By / Match in FreePBX?
Could the Raspberry Pi/FreePBX setup be missing some NAT/SIP tweaks specific to Vodafone?
A working example of a pjsip.conf section for Vodafone Italy would be very helpful.
Are you saying that the same config sometimes results in 403 and sometimes 404? That would be very strange.
Possibly,
will help.
You probably need
Auth Username: +3908********@ims.vodafone.it
If you still can’t register, post the output from pjsip logger for an attempted registration. Mask your username, public IP and anything else you consider personal, but make it clear what each redacted value represents.
I think I’ve identified the issue: the Vodafone Station is registering its built-in VoIP service to the SIP server before FreePBX does. As a result, FreePBX cannot register the trunk and cannot make or receive calls. It seems the SIP account provided by Vodafone is being “locked” by the Vodafone Station.
Is there any way to prevent the Vodafone Station from automatically registering its VoIP, or to release the SIP registration so that FreePBX can use the number? On the Vodafone Station interface, I cannot find an option to disable the telephony.
I’m actually surprised that you were even able to obtain the credentials needed to access the Vodafone SIP infrastructure. Typically when PSTN migrates to SIP, the customer only gets access to SIP through the provider’s equipment. Typically the credentials are held on the hub in a way that is inaccessible to the customer.
Normally, people would have to forego their telephone provider’s VoIP infrostructure and use the underlying IP infrastructure to access a third party VoIP service.
Thank you for your message. Actually, thanks to AGCOM Resolution 179/07/CONS (which establishes the “right to a generic modem”), I am legally entitled to use a generic modem and therefore Vodafone is obliged by law to provide all the necessary SIP credentials.
On an exciting note, I now have the VoIP magically working through FreePBX for both incoming and outgoing calls. That said, I’ve noticed that sometimes it works perfectly, and sometimes it stops working, even though I haven’t changed anything.
The only relevant action this morning was that I contacted Vodafone, and they scheduled a phone appointment with a technician for tomorrow. So I don’t believe Vodafone has made any changes today. Do you have any ideas?