Re: [Freeswitch-users] How to reconnect to FS ?

2008-08-01 Thread Anthony Minessale
Running the regular console in screen is the best way to run FS imho.
We do it all the time.  screen is probably my favorite program.  It already
does everything you need for a remote console and it leaves little reason to
even bother making your own.


However, the goal in the long run is to develop a BSD licensed event socket
API for C.
Using that, then it would be easy to make a network based remote CLI app as
a demo of the library.





On Thu, Jul 31, 2008 at 6:47 PM, jay binks [EMAIL PROTECTED] wrote:

 while I totally agree...
 id love to see it... but Id also love the core devs to keep working on more
 important stuff..

 after FS is setup and running, your not going to need to attach to the
 console to do stuff.
 and when you do, fs.pl is there for the occasional usage.

 so yea... I guess its one of those things.. if its easy, and dosnt take
 much time
 then GREAT... ( however if that were the case, I guess it would have
 already been done )

 but yea... at the moment id say keep working on the important stuff  ! :)

 Jay



 On Fri, Aug 1, 2008 at 9:36 AM, Diego Viola [EMAIL PROTECTED] wrote:

 It would be cool also if you could re-attach FS from internet and from
 the local host, with -r (resume) -h (host) -p (port). So you could
 re-attach not just locally but from any host.

 Just a though ;-)

 Diego

 On Thu, Jul 31, 2008 at 6:41 PM, Ashutosh [EMAIL PROTECTED]
 wrote:
  I wondered if attaching FS to a a screen and in bg mode would be good
  workaround, so that one can reattach to that screen from any other shell
  later ?
 
  Regards,
  ashutosh
 
  On Fri, Aug 1, 2008 at 1:32 AM, Diego Viola [EMAIL PROTECTED]
 wrote:
 
  I know there is fs.pl, and it's indeed useful, but an -r option in the
  binary itself would be nicer ;-)
 
  Just as a suggestion, don't take it bad =D.
 
  FS rocks!
 
  Diego
 
  On Thu, Jul 31, 2008 at 3:57 PM, Henk Oegema 
 [EMAIL PROTECTED]
  wrote:
   On Thursday 31 July 2008 20:54:53 unknown wrote:
   freeswitch# perl fs.pl
   FreeSWITCH
  
   That's it.
  
  
   :-)
  
   Henk
  
   ___
   Freeswitch-users mailing list
   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
  
 
  ___
  Freeswitch-users mailing list
  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
 
 
  ___
  Freeswitch-users mailing list
  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
 
 

 ___
 Freeswitch-users mailing list
 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




 --
 Sincerely

 Jay

 ___
 Freeswitch-users mailing list
 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




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:[EMAIL PROTECTED] [EMAIL PROTECTED]
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED][EMAIL PROTECTED]
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED] [EMAIL PROTECTED]
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED][EMAIL PROTECTED]
pstn:213-799-1400
___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] How to reconnect to FS ?

2008-07-31 Thread Michael Collins
Speaking of the Rosetta Stone page, it could use some love and
attention.  If you have any Asterisk and FS knowledge we'd love to have
you add something to the Rosetta Stone page.  Even if you add just one
tip or trick it would be welcomed heartily.  It could save a lot of time
and energy on the lists and IRC if people could leverage their
hard-earned Asterisk knowledge to get up and running quickly with FS.

 

Thanks,

MC

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
unknown
Sent: Thursday, July 31, 2008 10:29 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] How to reconnect to FS ?

 

It's not a problem.
do this 
Perl script: src/scripts/socket/fs.pl

as in http://wiki.freeswitch.org/wiki/Rosetta_stone

Chris

On Thu, Jul 31, 2008 at 1:15 PM, Henk Oegema
[EMAIL PROTECTED] wrote:

How do I (re)connect to a running FS?  (like -rv parameter in * ) to get
the
FS CLI prompt back?

[EMAIL PROTECTED]:/usr/local/freeswitch/bin# ./freeswitch
Cannot lock pid file /usr/local/freeswitch/log/freeswitch.pid.

I get this message because FS is already running.


Even better: where do I find the documentation for this problem.

Rgds
Henk

___
Freeswitch-users mailing list
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

 

___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] How to reconnect to FS ?

2008-07-31 Thread Henk Oegema
On Thursday 31 July 2008 19:28:57 unknown wrote:
 It's not a problem.
 do this
 Perl script: src/scripts/socket/fs.pl

Thanks Chris. 
I'm not familiar with Perl, so a more detailed explanaition
is highly appreciated.

Where is:  src/scripts/socket/fs.pl  ?

I have a file fs.pl in ~/freeswitch-1.0.0/script/socket

But hen I don't know how to proceed.


 as in http://wiki.freeswitch.org/wiki/Rosetta_stone

 Chris


___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] How to reconnect to FS ?

2008-07-31 Thread unknown
freeswitch# perl fs.pl
FreeSWITCH

That's it.

Chris

On Thu, Jul 31, 2008 at 2:45 PM, Henk Oegema [EMAIL PROTECTED]wrote:

 On Thursday 31 July 2008 19:28:57 unknown wrote:
  It's not a problem.
  do this
  Perl script: src/scripts/socket/fs.pl

 Thanks Chris.
 I'm not familiar with Perl, so a more detailed explanaition
 is highly appreciated.

 Where is:  src/scripts/socket/fs.pl  ?

 I have a file fs.pl in ~/freeswitch-1.0.0/script/socket

 But hen I don't know how to proceed.

 
  as in http://wiki.freeswitch.org/wiki/Rosetta_stone
 
  Chris
 

 ___
 Freeswitch-users mailing list
 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

___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] How to reconnect to FS ?

2008-07-31 Thread Brian West
Also make sure the FreeSWITCH/ dir is in your site_perl dir

/b

On Jul 31, 2008, at 1:54 PM, unknown wrote:

 freeswitch# perl fs.pl
 FreeSWITCH

 That's it.

 Chris

Brian West
sip:[EMAIL PROTECTED]




___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] How to reconnect to FS ?

2008-07-31 Thread Diego Viola
Just as a suggestion, it would be nice a -r option in the freeswitch
binary, could this be done in the future? =D

Diego

On Thu, Jul 31, 2008 at 2:58 PM, Brian West [EMAIL PROTECTED] wrote:
 Also make sure the FreeSWITCH/ dir is in your site_perl dir

 /b

 On Jul 31, 2008, at 1:54 PM, unknown wrote:

 freeswitch# perl fs.pl
 FreeSWITCH

 That's it.

 Chris

 Brian West
 sip:[EMAIL PROTECTED]




 ___
 Freeswitch-users mailing list
 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


___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] How to reconnect to FS ?

2008-07-31 Thread Diego Viola
I know there is fs.pl, and it's indeed useful, but an -r option in the
binary itself would be nicer ;-)

Just as a suggestion, don't take it bad =D.

FS rocks!

Diego

On Thu, Jul 31, 2008 at 3:57 PM, Henk Oegema [EMAIL PROTECTED] wrote:
 On Thursday 31 July 2008 20:54:53 unknown wrote:
 freeswitch# perl fs.pl
 FreeSWITCH

 That's it.


 :-)

 Henk

 ___
 Freeswitch-users mailing list
 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


___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] How to reconnect to FS ?

2008-07-31 Thread Ashutosh
I wondered if attaching FS to a a screen and in bg mode would be good
workaround, so that one can reattach to that screen from any other shell
later ?

Regards,
ashutosh

On Fri, Aug 1, 2008 at 1:32 AM, Diego Viola [EMAIL PROTECTED] wrote:

 I know there is fs.pl, and it's indeed useful, but an -r option in the
 binary itself would be nicer ;-)

 Just as a suggestion, don't take it bad =D.

 FS rocks!

 Diego

 On Thu, Jul 31, 2008 at 3:57 PM, Henk Oegema [EMAIL PROTECTED]
 wrote:
  On Thursday 31 July 2008 20:54:53 unknown wrote:
  freeswitch# perl fs.pl
  FreeSWITCH
 
  That's it.
 
 
  :-)
 
  Henk
 
  ___
  Freeswitch-users mailing list
  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
 

 ___
 Freeswitch-users mailing list
 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

___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] How to reconnect to FS ?

2008-07-31 Thread Diego Viola
It would be cool also if you could re-attach FS from internet and from
the local host, with -r (resume) -h (host) -p (port). So you could
re-attach not just locally but from any host.

Just a though ;-)

Diego

On Thu, Jul 31, 2008 at 6:41 PM, Ashutosh [EMAIL PROTECTED] wrote:
 I wondered if attaching FS to a a screen and in bg mode would be good
 workaround, so that one can reattach to that screen from any other shell
 later ?

 Regards,
 ashutosh

 On Fri, Aug 1, 2008 at 1:32 AM, Diego Viola [EMAIL PROTECTED] wrote:

 I know there is fs.pl, and it's indeed useful, but an -r option in the
 binary itself would be nicer ;-)

 Just as a suggestion, don't take it bad =D.

 FS rocks!

 Diego

 On Thu, Jul 31, 2008 at 3:57 PM, Henk Oegema [EMAIL PROTECTED]
 wrote:
  On Thursday 31 July 2008 20:54:53 unknown wrote:
  freeswitch# perl fs.pl
  FreeSWITCH
 
  That's it.
 
 
  :-)
 
  Henk
 
  ___
  Freeswitch-users mailing list
  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
 

 ___
 Freeswitch-users mailing list
 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


 ___
 Freeswitch-users mailing list
 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



___
Freeswitch-users mailing list
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


Re: [Freeswitch-users] How to reconnect to FS ?

2008-07-31 Thread jay binks
while I totally agree...
id love to see it... but Id also love the core devs to keep working on more
important stuff..

after FS is setup and running, your not going to need to attach to the
console to do stuff.
and when you do, fs.pl is there for the occasional usage.

so yea... I guess its one of those things.. if its easy, and dosnt take much
time
then GREAT... ( however if that were the case, I guess it would have already
been done )

but yea... at the moment id say keep working on the important stuff  ! :)

Jay


On Fri, Aug 1, 2008 at 9:36 AM, Diego Viola [EMAIL PROTECTED] wrote:

 It would be cool also if you could re-attach FS from internet and from
 the local host, with -r (resume) -h (host) -p (port). So you could
 re-attach not just locally but from any host.

 Just a though ;-)

 Diego

 On Thu, Jul 31, 2008 at 6:41 PM, Ashutosh [EMAIL PROTECTED]
 wrote:
  I wondered if attaching FS to a a screen and in bg mode would be good
  workaround, so that one can reattach to that screen from any other shell
  later ?
 
  Regards,
  ashutosh
 
  On Fri, Aug 1, 2008 at 1:32 AM, Diego Viola [EMAIL PROTECTED]
 wrote:
 
  I know there is fs.pl, and it's indeed useful, but an -r option in the
  binary itself would be nicer ;-)
 
  Just as a suggestion, don't take it bad =D.
 
  FS rocks!
 
  Diego
 
  On Thu, Jul 31, 2008 at 3:57 PM, Henk Oegema 
 [EMAIL PROTECTED]
  wrote:
   On Thursday 31 July 2008 20:54:53 unknown wrote:
   freeswitch# perl fs.pl
   FreeSWITCH
  
   That's it.
  
  
   :-)
  
   Henk
  
   ___
   Freeswitch-users mailing list
   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
  
 
  ___
  Freeswitch-users mailing list
  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
 
 
  ___
  Freeswitch-users mailing list
  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
 
 

 ___
 Freeswitch-users mailing list
 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




-- 
Sincerely

Jay
___
Freeswitch-users mailing list
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