Hello,
I am having some strange times with FREESwitch and FusionPBX.
Originally, I had a remote phone which I was trying to get working over NAT as my internal ones worked fine (I have since found out - not from the horse's mouth - that there is a good chance I have a SIP ALG enabled on my SkyQ router without the option to turn it off!!) but it has developed into a bit of a brain-bender for me.
Some extensions will randomly not be able to make outgoing calls, presence subscriptions randomly become unknown or known, interdomain calls sometimes work with video, sometimes not and gateway registrations are unstable. It's as if it has a mind of it's own, or it's having a fit.
Maybe I'm just getting too old for all this mental running around now, but I can't find a pattern at all. Aside from a possible SIP ALG I can't get rid of.
It feels like there's too much 'intelligent' software in my network and they're all outsmarting each other - The phones, the PBX server, the router's ALG, the NAT-ing in general. I temporarily changed out my networking gear (not the router, unfortunately) to see if it was a switch, but that's when things just became even weirder.
Just in case anyone wants something to get their teeth into because I am ready to give it all up as another promising, yet ridiculous waste of my time. I feel that, while the standards we use are well designed, they are employed by relative Neanderthals, resulting in the minefield of inter-operability issues we have today.
I have attached some configs and logs to see if they'll help at all.
It's a shame there are no comprehensive knowledge resources for FS. It's not like I haven't informed the FS team of this. I keep thinking "If there's no accurate, current documentation, what actual use can I put this code to?" idk :/
I hope someone is able to shed a modicum of ambient light on the matter, if nothing else.
I would like to make this a viable business opportunity. I even have a guinea pig business for testing it with, provided I don't ruin him lol. If I can get this thing to at least behave more predictably, like it seems to do for some others, I would be over the moon. However, if I can't get it functioning at a usable level, I may well just have to give it up as poorly-judged idea.
Outgoing call log from extension 2001: (This is a good one - the domain name changes just in time for the ACL check and then changes back!)
2020-07-14 17:33:52.595928 [NOTICE] switch_channel.c:1118 New Channel sofia/internal/2001@sip.sntgroundworkspecialists.uk [c3eef6d6-c094-4562-8f7a-38691667809b]
2020-07-14 17:33:52.595928 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Running State Change CS_NEW (Cur 1 Tot 22)
2020-07-14 17:33:52.595928 [DEBUG] sofia.c:10279 sofia/internal/2001@sip.sntgroundworkspecialists.uk receiving invite from 192.168.42.245:5060 version: 1.10.3 -release-15-129de34d84 64bit
2020-07-14 17:33:52.595928 [DEBUG] sofia.c:10373 verifying acl "domains" for ip/port 192.168.42.245:0.
2020-07-14 17:33:52.614993 [WARNING] sofia_reg.c:2930 Can't find user [2001@fs-pbx.sandalcomputers.co.uk] from 192.168.42.245
You must define a domain called 'fs-pbx.sandalcomputers.co.uk' in your directory and add a user with the id="2001" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2020-07-14 17:33:52.614993 [WARNING] sofia_reg.c:1739 SIP auth failure (INVITE) on sofia profile 'internal' for [*9172@sip.sntgroundworkspecialists.uk] from ip 192.168.42.245
2020-07-14 17:33:52.614993 [DEBUG] switch_core_state_machine.c:604 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State NEW
2020-07-14 17:33:52.614993 [NOTICE] sofia.c:2432 Hangup sofia/internal/2001@sip.sntgroundworkspecialists.uk [CS_NEW] [CALL_REJECTED]
2020-07-14 17:33:52.634540 [DEBUG] sofia.c:1548 Channel is already hungup.
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Running State Change CS_HANGUP (Cur 1 Tot 22)
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:848 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Callstate Change DOWN -> HANGUP
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State HANGUP
2020-07-14 17:33:52.634540 [DEBUG] mod_sofia.c:453 Channel sofia/internal/2001@sip.sntgroundworkspecialists.uk hanging up, cause: CALL_REJECTED
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:60 sofia/internal/2001@sip.sntgroundworkspecialists.uk Standard HANGUP, cause: CALL_REJECTED
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State HANGUP going to sleep
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:620 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State Change CS_HANGUP -> CS_REPORTING
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Running State Change CS_REPORTING (Cur 1 Tot 22)
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State REPORTING
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:174 sofia/internal/2001@sip.sntgroundworkspecialists.uk Standard REPORTING, cause: CALL_REJECTED
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State REPORTING going to sleep
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:611 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State Change CS_REPORTING -> CS_DESTROY
2020-07-14 17:33:52.634540 [DEBUG] switch_core_session.c:1726 Session 22 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Locked, Waiting on external entities
2020-07-14 17:33:52.634540 [NOTICE] switch_core_session.c:1744 Session 22 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Ended
2020-07-14 17:33:52.634540 [NOTICE] switch_core_session.c:1748 Close Channel sofia/internal/2001@sip.sntgroundworkspecialists.uk [CS_DESTROY]
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Running State Change CS_DESTROY (Cur 0 Tot 22)
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State DESTROY
2020-07-14 17:33:52.634540 [DEBUG] mod_sofia.c:364 sofia/internal/2001@sip.sntgroundworkspecialists.uk SOFIA DESTROY
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:181 sofia/internal/2001@sip.sntgroundworkspecialists.uk Standard DESTROY
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State DESTROY going to sleep
If you need packet/SIP traces, ladder diagrams or more logs, I should be able to get some. I think there are some things perceived idiosyncrasies which are currently eluding me.
I was going to attach my FS config XML, but I am using FPBX on this server and don't know how to export or backup my config - I can't find a menu option for downloading/uploading it anywhere. The freeswitch.xml.fsxml file doesn't seem to contain my configuration changes. I gather FPBX updates a database instead of the XML files directly? If so, why didn't they choose to include a config backup/restore option in the Interface? So many questions.
Also, can anyone recommend a resource to learn about current Fusion PBX and FREESwitch versions in detail, please, preferably with a functional overview and categorised reference? It's hard without documentation and my social skills mean I regularly commit 'faux-pas' in forums without realising it, so I apologise if I have done that here. I have looked all over for consice and accurate documentation, but have found FS's site to be filled with marketing blurb and little to no technical information, including a blank section on video calls lol
Many thanks for any information or insights you can give me. I understand it's a forum, so I am not expecting an expert solution, but would like to know if there is an end in sight for this installation. I would like to use and promote this software if that is going to be possible.
Many, many thanks again.
I am having some strange times with FREESwitch and FusionPBX.
Originally, I had a remote phone which I was trying to get working over NAT as my internal ones worked fine (I have since found out - not from the horse's mouth - that there is a good chance I have a SIP ALG enabled on my SkyQ router without the option to turn it off!!) but it has developed into a bit of a brain-bender for me.
Some extensions will randomly not be able to make outgoing calls, presence subscriptions randomly become unknown or known, interdomain calls sometimes work with video, sometimes not and gateway registrations are unstable. It's as if it has a mind of it's own, or it's having a fit.
Maybe I'm just getting too old for all this mental running around now, but I can't find a pattern at all. Aside from a possible SIP ALG I can't get rid of.
It feels like there's too much 'intelligent' software in my network and they're all outsmarting each other - The phones, the PBX server, the router's ALG, the NAT-ing in general. I temporarily changed out my networking gear (not the router, unfortunately) to see if it was a switch, but that's when things just became even weirder.
Just in case anyone wants something to get their teeth into because I am ready to give it all up as another promising, yet ridiculous waste of my time. I feel that, while the standards we use are well designed, they are employed by relative Neanderthals, resulting in the minefield of inter-operability issues we have today.
I have attached some configs and logs to see if they'll help at all.
It's a shame there are no comprehensive knowledge resources for FS. It's not like I haven't informed the FS team of this. I keep thinking "If there's no accurate, current documentation, what actual use can I put this code to?" idk :/
I hope someone is able to shed a modicum of ambient light on the matter, if nothing else.
I would like to make this a viable business opportunity. I even have a guinea pig business for testing it with, provided I don't ruin him lol. If I can get this thing to at least behave more predictably, like it seems to do for some others, I would be over the moon. However, if I can't get it functioning at a usable level, I may well just have to give it up as poorly-judged idea.
Outgoing call log from extension 2001: (This is a good one - the domain name changes just in time for the ACL check and then changes back!)
2020-07-14 17:33:52.595928 [NOTICE] switch_channel.c:1118 New Channel sofia/internal/2001@sip.sntgroundworkspecialists.uk [c3eef6d6-c094-4562-8f7a-38691667809b]
2020-07-14 17:33:52.595928 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Running State Change CS_NEW (Cur 1 Tot 22)
2020-07-14 17:33:52.595928 [DEBUG] sofia.c:10279 sofia/internal/2001@sip.sntgroundworkspecialists.uk receiving invite from 192.168.42.245:5060 version: 1.10.3 -release-15-129de34d84 64bit
2020-07-14 17:33:52.595928 [DEBUG] sofia.c:10373 verifying acl "domains" for ip/port 192.168.42.245:0.
2020-07-14 17:33:52.614993 [WARNING] sofia_reg.c:2930 Can't find user [2001@fs-pbx.sandalcomputers.co.uk] from 192.168.42.245
You must define a domain called 'fs-pbx.sandalcomputers.co.uk' in your directory and add a user with the id="2001" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2020-07-14 17:33:52.614993 [WARNING] sofia_reg.c:1739 SIP auth failure (INVITE) on sofia profile 'internal' for [*9172@sip.sntgroundworkspecialists.uk] from ip 192.168.42.245
2020-07-14 17:33:52.614993 [DEBUG] switch_core_state_machine.c:604 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State NEW
2020-07-14 17:33:52.614993 [NOTICE] sofia.c:2432 Hangup sofia/internal/2001@sip.sntgroundworkspecialists.uk [CS_NEW] [CALL_REJECTED]
2020-07-14 17:33:52.634540 [DEBUG] sofia.c:1548 Channel is already hungup.
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Running State Change CS_HANGUP (Cur 1 Tot 22)
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:848 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Callstate Change DOWN -> HANGUP
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State HANGUP
2020-07-14 17:33:52.634540 [DEBUG] mod_sofia.c:453 Channel sofia/internal/2001@sip.sntgroundworkspecialists.uk hanging up, cause: CALL_REJECTED
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:60 sofia/internal/2001@sip.sntgroundworkspecialists.uk Standard HANGUP, cause: CALL_REJECTED
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State HANGUP going to sleep
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:620 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State Change CS_HANGUP -> CS_REPORTING
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Running State Change CS_REPORTING (Cur 1 Tot 22)
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State REPORTING
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:174 sofia/internal/2001@sip.sntgroundworkspecialists.uk Standard REPORTING, cause: CALL_REJECTED
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State REPORTING going to sleep
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:611 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State Change CS_REPORTING -> CS_DESTROY
2020-07-14 17:33:52.634540 [DEBUG] switch_core_session.c:1726 Session 22 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Locked, Waiting on external entities
2020-07-14 17:33:52.634540 [NOTICE] switch_core_session.c:1744 Session 22 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Ended
2020-07-14 17:33:52.634540 [NOTICE] switch_core_session.c:1748 Close Channel sofia/internal/2001@sip.sntgroundworkspecialists.uk [CS_DESTROY]
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) Running State Change CS_DESTROY (Cur 0 Tot 22)
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State DESTROY
2020-07-14 17:33:52.634540 [DEBUG] mod_sofia.c:364 sofia/internal/2001@sip.sntgroundworkspecialists.uk SOFIA DESTROY
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:181 sofia/internal/2001@sip.sntgroundworkspecialists.uk Standard DESTROY
2020-07-14 17:33:52.634540 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/2001@sip.sntgroundworkspecialists.uk) State DESTROY going to sleep
If you need packet/SIP traces, ladder diagrams or more logs, I should be able to get some. I think there are some things perceived idiosyncrasies which are currently eluding me.
I was going to attach my FS config XML, but I am using FPBX on this server and don't know how to export or backup my config - I can't find a menu option for downloading/uploading it anywhere. The freeswitch.xml.fsxml file doesn't seem to contain my configuration changes. I gather FPBX updates a database instead of the XML files directly? If so, why didn't they choose to include a config backup/restore option in the Interface? So many questions.
Also, can anyone recommend a resource to learn about current Fusion PBX and FREESwitch versions in detail, please, preferably with a functional overview and categorised reference? It's hard without documentation and my social skills mean I regularly commit 'faux-pas' in forums without realising it, so I apologise if I have done that here. I have looked all over for consice and accurate documentation, but have found FS's site to be filled with marketing blurb and little to no technical information, including a blank section on video calls lol
Many thanks for any information or insights you can give me. I understand it's a forum, so I am not expecting an expert solution, but would like to know if there is an end in sight for this installation. I would like to use and promote this software if that is going to be possible.
Many, many thanks again.