Asterisk with Webrtc JSSIP ACK null

I’m trying to build a softphone with angular 11.

but having problem with asterisk with webrtc softphone.

It’s dropping a call after time between 15s and 90s.

I’m using in server side Asterisk v16.19.1 With FreePBX v15.0.17.43 Hosted on Gcloud compute engine.

In client side I’m using Jssip v3.8.0

Log from Asterisk: Asterisk Log -

Log from jssip: Jssip log -

I logged the trigger “connected” on jssip and get this:

phone-bar.component.ts:182 -------------> {originator: "local", ack: null}

When debugging on Asterisk, you generally want at least verbosity 5. Debug 5 may also be desirable.

Unfortunately, this means you will get a very large log, because of the amount of dialplan that FreePBX executes, so you need to try and look for likely problem areas before you upload it as people here are not used to ploughing through FreePBX dialplan, which they will not fully understand.

At the moment there is no evidence that the cause is FreePBX related, so I haven’t redirected you to the FreePBX forum. However, if you can reproduce the problem on bare Asterisk, with a minimal dialplan (e.g. just Dial(), it would be much easier to debug.

Hello david, I’m not sure what I did wrong.
but I reinstalled asterisk with freepbx from this tuto:

and then this one for webrtc:

and now it works!

Thanks for your patience!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.