Hello everyone.
I need help creating an additional transport for a pjsip trunk. I need to route pjsip traffic through a different interface. In the GUI, in the pjsip settings, there’s a transport called UDP 0.0.0.0. I don’t see the add button.
If I change the configuration files manually then pjsip not load or load with error.
Below
udp - 0.0.0.0 - All
you should see disabled entries for each interface, which you can enable.
I expected to see all the transports, but there is only one udp transport - 0.0.0.0
The add button is missing
The server has three network interfaces.
pbxeth0 - Company local area network (static, without gateway)
pbxeth1- SIP channel (DHCP, ignore the gateway)
pbxeth2 - Internet (staric with gateway)
SIP traffic for the trunk goes through interface pbxeth0 by default. This is good, but two SIP trunks use a special SIP channel connected to network interface pbheth1. I can’t route SIP traffic for this spetionals trunks to interface pbxeth1.
I couldn’t find a way to add transport in GUI.
If I edit PJSIP files the FreePBX overwrites them and breaks endpoints.
Strange inscription - Note that the interface is only displayed for your information, and is not referenced by asterisk. After you enable/disable a transport, asterisk needs to be restarted, not just reloaded.
Does it help to turn on Show Advanced Settings on the pjsip tab?
One more question
Do I need to disable the default gateway in pbxeth1 that connects to DHCP, or is this not necessary in the new version?
Probably not, but you need static routes for SIP and/or media, unless they are in the same subnets as your trunk interfaces.
I had to remove the default gateway on network interface pbxeth2, which is connected to the internet, and restore the default gateway assigned by DHCP on network interface pbxeth1. After this, the gateway assigned by DHCP to network interface pbxeth1 becomes the default gateway. The trunk is registered, but the internet connection is lost.
Previously there was internet, but there was no sip trunk registration ![]()
Problem with two gateways. One should be the default.
Registration of SIP trunks that use the Internet is now unavailable.
At the OS level, the route to each trunk must use the proper interface; check your routing table.
The default route must use the interface that has Internet access.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.




