- Joined
- May 10, 2019
- Messages
- 8
- Reaction score
- 1
Hi,
I'm trying to connect to 3CX API (config server) outside 3CX and I'm able to do it with SSH tunnelling, but I have a problem with events.
Using the same dotnet application, when I connect to config server and start listen to events on local machine (connecting to 127.0.0.1) I'm getting all events that I need.
Using the same dotnet application, when I connect to config server and start listen to events from remote machine (connecting via SSH tunnel) I'm getting only some events.
PhoneSystem.Root.Inserted += new NotificationEventHandler(Root_Inserted);
PhoneSystem.Root.Updated += new NotificationEventHandler(Root_Inserted);
PhoneSystem.Root.Deleted += new NotificationEventHandler(Root_Deleted);
Aplication run on localhost:
Coś sie dzieje... REGISTRATION
Coś sie dzieje... REGISTRAR
Coś sie dzieje... REGISTRATION
Coś sie dzieje... REGISTRAR
Coś sie dzieje... REGISTRATION
Coś sie dzieje... REGISTRAR
Coś sie dzieje... REGISTRATION
Coś sie dzieje... REGISTRAR
Coś sie dzieje... REGISTRATION
Coś sie dzieje... REGISTRAR
Coś sie dzieje... REGISTRATION
Coś sie dzieje... TRUNKREGTIMES
Coś sie dzieje... CONNECTION
Aplication run on remote machine using SSH tunnelling:
Coś sie dzieje... TRANSACTION
Coś sie dzieje... TRANSACTION
Coś sie dzieje... DN
Coś umiera... TRANSACTION
Coś sie dzieje... TRANSACTION
Coś sie dzieje... TRANSACTION
Coś sie dzieje... DN
Coś umiera... TRANSACTION
I'm not getting REGISTRAR, CONNECTION and probably many more events from remote machine
Firewall (iptables) is disabled. I know this is not secure configuration but this VM is only for testing.
Do you have any ideas why events are limited from remote location?
Thank You.
I'm trying to connect to 3CX API (config server) outside 3CX and I'm able to do it with SSH tunnelling, but I have a problem with events.
Using the same dotnet application, when I connect to config server and start listen to events on local machine (connecting to 127.0.0.1) I'm getting all events that I need.
Using the same dotnet application, when I connect to config server and start listen to events from remote machine (connecting via SSH tunnel) I'm getting only some events.
PhoneSystem.Root.Inserted += new NotificationEventHandler(Root_Inserted);
PhoneSystem.Root.Updated += new NotificationEventHandler(Root_Inserted);
PhoneSystem.Root.Deleted += new NotificationEventHandler(Root_Deleted);
Aplication run on localhost:
Coś sie dzieje... REGISTRATION
Coś sie dzieje... REGISTRAR
Coś sie dzieje... REGISTRATION
Coś sie dzieje... REGISTRAR
Coś sie dzieje... REGISTRATION
Coś sie dzieje... REGISTRAR
Coś sie dzieje... REGISTRATION
Coś sie dzieje... REGISTRAR
Coś sie dzieje... REGISTRATION
Coś sie dzieje... REGISTRAR
Coś sie dzieje... REGISTRATION
Coś sie dzieje... TRUNKREGTIMES
Coś sie dzieje... CONNECTION
Aplication run on remote machine using SSH tunnelling:
Coś sie dzieje... TRANSACTION
Coś sie dzieje... TRANSACTION
Coś sie dzieje... DN
Coś umiera... TRANSACTION
Coś sie dzieje... TRANSACTION
Coś sie dzieje... TRANSACTION
Coś sie dzieje... DN
Coś umiera... TRANSACTION
I'm not getting REGISTRAR, CONNECTION and probably many more events from remote machine
Firewall (iptables) is disabled. I know this is not secure configuration but this VM is only for testing.
Do you have any ideas why events are limited from remote location?
Thank You.