TheRealNalaLockspur

joined 1 year ago
[–] TheRealNalaLockspur@alien.top 0 points 11 months ago (1 children)

Skyswitch. Gross. That MSA is a disaster.

TLS + a good SBC, you’ll never think about firewalls again.

I haven’t touched a customers firewall in over two years. Albeit, I am writing my own platform lol.

 

I am in the process of doing my Zoho PhoneBridge integration and I am trying to get Click to Dial working. Well, I do have it working, but only for physical phones and the mobile app. WebRTC (Sip.js) is having an issue.

I am calling the originate command through ESL using node. Click to dial works great if I have a Yealink or my mobile app registered, but if I only have the web app registered (Sip.js), then Freeswitch console throws:

2023-11-28 14:04:42.951275 97.17% [NOTICE] switch_ivr_originate.c:3049 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2023-11-28 14:04:42.951275 97.17% [DEBUG] switch_ivr_originate.c:4045 Originate Resulted in Error Cause: 806 [USER_NOT_REGISTERED]

The funny thing is. The webapp is registered. Makes and receives phone calls just fine and even sofia shows the extension is registered. I have reactive components that actively show the registration state in the web app too.

I have no idea why Freeswitch is throwing this error.

Anyone have any leads?

[–] TheRealNalaLockspur@alien.top 1 points 11 months ago

Go go power scripters… pew pew pew pewpewpew

[–] TheRealNalaLockspur@alien.top 1 points 11 months ago

We need more info. Logs.

 

Does anyone have experience with freeswitch esl?

I am hooked into freeswitch esl through node. I do this to greatly extend the functionality of freeswitch.

What I am trying to do is catch the event when freeswitch processes an SMS. I can see it on fs_cli (console) but I am not finding ANY event header for it and trying to avoid writing a js script fs side in mod_sms.

I googled for a bit and found that the event header was 'CUSTOM' (Where sofia events fire) and the subclass was 'sms::receive-message'. But this subclass does not exist.

I even looped through all object properties of the event::custom object. I searched for sms and SMS but turned up nothing.

Does anyone have any experience with this?

[–] TheRealNalaLockspur@alien.top 0 points 11 months ago (1 children)

I don't know where to begin with this... holy cow man.

When you googled everything.. how did you magically land on Sip.js needs to be on Node.js (Backend)?

I setup K8's successfully using freeswitch and KAZOO/Kamailio as an SBC. Even have our webapp in Azure kubes.

NAT was a bitch... but just keep pushing through!

I highly doubt there is anything on the market that is turn key though... and this took a couple of months to program too.

Spin up a freepbx instance or fusionpbx instance. You'll have to hook it up to a trunk provider to place calls through the PSTN though. Can't say any trunking providers names... cause we get banned now. But you have google :)