Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] ESL Client --> Multiple FS Servers


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
govoiper at gmail.com
Guest





PostPosted: Mon Feb 29, 2016 9:43 am    Post subject: [Freeswitch-users] ESL Client --> Multiple FS Servers Reply with quote

Hi All,

I'm looking for some guidance on connecting my ESL client program to multiple FS Servers at once. I've written a small code which connects to one FS ESL and based on events it generates some reports and also send back some actions to FS. 


Now I'm looking to expand that form one to multiple FS servers but the code should collect all events from every FS and be able to send action to any of them whatever the logic be. 


Any guides or hints will be much appreciated.


Regards,
Sammy
Back to top
bobjectsfreeswitch at ...
Guest





PostPosted: Mon Feb 29, 2016 10:31 am    Post subject: [Freeswitch-users] ESL Client --> Multiple FS Servers Reply with quote

Is that inherently more difficult than connecting to one server?  Consider taking an object-oriented approach:  Make a FreeswitchServer object with address ivar, have the constructor connect a socket, instantiate once for each server.





On Mon, Feb 29, 2016 at 8:41 AM, SamyGo <govoiper@gmail.com (govoiper@gmail.com)> wrote:
Quote:
Hi All,

I'm looking for some guidance on connecting my ESL client program to multiple FS Servers at once. I've written a small code which connects to one FS ESL and based on events it generates some reports and also send back some actions to FS. 


Now I'm looking to expand that form one to multiple FS servers but the code should collect all events from every FS and be able to send action to any of them whatever the logic be. 


Any guides or hints will be much appreciated.


Regards,
Sammy






_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
govoiper at gmail.com
Guest





PostPosted: Mon Feb 29, 2016 10:56 am    Post subject: [Freeswitch-users] ESL Client --> Multiple FS Servers Reply with quote

Hi Bob,Thanks for taking out time, I understand what you're saying, and it makes sense. I have used perl so far and I am considering GoLang for this. (more of a scripting approach so far)
 
Can you just tell me this: if it is an ObjOriented code and I connect to multiple servers at once, the buffer I receive Events into will be common ? The same loop in which I collect events from all the servers stays the same too !? 


Considering that its been some time I've done some good programming, my dev skills are decently rusty and hence this email.


Thanks again,
Sammy


On Mon, Feb 29, 2016 at 10:29 AM, Bob Hartwig <bobjectsfreeswitch@gmail.com (bobjectsfreeswitch@gmail.com)> wrote:
Quote:
Is that inherently more difficult than connecting to one server?  Consider taking an object-oriented approach:  Make a FreeswitchServer object with address ivar, have the constructor connect a socket, instantiate once for each server.





On Mon, Feb 29, 2016 at 8:41 AM, SamyGo <govoiper@gmail.com (govoiper@gmail.com)> wrote:


Quote:
Hi All,

I'm looking for some guidance on connecting my ESL client program to multiple FS Servers at once. I've written a small code which connects to one FS ESL and based on events it generates some reports and also send back some actions to FS. 


Now I'm looking to expand that form one to multiple FS servers but the code should collect all events from every FS and be able to send action to any of them whatever the logic be. 


Any guides or hints will be much appreciated.


Regards,
Sammy








_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
bobjectsfreeswitch at ...
Guest





PostPosted: Mon Feb 29, 2016 11:36 am    Post subject: [Freeswitch-users] ESL Client --> Multiple FS Servers Reply with quote

I guess it depends on whether you need to send commands in reply to events.  If so, you'll probably want to have separate queues and servicing threads for each server.  Your requirements can probably tell you better than I can.

Bob






On Mon, Feb 29, 2016 at 9:55 AM, SamyGo <govoiper@gmail.com (govoiper@gmail.com)> wrote:
Quote:
Hi Bob,Thanks for taking out time, I understand what you're saying, and it makes sense. I have used perl so far and I am considering GoLang for this. (more of a scripting approach so far)
 
Can you just tell me this: if it is an ObjOriented code and I connect to multiple servers at once, the buffer I receive Events into will be common ? The same loop in which I collect events from all the servers stays the same too !? 


Considering that its been some time I've done some good programming, my dev skills are decently rusty and hence this email.


Thanks again,
Sammy


On Mon, Feb 29, 2016 at 10:29 AM, Bob Hartwig <bobjectsfreeswitch@gmail.com (bobjectsfreeswitch@gmail.com)> wrote:
Quote:
Is that inherently more difficult than connecting to one server?  Consider taking an object-oriented approach:  Make a FreeswitchServer object with address ivar, have the constructor connect a socket, instantiate once for each server.





On Mon, Feb 29, 2016 at 8:41 AM, SamyGo <govoiper@gmail.com (govoiper@gmail.com)> wrote:


Quote:
Hi All,

I'm looking for some guidance on connecting my ESL client program to multiple FS Servers at once. I've written a small code which connects to one FS ESL and based on events it generates some reports and also send back some actions to FS. 


Now I'm looking to expand that form one to multiple FS servers but the code should collect all events from every FS and be able to send action to any of them whatever the logic be. 


Any guides or hints will be much appreciated.


Regards,
Sammy








_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org






_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services