flutter-webrtc / dart-sip-ua

A dart-lang version of the SIP UA stack.
MIT License
339 stars 269 forks source link

Error while ending call from receiver device. #484

Closed Ahtsham0715 closed 1 month ago

Ahtsham0715 commented 1 month ago

type '(EventStateChanged) => Null' is not a subtype of type '(EventType) => void' of 'listener'. Why this error coming while ending call from receiver side.

Tin-Primas commented 1 month ago

It's look like you didn't include the listener to your SipUaHelperListener. Did you include all the listeners like onNewMessage, onNewNotify, onNewReinvite, registrationStateChanged, transportStateChanged, callStateChanged

Ahtsham0715 commented 1 month ago

yes I have all listeners. it was working few days ago but now giving this error. Do you think this is due to backend issue?.because accept call and other things are working only hangup not working.

Tin-Primas commented 1 month ago

Maybe cause i'm using the library and it works fine to me. You can try and try the example app in example folder. I tested and the hangup work normally

Ahtsham0715 commented 1 month ago

okay Thanks

Yukari-Tryhard commented 1 month ago

Remember to mark this issue as completed @Ahtsham0715 because the on going issues in this repo is too many right now. It's hard to follow now