Hi,
Using the SIP library, I got the error code: Failed, ErrorCode=-9, Message=0
The account is brand new, never used on other devices.
I tried several Initialize and port options, but no result.
I see the Event SIP_Registering is never fired.
Calling my provider gives the answer "no logs", so I never reach him.
I use the example of Erel:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Is there something to check?
My URI has it's domain, but my registration server is another IP. It is a Generic. Could this be a cause?
Kind regards,
André
			
			Using the SIP library, I got the error code: Failed, ErrorCode=-9, Message=0
The account is brand new, never used on other devices.
I tried several Initialize and port options, but no result.
I see the Event SIP_Registering is never fired.
Calling my provider gives the answer "no logs", so I never reach him.
I use the example of Erel:
			
				B4X:
			
		
		
		Sub Activity_Create(FirstTime As Boolean)
    rp.CheckAndRequest(rp.PERMISSION_USE_SIP)
    Wait For Activity_PermissionResult (Permission As String, Result As Boolean)
    If Result = False Then
        ToastMessageShow("No permission!", True)
        Activity.Finish
    End If
   
    If Sip.IsInitialized = False Then
        'Check if SIP and VOIP are supported.
        If Sip.IsSipSupported = False Or Sip.IsVoipSupported = False Then
            Log("Not supported.")
            ToastMessageShow("SIP not supported.", True)
        Else
            'Register with the VOIP service
            Sip.Initialize2("SIP", "sip:[email protected]", "xxxx")
            'Sip.Initialize("Sip","xxxx","xx.xxx.xx.xx","xxxx")
            Sip.OutboundProxy="xx.xxx.xx.xx"
            Sip.Port=5060
            Sip.Register
        End If
    End If
    Activity.LoadLayout("1")
End SubIs there something to check?
My URI has it's domain, but my registration server is another IP. It is a Generic. Could this be a cause?
Kind regards,
André
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		