[Asterisk-Users] manager interface change request
Michiel Betel
michiel at betel.nl
Fri May 30 03:34:02 MST 2003
I concur! It would also help in parsing out the occasional junk I get on the
socket.
(I'm currently writing a wxwindows version of gastman)
Also... I'm still not sure wheter I can be absolutely sure that the
Responses will always be in the correct order...
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Roy Sigurd
Karlsbakk
Sent: vrijdag 30 mei 2003 10:29
To: Asterisk mailing list
Subject: [Asterisk-Users] manager interface change request
hi all
I'm trying to use the manager interface to do some nagios
(http://nagios.org/)
integration, and I find some parts of it not really optimal. What I'd like
to
change, is to make \r\n\r\n an actual terminator, something it isn't today,
AFACS. Below is the Status output - it shows Response, Message, \r\n, Status
post, \r\n, Status post etc etc. Without a parsable terminator, I need to
use
some select/poll interfaces, and I just don't like that :P
May I suggest changing the \r\n between status (and other) output sections
to
something like '---\r\n'?
regards
roy
action: status
Response: Success
Message: Channel status will follow
Event: Status
Channel: CAPI[contr2/22545070]
CallerID: 22545070
State: Up
Link: MGCP/aaln/1 at iptlf01-1
Event: Status
Channel: MGCP/aaln/1 at iptlf01-1
CallerID: 22545070
State: Up
Context: default
Extension: 98013356
Priority: 1
Link: CAPI[contr2/22545070]
--
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356
Computers are like air conditioners.
They stop working when you open Windows.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list