Re: Anyone have an example of a perl script which sends commands to the status port?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert Kulagowski wrote:
> On Fri, Sep 24, 2010 at 12:26 PM, Jan Willamowius <jan@xxxxxxxxxxxxxx> wrote:
> > Hi Robert,
> >
> > GnuGk includes 2 examples Perl scripts in contrib/statusport/,
> 
> The unregisterip.pl script doesn't work.  If I perform the same
> command from a telnet session is does... :(

We must make sure the connection is only closed after GnuGk had a
chance to process the commands. To avoid this timing issue, I added
reading GnuGk's responses to the sample before it closes the
connection. Then the unregisterip.pl script works again.

Regards,
Jan

-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux