In the section:
https://sangomakb.atlassian.net/wiki/spaces/FP/pages/242581508/Using+FreePBX+17+with+chan_sip
it states to back-rev Asterisk to version 20 to turn on chan_sip support in FreePBX 17. When this is done and you run FreePBX 17 there is a section under Advanced Settings for selecting the “SIP Channel Driver” you can set it to pjsip, chan_sip or both.
However,
If you build Asterisk version 21 with chan_sip support, (and yes I mean version 21 not version 20) and then install FreePBX 17 on the system, this option does not seem to appear in Advanced Settings.
If I go into Reports, Asterisk Info I can see chansip in there.
I can go to the Asterisk CLI and issue
*CLI> module load chan_sip.so
and i get the usual:
Loaded chan_sip.so
SIP channel loading…
[2024-08-14 18:22:14] WARNING[6736]: acl.c:1065 ast_find_ourip: Unable to get hostname
[2024-08-14 18:22:14] WARNING[6736]: chan_sip.c:40999 deprecation_notice: chan_sip has no official maintainer and is deprecated. Migration to
[2024-08-14 18:22:14] WARNING[6736]: chan_sip.c:41000 deprecation_notice: chan_pjsip is recommended. See guides at the Asterisk Wiki:
[2024-08-14 18:22:14] WARNING[6736]: chan_sip.c:41001 deprecation_notice: https://wiki.asterisk.org/wiki/display/AST/Migrating+from+chan_sip+to+res_pjsip
[2024-08-14 18:22:14] WARNING[6736]: chan_sip.c:41002 deprecation_notice: https://wiki.asterisk.org/wiki/display/AST/Configuring+res_pjsip
I can do a
*CLI> core show help
and see all the sip commands;
sip callforward {on|off} – Sets/Removes the call forwarding extension for a SIP peer
sip donotdisturb {on|off} – Enables/Disables do not disturb on a SIP peer
sip huntgroup {on|off} – Login to/Logout from Hunt Group for a SIP peer
sip notify – Send a notify packet to a SIP peer
sip prune realtime [peer|all] – Prune cached Realtime users/peers
sip qualify peer – Send an OPTIONS packet to a peer
sip reload – Reload SIP configuration
sip set debug {on|off|ip|peer} – Enable/Disable SIP debugging
sip set history {on|off} – Enable/Disable SIP history
sip show {channels|subscriptions} – List active SIP channels or subscriptions
sip show channelstats – List statistics for active SIP channels
sip show channel – Show detailed SIP channel info
sip show domains – List our local SIP domains
sip show history – Show SIP dialog history
sip show inuse [all] – List all inuse/limits
sip show mwi – Show MWI subscriptions
sip show objects – List all SIP object allocations
sip show peers [like] – List defined SIP peers
sip show peer – Show details on specific SIP peer
sip show registry – List SIP registration status
sip show sched – Present a report on the status of the scheduler queue
sip show settings – Show SIP global settings
sip show tcp – List TCP Connections
sip show users [like] – List defined SIP users
sip show user – Show details on specific SIP user
sip unregister – Unregister (force expiration) a SIP peer from the registry
Is there something I’m missing here? I seem to be in a catch-22, that is, I can’t see the option to load chan_sip if FreePBX thinks it’s Asterisk 21 and then since it’s not loaded I can’t access the configuration screens for adding a chan_sip extension, etc. etc. etc. even though those screens exist in FreePBX 17
Bug perhaps?