![]() Lib_softphone.js:35 webphone: EVENT, _common: WSAPIRequest SEND data: data=BOFCOMMANDBOFLINEfunction=API_Call Lib_softphone.js:35 webphone: EVENT, USER, API_Call (ns), to: +17132371111, on line: 1, type: audio Lib_softphone.js:35 webphone: EVENT, plhandler initiate Call with engine: ns, to number: +17132371111 For the sake of privacy, I changed the domain, the username. Via: SIP/2.0/WSS qdyivsedfyq1.invalid branch=z9hG4bK19ROBOIsiVAeRFv2EGo4JOT0geD1IBIh rport X-Reason: text="Forbidden 403 received" cause=403 text="Forbidden 403 received Reason: text="CALL_REJECTED" cause=21 text="CALL_REJECTED" Via: SIP/2.0/WSS qdyivsedfyq1.invalid rport=22939 received=80.215.174.49 branch=z9hG4bK19ROBOIsiVAeRFv2EGo4JOT0geD1IBIhĬall-ID: 45323bd3-06b8-3f28-79e6-707909cd3043Īllow: ACK,BYE,CANCEL,INVITE,REGISTER,UPDATE,MESSAGE,INFO,OPTIONS,SUBSCRIBE,NOTIFY,REFER,PUBLISHĪllow-Events: conference,hold,refer,message-summary,presence,presence.winfo,talk,dialog,call-info,sla,include-session-description,as-feature-event,line-seize In fact, the account is fully working on X-lite but on Mizu-Webphone, I received a 403 error: I also have included this line in the manifest file :ĪddPermission ( knows how or what to configure an account to make it works on Mizu WebPhone? I have also installed "Csipsimple" client fom Google play market, and then used the same uri "" and username and password, and csipsimple client connected successfully, which meant that the registration process should be successful also with the b4a code, but i think as of my debugging that my code above does not even connect to the sip server the problem is in the Register process, i don't get "registering" at all, i get "SIP Intialized." but after that i always get error code = -9, i am using the same phone "samsung galaxy 3 mini" When ever the app is trying to register, i have made some efforts to debug it o see weather it actually sent the request to the server, i have changed the host uri and made it wrong as "" just to see weather it wold give me network error or not but still get the same error as errorcode= -9. ToastMessageShow("Ringing from: " & IncomingCall.PeerUri, True)īut i keep getting this error in the log : Sub SIP_CallRinging (IncomingCall As SipAudioCall) ![]() ToastMessageShow("Call established", True) 'Seems like this event can be raised by the SIP service multiple times. 'Check that we are not already in a call. ToastMessageShow("SIP registered sucessfully", True) Log("RegistrationDone, ExpiryTime=" & ExpiryTime) Sub SIP_RegistrationDone (ExpiryTime As Long) ToastMessageShow("Registration failed.", True) Log("Failed, ErrorCode=" & ErrorCode & ", Message=" & ErrorMessage) ![]() Sub SIP_RegistrationFailed (ErrorCode As Int, ErrorMessage As String) ToastMessageShow("SIP Intialized.", True) ToastMessageShow("SIP not supported.", True) If Sip.IsSipSupported = False OR Sip.IsVoipSupported = False Then Sub Service_Start (StartingIntent As Intent) ![]() I have question regarding implementing sip libraray, i have used it in test client as a service module, i have coded the the sip code from example was published previously in the forum, the code is as follows this is my Service Module :
0 Comments
Leave a Reply. |