Re: [asterisk-users] Manager Interface API's

2006-08-17 Thread Tzafrir Cohen
On Wed, Aug 16, 2006 at 03:43:26PM -0600, Douglas Garstang wrote:

[ Unnecessary flames snipped ]

 I did mention the code. I mentioned the two python API's, and the perl API.
 http://sourceforge.net/projects/pyst
 http://py-asterisk.berlios.de/py-asterisk.php
 http://search.cpan.org/~xantus/POE-Component-Client-Asterisk-Manager/Manager.pm

I haven't tried the python interface. I have experimented a bit with the
perl Asterisk POE component.

  perldoc POE::Component::Client::Asterisk::Manager

gives you a nice little program. However you must realise that it is
part of a bigger framework (POE). Try

  perldoc POE

for starters.

Also note that those modules don't attempt to give you a full
documentation of the Asterisk manager interface, as the manager
interface's specific functions depend on the availbility of specific
modules in the Asterisk installation and of the version of Asterisk. The
manager interface has basic documentation in Asterisk ('show manager
command foo' or 'show manager commands').

IIRC, however, something I found lacking at that wrapper to the manager
interface is that its main loop does not give a separate ID to each
command I send. And thus it can be confused when you get a fast flow of
events.

-- 
Tzafrir Cohen sip:[EMAIL PROTECTED]
icq#16849755  iax:[EMAIL PROTECTED]
+972-50-7952406  jabber:[EMAIL PROTECTED]
[EMAIL PROTECTED] http://www.xorcom.com
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-17 Thread Olle E Johansson


16 aug 2006 kl. 23.01 skrev Michael Collins:


Doug,

I'm sure that you are not the only one who considers an API w/o  
docs to
be of limited or no value.  I just doubt that many people have use  
for a

management API because they don't use the Asterisk manager interface
very much.


Manager actions are well documented in the CLI from Asterisk version  
1.2.
There's also a readme file. The only part of manager that is poorly  
documented today is all the

manager events - any help to document those are appreciated.

If you don't think the manager action documentation is correct or  
enough, I look forward

to your input and patches/suggestions.

/Olle

---
* Olle E. Johansson - [EMAIL PROTECTED]
* Asterisk Training http://edvina.net/training/
* Asterisk Beachcamp - Malaga, Spain! September 25-29



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager Interface API's

2006-08-16 Thread Douglas Garstang
Actually, because there's no documentation, I don't have anything that I can 
use.

 -Original Message-
 From: Dovid Bender [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 15, 2006 12:54 PM
 To: [EMAIL PROTECTED]; Asterisk Users Mailing List -
 Non-Commercial Discussion
 Subject: Re: [asterisk-users] Manager Interface API's
 
 
 Some of them write it for them selves and out of the goodness 
 of thier heart 
 will put out there for free. They dont need doc's since they 
 wrote it them 
 selves. Be happy that you got it for free. Do you want people to stop 
 releasing code because others complain ?
 - Original Message - 
 From: John Novack [EMAIL PROTECTED]
 To: Asterisk Users Mailing List - Non-Commercial Discussion 
 asterisk-users@lists.digium.com
 Sent: Tuesday, August 15, 2006 12:39 PM
 Subject: Re: [asterisk-users] Manager Interface API's
 
 
  I, for one, didn't take his comment as anything other than 
 constructive
  Lack of documentation is an issue, open source or not.
  It is an unfortunate situation that many very smart coders 
 understand what 
  they have created, but are unwilling or unable to supply enough 
  information for many others to make effective use of their creation
  How many have struggled through the years with uncommented 
 or poorly 
  commented code when the original creator is off to greener pastures?
 
  JMO
 
  John Novack
 
 
  Moises Silva wrote:
  Douglas. Please take this as a constructive comment. I 
 have followed
  your questions in asterisk-dev and users lists, and you 
 always seem to
  make non constructive comments about the people giving 
 code/work for
  Free. And you focus in the negative part, never giving  
 importance to
  the positive things about it.
 
  If you dont like something, then change it yourself, they are not
  providing a payed service. The source is available AS-IS 
 if you want
  it, and if you like it, take it; If you dont, just ignore 
 it, try to
  not make peyorative comments.
 
  Regards
 
  On 8/15/06, Douglas Garstang [EMAIL PROTECTED] wrote:
 
 
  Well, I don't know about you, but if I have to read the 
 source code to 
  work
  out how it works, I'm going to go and look at someone 
 elses, that may 
  have
  some BASIC documentation and examples.
 
  -Original Message-
  From: Don [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, August 15, 2006 9:09 AM
  To: Asterisk Users Mailing List - Non-Commercial Discussion
  Subject: Re: [asterisk-users] Manager Interface API's
 
 
 
  Probably cause it is someone like most of us sitting at home doing
  it...releasing it for free...so why would we write pages of 
  documentation
  for it?
  If it's open source and it's free...Then offer them some 
 money to make
  documentation for it hehe...
 
 
  - Original Message -
  From: Douglas Garstang
  To: Asterisk Users Mailing List - Non-Commercial Discussion
  Sent: Tuesday, August 15, 2006 11:05 AM
  Subject: [asterisk-users] Manager Interface API's
 
 
  Can anyone recommend the best Manager Interface API, 
 putting language
  preferences aside?
 
  The python and perl ones have bupkiss documentation. I 
 can't understand 
  why
  anyone would even write an api and make it publically 
 available without
  documenting it.
 
  Doug.
 
 
   
 
 
  ___
  --Bandwidth and Colocation provided by Easynews.com --
 
  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
 
  http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
   
 
 
  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: 
  8/15/2006
 
 
 
 
 
  ___
  --Bandwidth and Colocation provided by Easynews.com --
 
  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
 
  http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
 
 
 
  ___
  --Bandwidth and Colocation provided by Easynews.com --
 
  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
  
 
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager Interface API's

2006-08-16 Thread Douglas Garstang
 -Original Message-
 From: Moises Silva [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 15, 2006 10:20 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Manager Interface API's
 
 
 Douglas. Please take this as a constructive comment. I have followed
 your questions in asterisk-dev and users lists, and you always seem to
 make non constructive comments about the people giving code/work for
 Free. And you focus in the negative part, never giving  importance to
 the positive things about it.

In my opinion, and it seems perfectly logical to me, if someone writes some 
code, but provides no documentation, such that no one can use it, then what is 
the point? They have not provided a solution to anyones problem except their 
own, and have no added value to the open source community in any way, except to 
create 'vapourware' whereby software appears to be available, but is unusable, 
because no one can work out how to make it work.

 
 If you dont like something, then change it yourself, they are not
 providing a payed service. The source is available AS-IS if you want
 it, and if you like it, take it; If you dont, just ignore it, try to
 not make peyorative comments.

I'll refer to my opinion above.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager Interface API's

2006-08-16 Thread Douglas Garstang
 -Original Message-
 From: John Novack [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 15, 2006 10:40 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Manager Interface API's
 
 
 I, for one, didn't take his comment as anything other than 
 constructive
 Lack of documentation is an issue, open source or not.
 It is an unfortunate situation that many very smart coders understand 
 what they have created, but are unwilling or unable to supply enough 
 information for many others to make effective use of their creation
 How many have struggled through the years with uncommented or poorly 
 commented code when the original creator is off to greener pastures?

Green pastures for sure. I think people develop the code, thinking they will 
write docs later on. By the time they get close to releasing their code, 
they've lost interest, or the priority of this project has decreased. It's 
human nature. The open source community then ends up with software thats 
unusable.

Is it so ludicrous that if you develop an API that you document it? We're not 
talking about developing a fahrenheight-celcius converter in basic here. We're 
talking about an Application Programming Iinterface! It's a programming 
interface. It's not the same as some GUI where you can get an idea of how it 
works by using it. If an API doesn't have any docs, it's completely useless.

Doug.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager Interface API's

2006-08-16 Thread Douglas Garstang
 -Original Message-
 From: Stefan Reuter [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 15, 2006 11:10 AM
 To: [EMAIL PROTECTED]; Asterisk Users Mailing List -
 Non-Commercial Discussion
 Subject: Re: [asterisk-users] Manager Interface API's
 
 
 John Novack wrote:
  I, for one, didn't take his comment as anything other than 
 constructive
  Lack of documentation is an issue, open source or not.
 
 To make this thread even more constructive:
 What kind of documentation do you expect from a Manager API package?

1. A documenation of the functions, arguments, classes, objects.
2. Some basic examples, because 1. means nothing without examples.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager Interface API's

2006-08-16 Thread Douglas Garstang
 -Original Message-
 From: Brian Capouch [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 15, 2006 11:15 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Manager Interface API's
 
 
 Douglas Garstang wrote:
  Can anyone recommend the best Manager Interface API, 
 putting language 
  preferences aside?
   
  The python and perl ones have bupkiss documentation. I 
 can't understand 
  why anyone would even write an api and make it publically available 
  without documenting it.
   
 
 Have you taken your be nice on the lists pill today?
 
 The most likely explanation is that people have written these 
 interfaces 
 primarily for their own use, and when they decided to share 
 with others, 
 only had/made time to minimally document them.
 
 Do you understand that?  You've got me doubting you can't understand 
 such things, so I wonder why you *say* you don't understand.
 
 Unless you enjoy being a troll.

I must be about the only person who thinks that an API without documentation is 
completely useless. As I said in another post, this isn't some GUI where you 
can poke around with it and work out how it works by experimentation. 
Documentation of the API is essential. 

Why did they have time to write it, but suddenly run out of time when it came 
time to document? It's human nature to start something and lose interest. Given 
that documentation always happens at the end, it's what usually suffers.


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager Interface API's

2006-08-16 Thread Don Fanning
The manager interface isn't some mystical beast that can't be overcome.
Try the wiki if you're lost.  Really people scripting isn't that hard.
If you don't like the way people do code, there's nothing stopping you
from writing something new (except for lack of skill but that's why
people do it for a living).

You buy them books, send them to school and all they do is eat the
pages.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas
Garstang
Sent: Wednesday, August 16, 2006 12:29 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion;
[EMAIL PROTECTED]
Subject: RE: [asterisk-users] Manager Interface API's

Actually, because there's no documentation, I don't have anything that I
can use.

 -Original Message-
 From: Dovid Bender [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 15, 2006 12:54 PM
 To: [EMAIL PROTECTED]; Asterisk Users Mailing List -
 Non-Commercial Discussion
 Subject: Re: [asterisk-users] Manager Interface API's
 
 
 Some of them write it for them selves and out of the goodness 
 of thier heart 
 will put out there for free. They dont need doc's since they 
 wrote it them 
 selves. Be happy that you got it for free. Do you want people to stop 
 releasing code because others complain ?
 - Original Message - 
 From: John Novack [EMAIL PROTECTED]
 To: Asterisk Users Mailing List - Non-Commercial Discussion 
 asterisk-users@lists.digium.com
 Sent: Tuesday, August 15, 2006 12:39 PM
 Subject: Re: [asterisk-users] Manager Interface API's
 
 
  I, for one, didn't take his comment as anything other than 
 constructive
  Lack of documentation is an issue, open source or not.
  It is an unfortunate situation that many very smart coders 
 understand what 
  they have created, but are unwilling or unable to supply enough 
  information for many others to make effective use of their creation
  How many have struggled through the years with uncommented 
 or poorly 
  commented code when the original creator is off to greener pastures?
 
  JMO
 
  John Novack
 
 
  Moises Silva wrote:
  Douglas. Please take this as a constructive comment. I 
 have followed
  your questions in asterisk-dev and users lists, and you 
 always seem to
  make non constructive comments about the people giving 
 code/work for
  Free. And you focus in the negative part, never giving  
 importance to
  the positive things about it.
 
  If you dont like something, then change it yourself, they are not
  providing a payed service. The source is available AS-IS 
 if you want
  it, and if you like it, take it; If you dont, just ignore 
 it, try to
  not make peyorative comments.
 
  Regards
 
  On 8/15/06, Douglas Garstang [EMAIL PROTECTED] wrote:
 
 
  Well, I don't know about you, but if I have to read the 
 source code to 
  work
  out how it works, I'm going to go and look at someone 
 elses, that may 
  have
  some BASIC documentation and examples.
 
  -Original Message-
  From: Don [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, August 15, 2006 9:09 AM
  To: Asterisk Users Mailing List - Non-Commercial Discussion
  Subject: Re: [asterisk-users] Manager Interface API's
 
 
 
  Probably cause it is someone like most of us sitting at home doing
  it...releasing it for free...so why would we write pages of 
  documentation
  for it?
  If it's open source and it's free...Then offer them some 
 money to make
  documentation for it hehe...
 
 
  - Original Message -
  From: Douglas Garstang
  To: Asterisk Users Mailing List - Non-Commercial Discussion
  Sent: Tuesday, August 15, 2006 11:05 AM
  Subject: [asterisk-users] Manager Interface API's
 
 
  Can anyone recommend the best Manager Interface API, 
 putting language
  preferences aside?
 
  The python and perl ones have bupkiss documentation. I 
 can't understand 
  why
  anyone would even write an api and make it publically 
 available without
  documenting it.
 
  Doug.
 
 
   
 
 
  ___
  --Bandwidth and Colocation provided by Easynews.com --
 
  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
 
  http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
   
 
 
  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: 
  8/15/2006
 
 
 
 
 
  ___
  --Bandwidth and Colocation provided by Easynews.com --
 
  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
 
  http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
 
 
 
  ___
  --Bandwidth and Colocation provided by Easynews.com --
 
  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Manager Interface API's

2006-08-16 Thread Don

It's plain and simple the answer to this...
If you fall into any of these categories:

a) Don't understand code to begin with
b) Don't want to take the time to understand the code
c) Don't have the time to understand the code
d) Don't want to pay the the person who made the code to help you
e) Can't find anyone else using the code
f) Can't find the programer
g) Have walked to the ends of the earth and exhausted all your online 
resources for finding more info out about the code and still no luck.


You basically need to go with some commercial company and pay them. Go to 
the .biz list


I for one have used numerous open source free code...and sometimes it was a 
struggle...but most of the time you can find the programmer's email in the 
sourcecode...a lot of them are willing to give you some help/info.


I haven't seen you mention any particular code by name you are having 
trouble with either.


Maybe if you did...someone here has already figured it out and would be 
willing to help.



- Original Message - 
From: Douglas Garstang [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com; [EMAIL PROTECTED]

Sent: Wednesday, August 16, 2006 3:28 PM
Subject: RE: [asterisk-users] Manager Interface API's


Actually, because there's no documentation, I don't have anything that I can 
use.



-Original Message-
From: Dovid Bender [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 12:54 PM
To: [EMAIL PROTECTED]; Asterisk Users Mailing List -
Non-Commercial Discussion
Subject: Re: [asterisk-users] Manager Interface API's


Some of them write it for them selves and out of the goodness
of thier heart
will put out there for free. They dont need doc's since they
wrote it them
selves. Be happy that you got it for free. Do you want people to stop
releasing code because others complain ?
- Original Message - 
From: John Novack [EMAIL PROTECTED]

To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Sent: Tuesday, August 15, 2006 12:39 PM
Subject: Re: [asterisk-users] Manager Interface API's


 I, for one, didn't take his comment as anything other than
constructive
 Lack of documentation is an issue, open source or not.
 It is an unfortunate situation that many very smart coders
understand what
 they have created, but are unwilling or unable to supply enough
 information for many others to make effective use of their creation
 How many have struggled through the years with uncommented
or poorly
 commented code when the original creator is off to greener pastures?

 JMO

 John Novack


 Moises Silva wrote:
 Douglas. Please take this as a constructive comment. I
have followed
 your questions in asterisk-dev and users lists, and you
always seem to
 make non constructive comments about the people giving
code/work for
 Free. And you focus in the negative part, never giving
importance to
 the positive things about it.

 If you dont like something, then change it yourself, they are not
 providing a payed service. The source is available AS-IS
if you want
 it, and if you like it, take it; If you dont, just ignore
it, try to
 not make peyorative comments.

 Regards

 On 8/15/06, Douglas Garstang [EMAIL PROTECTED] wrote:


 Well, I don't know about you, but if I have to read the
source code to
 work
 out how it works, I'm going to go and look at someone
elses, that may
 have
 some BASIC documentation and examples.

 -Original Message-
 From: Don [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 15, 2006 9:09 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Manager Interface API's



 Probably cause it is someone like most of us sitting at home doing
 it...releasing it for free...so why would we write pages of
 documentation
 for it?
 If it's open source and it's free...Then offer them some
money to make
 documentation for it hehe...


 - Original Message -
 From: Douglas Garstang
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Sent: Tuesday, August 15, 2006 11:05 AM
 Subject: [asterisk-users] Manager Interface API's


 Can anyone recommend the best Manager Interface API,
putting language
 preferences aside?

 The python and perl ones have bupkiss documentation. I
can't understand
 why
 anyone would even write an api and make it publically
available without
 documenting it.

 Doug.


  


 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:

 http://lists.digium.com/mailman/listinfo/asterisk-users


  


 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date:
 8/15/2006





 ___
 --Bandwidth and Colocation provided

Re: [asterisk-users] Manager Interface API's

2006-08-16 Thread Don
In my opinion, and it seems perfectly logical to me, if someone writes 
some code, but provides no documentation, such that no one can use it,  
then what is the point?


Because they probably wrote it for something they needed and released it to 
the general public...to those that want to take the time to figure out how 
such and such handled the problem they had. If people wanted to try and 
understand it fine...if they didn't fine...is how they looked at it...I mean 
if I write something specifically for me and released it cause I thought 
someone with a high understanding of what they were doing would want to use 
it...I wouldn't write documentation for it either.


If I wrote something specifically to release to the public...I would write 
documentation for it.


- Original Message - 
From: Douglas Garstang [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Wednesday, August 16, 2006 3:34 PM
Subject: RE: [asterisk-users] Manager Interface API's



-Original Message-
From: Moises Silva [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 10:20 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Manager Interface API's


Douglas. Please take this as a constructive comment. I have followed
your questions in asterisk-dev and users lists, and you always seem to
make non constructive comments about the people giving code/work for
Free. And you focus in the negative part, never giving  importance to
the positive things about it.


In my opinion, and it seems perfectly logical to me, if someone writes some 
code, but provides no documentation, such that no one can use it, then what 
is the point? They have not provided a solution to anyones problem except 
their own, and have no added value to the open source community in any way, 
except to create 'vapourware' whereby software appears to be available, but 
is unusable, because no one can work out how to make it work.




If you dont like something, then change it yourself, they are not
providing a payed service. The source is available AS-IS if you want
it, and if you like it, take it; If you dont, just ignore it, try to
not make peyorative comments.


I'll refer to my opinion above.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.1/421 - Release Date: 8/16/2006


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager Interface API's

2006-08-16 Thread Michael Collins
Douglas has a point, and a legitimate one at that.  Setting aside your
personal feelings about Doug and his style of commenting, please
consider that 'lack of documentation' is either the first- or
second-most-often cited criticism leveled against open-source software
and the OSS community.  Lack of documentation *IS* a serious challenge
with OSS.  That is why it is considered poor style to upload some code
to SourceForge.net and document it by saying, Look at the source code
and figure it out your self.  Even a modicum of documentation, be it a
brief listing of available methods or a few sample scripts with one or
two sentences explaining what they do is quantum leaps above source
code only documentation.

Am I trying to criticize someone who gifts to the world the fruits of
his/her labor?  No.  I'm simply saying that a little documentation makes
such a gift infinitely more useful to the recipients.  One person
spending a few hours documenting his code will save hundreds, perhaps
even thousands, of man-hours of end users figuring it out.  That is a
serious return on investment if ever there was one.

-MC

 
 In my opinion, and it seems perfectly logical to me, if someone writes
 some code, but provides no documentation, such that no one can use it,
 then what is the point? They have not provided a solution to anyones
 problem except their own, and have no added value to the open source
 community in any way, except to create 'vapourware' whereby software
 appears to be available, but is unusable, because no one can work out
how
 to make it work.
 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-16 Thread Jeremy McNamara

Douglas Garstang wrote:

1. A documenation of the functions, arguments, classes, objects.



http://www.asterisk.org/doxygen/ - Use it.


If it is not clear, ask a very specific question on the appropriate 
list. Then perhaps submit a documentation issue once others agree the 
documentation needs to be clearer/added




2. Some basic examples, because 1. means nothing without examples.



Use Google - I see all kinds of examples out there.




Jeremy McNamara




P.S.  Where in the GPL does it say that documentation is required?  If 
you are not prepared to be neck deep into the code, then open-source is 
not for you.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager Interface API's

2006-08-16 Thread Michael Collins
Doug,

I'm sure that you are not the only one who considers an API w/o docs to
be of limited or no value.  I just doubt that many people have use for a
management API because they don't use the Asterisk manager interface
very much.  

On a side note: some folks who have limited programming abilities but
who otherwise want to contribute to the community have been know to
figure it out and then document it.  If there's a great API w/o any
docs, someone might volunteer to do the dirty work.  If the management
API in question seems useful then I would ask: is anyone interested in
creating some documentation?  It could be submitted to the module's
author for review, which might stimulate him to get involved in the
documentation process.

Just a thought...

-MC

 
 I must be about the only person who thinks that an API without
 documentation is completely useless. As I said in another post, this
isn't
 some GUI where you can poke around with it and work out how it works
by
 experimentation. Documentation of the API is essential.
 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-16 Thread Jason Parker
- Douglas Garstang [EMAIL PROTECTED] wrote:
 Green pastures for sure. I think people develop the code, thinking
 they will write docs later on. By the time they get close to releasing
 their code, they've lost interest, or the priority of this project has
 decreased. It's human nature. The open source community then ends up
 with software thats unusable.
 
 Is it so ludicrous that if you develop an API that you document it?
 We're not talking about developing a fahrenheight-celcius converter in
 basic here. We're talking about an Application Programming
 Iinterface! It's a programming interface. It's not the same as some
 GUI where you can get an idea of how it works by using it. If an API
 doesn't have any docs, it's completely useless.

I don't think anybody completely disagrees with you.  Documentation is 
important, and people like Jared Smith and Leif Madsen are doing a great job 
with doing documentation after the fact.

But, just to play devils advocate (no, not the pinball game), you point out 
that API stands for Application Programming Interface.  If you are able to 
write a program which uses the API, you should also be able to read the 
comments in the code and other code that uses the API, to fairly easily figure 
out how it works. :)  If the documentation was so horrible that nobody could 
figure it out, there would be no programs that use it - and we both know that 
to be false.

 
 Doug.

-- 
Jason Parker
Digium

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager Interface API's

2006-08-16 Thread Douglas Garstang
The manager interface would be horrible to code an API for. I don't envy the 
people that have done it. I've been screen scraping with python and perl for 
years, but the the output is not standardised. For example a 'sippeers' command 
does not end with a '--END COMMAND--' while a 'sip show channels' command does.



 -Original Message-
 From: Don Fanning [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 16, 2006 1:30 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: RE: [asterisk-users] Manager Interface API's
 
 
 The manager interface isn't some mystical beast that can't be 
 overcome.
 Try the wiki if you're lost.  Really people scripting isn't that hard.
 If you don't like the way people do code, there's nothing stopping you
 from writing something new (except for lack of skill but that's why
 people do it for a living).
 
 You buy them books, send them to school and all they do is eat the
 pages.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Douglas
 Garstang
 Sent: Wednesday, August 16, 2006 12:29 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion;
 [EMAIL PROTECTED]
 Subject: RE: [asterisk-users] Manager Interface API's
 
 Actually, because there's no documentation, I don't have 
 anything that I
 can use.
 
  -Original Message-
  From: Dovid Bender [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, August 15, 2006 12:54 PM
  To: [EMAIL PROTECTED]; Asterisk Users Mailing List -
  Non-Commercial Discussion
  Subject: Re: [asterisk-users] Manager Interface API's
  
  
  Some of them write it for them selves and out of the goodness 
  of thier heart 
  will put out there for free. They dont need doc's since they 
  wrote it them 
  selves. Be happy that you got it for free. Do you want 
 people to stop 
  releasing code because others complain ?
  - Original Message - 
  From: John Novack [EMAIL PROTECTED]
  To: Asterisk Users Mailing List - Non-Commercial Discussion 
  asterisk-users@lists.digium.com
  Sent: Tuesday, August 15, 2006 12:39 PM
  Subject: Re: [asterisk-users] Manager Interface API's
  
  
   I, for one, didn't take his comment as anything other than 
  constructive
   Lack of documentation is an issue, open source or not.
   It is an unfortunate situation that many very smart coders 
  understand what 
   they have created, but are unwilling or unable to supply enough 
   information for many others to make effective use of 
 their creation
   How many have struggled through the years with uncommented 
  or poorly 
   commented code when the original creator is off to 
 greener pastures?
  
   JMO
  
   John Novack
  
  
   Moises Silva wrote:
   Douglas. Please take this as a constructive comment. I 
  have followed
   your questions in asterisk-dev and users lists, and you 
  always seem to
   make non constructive comments about the people giving 
  code/work for
   Free. And you focus in the negative part, never giving  
  importance to
   the positive things about it.
  
   If you dont like something, then change it yourself, they are not
   providing a payed service. The source is available AS-IS 
  if you want
   it, and if you like it, take it; If you dont, just ignore 
  it, try to
   not make peyorative comments.
  
   Regards
  
   On 8/15/06, Douglas Garstang [EMAIL PROTECTED] wrote:
  
  
   Well, I don't know about you, but if I have to read the 
  source code to 
   work
   out how it works, I'm going to go and look at someone 
  elses, that may 
   have
   some BASIC documentation and examples.
  
   -Original Message-
   From: Don [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, August 15, 2006 9:09 AM
   To: Asterisk Users Mailing List - Non-Commercial Discussion
   Subject: Re: [asterisk-users] Manager Interface API's
  
  
  
   Probably cause it is someone like most of us sitting at 
 home doing
   it...releasing it for free...so why would we write pages of 
   documentation
   for it?
   If it's open source and it's free...Then offer them some 
  money to make
   documentation for it hehe...
  
  
   - Original Message -
   From: Douglas Garstang
   To: Asterisk Users Mailing List - Non-Commercial Discussion
   Sent: Tuesday, August 15, 2006 11:05 AM
   Subject: [asterisk-users] Manager Interface API's
  
  
   Can anyone recommend the best Manager Interface API, 
  putting language
   preferences aside?
  
   The python and perl ones have bupkiss documentation. I 
  can't understand 
   why
   anyone would even write an api and make it publically 
  available without
   documenting it.
  
   Doug.
  
  

  
  
   ___
   --Bandwidth and Colocation provided by Easynews.com --
  
   asterisk-users mailing list
   To UNSUBSCRIBE or update options visit:
  
   http://lists.digium.com/mailman/listinfo/asterisk-users
  
  

  
  
   No virus

RE: [asterisk-users] Manager Interface API's

2006-08-16 Thread Douglas Garstang
 -Original Message-
 From: Don [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 16, 2006 2:36 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Manager Interface API's
 
 
 It's plain and simple the answer to this...
 If you fall into any of these categories:
 
 a) Don't understand code to begin with
 b) Don't want to take the time to understand the code
 c) Don't have the time to understand the code
 d) Don't want to pay the the person who made the code to help you
 e) Can't find anyone else using the code
 f) Can't find the programer
 g) Have walked to the ends of the earth and exhausted all your online 
 resources for finding more info out about the code and still no luck.
 
 You basically need to go with some commercial company and pay 
 them. Go to 
 the .biz list
 
 I for one have used numerous open source free code...and 
 sometimes it was a 
 struggle...but most of the time you can find the programmer's 
 email in the 
 sourcecode...a lot of them are willing to give you some help/info.
 
 I haven't seen you mention any particular code by name you are having 
 trouble with either.
 
 Maybe if you did...someone here has already figured it out 
 and would be 
 willing to help.

I did mention the code. I mentioned the two python API's, and the perl API.
http://sourceforge.net/projects/pyst
http://py-asterisk.berlios.de/py-asterisk.php
http://search.cpan.org/~xantus/POE-Component-Client-Asterisk-Manager/Manager.pm
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager Interface API's

2006-08-16 Thread Douglas Garstang
 -Original Message-
 From: Jeremy McNamara [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 16, 2006 2:55 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Cc: [EMAIL PROTECTED]
 Subject: Re: [asterisk-users] Manager Interface API's
 
 
 Douglas Garstang wrote:
  1. A documenation of the functions, arguments, classes, objects.
 
 
 http://www.asterisk.org/doxygen/ - Use it.

Thanks, but how does this relate to user submitted API's for the manager 
interface? You have pointed me to the documentation for the Asterisk source. 
These are not the same thing.

 
 
 If it is not clear, ask a very specific question on the appropriate 
 list. Then perhaps submit a documentation issue once others agree the 
 documentation needs to be clearer/added
 
 
  2. Some basic examples, because 1. means nothing without examples.
 
 
 Use Google - I see all kinds of examples out there.

As I said above, not the same thing.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-16 Thread Don
One person spending a few hours documenting his code will save hundreds, 
perhaps

even thousands, of man-hours of end users figuring it out.  That is a
serious return on investment if ever there was one.


We were talking about Free open-source code...The end user is saving and 
getting a return on investment...the programmer isn't get anything but a pat 
on the back for making documentation.


I totally agree that if I were making something that was specifically being 
released to the public I would document it.


If I just made something that I needed...and then decided to release it to 
the public incase anyone else needed it...I wouldn't waste my time 
documenting it...because there is no ROI to me for that


- Original Message - 
From: Michael Collins [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Wednesday, August 16, 2006 4:49 PM
Subject: RE: [asterisk-users] Manager Interface API's


Douglas has a point, and a legitimate one at that.  Setting aside your
personal feelings about Doug and his style of commenting, please
consider that 'lack of documentation' is either the first- or
second-most-often cited criticism leveled against open-source software
and the OSS community.  Lack of documentation *IS* a serious challenge
with OSS.  That is why it is considered poor style to upload some code
to SourceForge.net and document it by saying, Look at the source code
and figure it out your self.  Even a modicum of documentation, be it a
brief listing of available methods or a few sample scripts with one or
two sentences explaining what they do is quantum leaps above source
code only documentation.

Am I trying to criticize someone who gifts to the world the fruits of
his/her labor?  No.  I'm simply saying that a little documentation makes
such a gift infinitely more useful to the recipients.  One person
spending a few hours documenting his code will save hundreds, perhaps
even thousands, of man-hours of end users figuring it out.  That is a
serious return on investment if ever there was one.

-MC



In my opinion, and it seems perfectly logical to me, if someone writes
some code, but provides no documentation, such that no one can use it,
then what is the point? They have not provided a solution to anyones
problem except their own, and have no added value to the open source
community in any way, except to create 'vapourware' whereby software
appears to be available, but is unusable, because no one can work out

how

to make it work.


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.1/421 - Release Date: 8/16/2006


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager Interface API's (OSS doc discussion)

2006-08-16 Thread Michael Collins
I guess I simply have a different viewpoint.  If I document, even
lightly, something that I give to the general public (or a specific
group within that general public), I feel I *WILL* get a ROI.  The more
people who use my 'gift' the better.  Who knows if someone will return
to me a snippet of code that makes my script/program even better?

The other thing is this: I looked at the Perl module Doug referenced.
It was uploaded to the CPAN, which means that it was meant to be shared
with the general public.  The documentation on this module is skeletal,
and that is a generous description.  (I also pored over the source and
found next to nothing in the way of documentation.) Fortunately the CPAN
allows authors to accept annotations - the annotated CPAN - which means
that a generous soul who has figured it out can post his knowledge for
everyone's benefit.  

As for the Python modules, I confess that I know nothing about them or
Python.

Bottom line: Free code w/o documentation should be disclaimed as such.
On the other hand, documentation is NEVER a bad thing.  Ever.  OSS
thrives when we share, not just code, but knowledge and ideas.  

-MC

 
 If I just made something that I needed...and then decided to release
it to
 the public incase anyone else needed it...I wouldn't waste my time
 documenting it...because there is no ROI to me for that
 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-16 Thread Mike Weaver
That's nothing.  As a person with 3 degrees in English, I once spent 
months writing beautiful documentation for a project I was writing, only 
to realize I was such a lousy coder I'd never work.  Count your blessings...


Don wrote:

One person spending a few hours documenting his code will save 
hundreds, perhaps

even thousands, of man-hours of end users figuring it out.  That is a
serious return on investment if ever there was one.




We were talking about Free open-source code...The end user is saving 
and getting a return on investment...the programmer isn't get anything 
but a pat on the back for making documentation.


I totally agree that if I were making something that was specifically 
being released to the public I would document it.


If I just made something that I needed...and then decided to release 
it to the public incase anyone else needed it...I wouldn't waste my 
time documenting it...because there is no ROI to me for that


- Original Message - From: Michael Collins 
[EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Wednesday, August 16, 2006 4:49 PM
Subject: RE: [asterisk-users] Manager Interface API's


Douglas has a point, and a legitimate one at that.  Setting aside your
personal feelings about Doug and his style of commenting, please
consider that 'lack of documentation' is either the first- or
second-most-often cited criticism leveled against open-source software
and the OSS community.  Lack of documentation *IS* a serious challenge
with OSS.  That is why it is considered poor style to upload some code
to SourceForge.net and document it by saying, Look at the source code
and figure it out your self.  Even a modicum of documentation, be it a
brief listing of available methods or a few sample scripts with one or
two sentences explaining what they do is quantum leaps above source
code only documentation.

Am I trying to criticize someone who gifts to the world the fruits of
his/her labor?  No.  I'm simply saying that a little documentation makes
such a gift infinitely more useful to the recipients.  One person
spending a few hours documenting his code will save hundreds, perhaps
even thousands, of man-hours of end users figuring it out.  That is a
serious return on investment if ever there was one.

-MC



In my opinion, and it seems perfectly logical to me, if someone writes
some code, but provides no documentation, such that no one can use it,
then what is the point? They have not provided a solution to anyones
problem except their own, and have no added value to the open source
community in any way, except to create 'vapourware' whereby software
appears to be available, but is unusable, because no one can work out


how


to make it work.


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users




___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's (OSS doc discussion)

2006-08-16 Thread John Novack



Michael Collins wrote:

I guess I simply have a different viewpoint.  If I document, even
lightly, something that I give to the general public (or a specific
group within that general public), I feel I *WILL* get a ROI.  The more
people who use my 'gift' the better.  Who knows if someone will return
to me a snippet of code that makes my script/program even better?

The other thing is this: I looked at the Perl module Doug referenced.
It was uploaded to the CPAN, which means that it was meant to be shared
with the general public.  The documentation on this module is skeletal,
and that is a generous description.  (I also pored over the source and
found next to nothing in the way of documentation.) Fortunately the CPAN
allows authors to accept annotations - the annotated CPAN - which means
that a generous soul who has figured it out can post his knowledge for
everyone's benefit.  


As for the Python modules, I confess that I know nothing about them or
Python.

Bottom line: Free code w/o documentation should be disclaimed as such.
On the other hand, documentation is NEVER a bad thing.  Ever.  OSS
thrives when we share, not just code, but knowledge and ideas.  


-MC
  
Sir, you are a breath of fresh air. I can only hope your outlook and 
attitude are contagious in this community and the programming community 
in general


John Novack


If I just made something that I needed...and then decided to release


it to
  

the public incase anyone else needed it...I wouldn't waste my time
documenting it...because there is no ROI to me for that



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


  

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-16 Thread Matt Florell

I wrote a set of applications that use the manager interface over
three years ago and it was a lot of trial and error. I did add to the
documentation on the wiki of what I was able to understand, but for
the Asterisk Manager API the actual C code is still the best place for
answers on how the functions within it work.

The manager API has gotten better in consistency over the last three
years, although it doesn't help that the Asterisk core developers seem
to think that it's a good idea to add more and more output to a group
of events every 6 months or so when it suits them, but there are still
inconsistencies and sometimes completely inaccurate information coming
back from some API actions, but all of this can be worked around and
now I have a very reliable set of applications that run on multiple
Asterisk servers and can handle over 80,000 calls, over 400,000 API
Actions and millions of API Events per day per server with very good
accuracy.

MATT---


On 8/16/06, Douglas Garstang [EMAIL PROTECTED] wrote:

The manager interface would be horrible to code an API for. I don't envy the 
people that have done it. I've been screen scraping with python and perl for 
years, but the the output is not standardised. For example a 'sippeers' command 
does not end with a '--END COMMAND--' while a 'sip show channels' command does.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Manager Interface API's

2006-08-15 Thread Douglas Garstang



Can anyone recommend 
the best Manager Interface API, putting language preferences 
aside?

The python and perl 
ones have bupkiss documentation. I can't understand why anyone would even write 
an api and make it publically available without documenting 
it.

Doug.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-15 Thread Stefan Reuter
Douglas Garstang wrote:
 
 Can anyone recommend the best Manager Interface API, putting language
 preferences aside?

Asterisk-Java of course ;)
http://asterisk-java.org/latest for the stable release
and
http://asterisk-java.org/0.3-SNAPSHOT for the dev snapshot.

Includes a short tutorial and javadoc for everything else.


 The python and perl ones have bupkiss documentation. I can't understand
 why anyone would even write an api and make it publically available
 without documenting it.
  
 Doug.
  
 
 
 
 
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
reuter network consulting
Neusser Str. 110
50760 Koeln
Germany
Telefon: +49 221 1305699-0
Telefax: +49 221 1305699-90
E-Mail:  [EMAIL PROTECTED]



signature.asc
Description: OpenPGP digital signature
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-15 Thread Don



Probably cause it is someone like most of us 
sitting at home doing it...releasing it for free...so why would we write pages 
of documentation for it?
If it's open source and it's free...Then offer them 
some money to make documentation for it hehe...


  - Original Message - 
  From: 
  Douglas 
  Garstang 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Tuesday, August 15, 2006 11:05 
  AM
  Subject: [asterisk-users] Manager 
  Interface API's
  
  Can anyone 
  recommend the best Manager Interface API, putting language preferences 
  aside?
  
  The python and 
  perl ones have bupkiss documentation. I can't understand why anyone would even 
  write an api and make it publically available without documenting 
  it.
  
  Doug.
  
  
  

  ___--Bandwidth and 
  Colocation provided by Easynews.com --asterisk-users mailing 
  listTo UNSUBSCRIBE or update options visit: 
  http://lists.digium.com/mailman/listinfo/asterisk-users
  
  

  No virus found in this incoming message.Checked by AVG Free 
  Edition.Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: 
  8/15/2006
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager Interface API's

2006-08-15 Thread Douglas Garstang



Well, 
I don't know about you, but if I have to read the source code to work out how it 
works, I'm going to go and look at someone elses, that may have some BASIC 
documentation and examples.

  -Original Message-From: Don 
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, August 15, 2006 9:09 
  AMTo: Asterisk Users Mailing List - Non-Commercial 
  DiscussionSubject: Re: [asterisk-users] Manager Interface 
  API's
  Probably cause it is someone like most of us 
  sitting at home doing it...releasing it for free...so why would we write pages 
  of documentation for it?
  If it's open source and it's free...Then offer 
  them some money to make documentation for it hehe...
  
  
- Original Message - 
From: 
Douglas Garstang 
To: Asterisk Users Mailing List - 
Non-Commercial Discussion 
Sent: Tuesday, August 15, 2006 11:05 
AM
Subject: [asterisk-users] Manager 
Interface API's

Can anyone 
recommend the best Manager Interface API, putting language preferences 
aside?

The python and 
perl ones have bupkiss documentation. I can't understand why anyone would 
even write an api and make it publically available without documenting 
it.

Doug.




___--Bandwidth and 
Colocation provided by Easynews.com --asterisk-users mailing 
listTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users



No virus found in this incoming message.Checked by AVG Free 
Edition.Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: 
8/15/2006
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-15 Thread Moises Silva

Douglas. Please take this as a constructive comment. I have followed
your questions in asterisk-dev and users lists, and you always seem to
make non constructive comments about the people giving code/work for
Free. And you focus in the negative part, never giving  importance to
the positive things about it.

If you dont like something, then change it yourself, they are not
providing a payed service. The source is available AS-IS if you want
it, and if you like it, take it; If you dont, just ignore it, try to
not make peyorative comments.

Regards

On 8/15/06, Douglas Garstang [EMAIL PROTECTED] wrote:



Well, I don't know about you, but if I have to read the source code to work
out how it works, I'm going to go and look at someone elses, that may have
some BASIC documentation and examples.

-Original Message-
From: Don [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 9:09 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Manager Interface API's



Probably cause it is someone like most of us sitting at home doing
it...releasing it for free...so why would we write pages of documentation
for it?
If it's open source and it's free...Then offer them some money to make
documentation for it hehe...


- Original Message -
From: Douglas Garstang
To: Asterisk Users Mailing List - Non-Commercial Discussion
Sent: Tuesday, August 15, 2006 11:05 AM
Subject: [asterisk-users] Manager Interface API's


Can anyone recommend the best Manager Interface API, putting language
preferences aside?

The python and perl ones have bupkiss documentation. I can't understand why
anyone would even write an api and make it publically available without
documenting it.

Doug.


 


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users


 


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: 8/15/2006





___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users






--
Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org;
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-15 Thread John Novack

I, for one, didn't take his comment as anything other than constructive
Lack of documentation is an issue, open source or not.
It is an unfortunate situation that many very smart coders understand 
what they have created, but are unwilling or unable to supply enough 
information for many others to make effective use of their creation
How many have struggled through the years with uncommented or poorly 
commented code when the original creator is off to greener pastures?


JMO

John Novack


Moises Silva wrote:

Douglas. Please take this as a constructive comment. I have followed
your questions in asterisk-dev and users lists, and you always seem to
make non constructive comments about the people giving code/work for
Free. And you focus in the negative part, never giving  importance to
the positive things about it.

If you dont like something, then change it yourself, they are not
providing a payed service. The source is available AS-IS if you want
it, and if you like it, take it; If you dont, just ignore it, try to
not make peyorative comments.

Regards

On 8/15/06, Douglas Garstang [EMAIL PROTECTED] wrote:



Well, I don't know about you, but if I have to read the source code 
to work
out how it works, I'm going to go and look at someone elses, that may 
have

some BASIC documentation and examples.

-Original Message-
From: Don [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 9:09 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Manager Interface API's



Probably cause it is someone like most of us sitting at home doing
it...releasing it for free...so why would we write pages of 
documentation

for it?
If it's open source and it's free...Then offer them some money to make
documentation for it hehe...


- Original Message -
From: Douglas Garstang
To: Asterisk Users Mailing List - Non-Commercial Discussion
Sent: Tuesday, August 15, 2006 11:05 AM
Subject: [asterisk-users] Manager Interface API's


Can anyone recommend the best Manager Interface API, putting language
preferences aside?

The python and perl ones have bupkiss documentation. I can't 
understand why

anyone would even write an api and make it publically available without
documenting it.

Doug.


 


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users


 


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: 
8/15/2006






___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users







___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-15 Thread Stefan Reuter
John Novack wrote:
 I, for one, didn't take his comment as anything other than constructive
 Lack of documentation is an issue, open source or not.

To make this thread even more constructive:
What kind of documentation do you expect from a Manager API package?
What features do you expect?
- A plain wrapper for the Actions, Responses and Events?
- An abstracted view on Asterisk's concept like channels, extensions,
queues and so on?

And last not least: Would a language independant specification help?
Something like: There is a channel concept (object) with the properties
id, name, caller id, ... and the operations hangup, redirect, ...

=Stefan

-- 
reuter network consulting
Neusser Str. 110
50760 Koeln
Germany
Telefon: +49 221 1305699-0
Telefax: +49 221 1305699-90
E-Mail:  [EMAIL PROTECTED]
Jabber:  [EMAIL PROTECTED]



signature.asc
Description: OpenPGP digital signature
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-15 Thread Brian Capouch

Douglas Garstang wrote:
Can anyone recommend the best Manager Interface API, putting language 
preferences aside?
 
The python and perl ones have bupkiss documentation. I can't understand 
why anyone would even write an api and make it publically available 
without documenting it.
 


Have you taken your be nice on the lists pill today?

The most likely explanation is that people have written these interfaces 
primarily for their own use, and when they decided to share with others, 
only had/made time to minimally document them.


Do you understand that?  You've got me doubting you can't understand 
such things, so I wonder why you *say* you don't understand.


Unless you enjoy being a troll.

B.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-15 Thread Brian Capouch

John Novack wrote:

I, for one, didn't take his comment as anything other than constructive
Lack of documentation is an issue, open source or not.
It is an unfortunate situation that many very smart coders understand 
what they have created, but are unwilling or unable to supply enough 
information for many others to make effective use of their creation
How many have struggled through the years with uncommented or poorly 
commented code when the original creator is off to greener pastures?




I have struggled like that on a great number of occasions, and know 
perfectly what you are describing.


But I don't think it's fair to blame people in the Open Source 
community for not doing pro-grade documentation.  They give away what 
they write; if it's useful, all good.  If not, then buy a commercial 
product, or move to another OS product that has better documentation.


Especially in this case, where the overwhelming likelihood is that the 
programmers wrote the APIs primarily for their own use, I don't think 
it's fair to be casting Garstangian aspersions.  Those APIs aren't big 
public projects, but rather labors of love that don't have the kind of 
support staff to handle a robust public face.


MO.

B.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-15 Thread Moises Silva

On 8/15/06, John Novack [EMAIL PROTECTED] wrote:

I, for one, didn't take his comment as anything other than constructive

Yes, I agree is possible just lack of niceness. But may be you dont
have idea of the bunch of peyorative comments about IAX2 protocol he
made in asterisk-dev list without doing a good proposal.


Lack of documentation is an issue, open source or not.

Is an issue, but at least for me, it seems that just complaining,
without a good proposal, is just worse. And in fact is not an issue
for those who can really understand the code. So, if its an issue for
you, pay someone to do it, or doit yourself. The difference between
open source, and the others, is that for open source usually you dont
pay, for the commercial software, of course i would be expecting
documentation.


It is an unfortunate situation that many very smart coders understand
what they have created, but are unwilling or unable to supply enough
information for many others to make effective use of their creation


That is because THEY DONT CARE, they are putting you one or more steps
forward in the *right* direction, is not they responsability to
provide documentation, as I said, they provide code AS IS, in the hope
that will be usefull to someone with enough skills to understand the
code. And also, hopefully, some one else will create the
documentation, or even the developer, when he/she has the free time.
But always remember, they are giving for FREE their time. So the
better we can do is ask kindly for documentation.


How many have struggled through the years with uncommented or poorly
commented code when the original creator is off to greener pastures?

Then, why dont you make it better? Open Source should be a community
effort, not just developers efforts. I agree that the best person to
document what the code does is the developer him/her self, but, again,
is not responsible for doing so, since no one of us are paying for it.

-- moy
Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org;
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager Interface API's

2006-08-15 Thread Dovid Bender
Some of them write it for them selves and out of the goodness of thier heart 
will put out there for free. They dont need doc's since they wrote it them 
selves. Be happy that you got it for free. Do you want people to stop 
releasing code because others complain ?
- Original Message - 
From: John Novack [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Tuesday, August 15, 2006 12:39 PM
Subject: Re: [asterisk-users] Manager Interface API's



I, for one, didn't take his comment as anything other than constructive
Lack of documentation is an issue, open source or not.
It is an unfortunate situation that many very smart coders understand what 
they have created, but are unwilling or unable to supply enough 
information for many others to make effective use of their creation
How many have struggled through the years with uncommented or poorly 
commented code when the original creator is off to greener pastures?


JMO

John Novack


Moises Silva wrote:

Douglas. Please take this as a constructive comment. I have followed
your questions in asterisk-dev and users lists, and you always seem to
make non constructive comments about the people giving code/work for
Free. And you focus in the negative part, never giving  importance to
the positive things about it.

If you dont like something, then change it yourself, they are not
providing a payed service. The source is available AS-IS if you want
it, and if you like it, take it; If you dont, just ignore it, try to
not make peyorative comments.

Regards

On 8/15/06, Douglas Garstang [EMAIL PROTECTED] wrote:



Well, I don't know about you, but if I have to read the source code to 
work
out how it works, I'm going to go and look at someone elses, that may 
have

some BASIC documentation and examples.

-Original Message-
From: Don [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 9:09 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Manager Interface API's



Probably cause it is someone like most of us sitting at home doing
it...releasing it for free...so why would we write pages of 
documentation

for it?
If it's open source and it's free...Then offer them some money to make
documentation for it hehe...


- Original Message -
From: Douglas Garstang
To: Asterisk Users Mailing List - Non-Commercial Discussion
Sent: Tuesday, August 15, 2006 11:05 AM
Subject: [asterisk-users] Manager Interface API's


Can anyone recommend the best Manager Interface API, putting language
preferences aside?

The python and perl ones have bupkiss documentation. I can't understand 
why

anyone would even write an api and make it publically available without
documenting it.

Doug.


 


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users


 


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: 
8/15/2006






___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users







___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users




___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager interface

2006-07-30 Thread Dovid Bender

any programs out there that do this ?

Dovid

- Original Message - 
From: Stefan Reuter [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Thursday, July 27, 2006 8:22 PM
Subject: Re: [asterisk-users] Manager interface



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager interface

2006-07-30 Thread Nicolás Gudiño

On 7/30/06, Dovid Bender [EMAIL PROTECTED] wrote:

any programs out there that do this ?

Dovid


You can use FOP: http://www.asternic.org

--
Nicolás Gudiño
Buenos Aires - Argentina
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager interface

2006-07-28 Thread Tim Panton


On 27 Jul 2006, at 22:42, Tielin Xu wrote:


There are many ways to do the screen pop, I'd like to do this way:
1. Build the manager interface as an event server, which collect agent
connet events.
2. Build a Java applet with the constant connection to the event
server, each agent starts the Java applet at first
   task of each day
3. The event server sends the connect info to the computer which the
agent registed,
4. The applet launch (pop up) the web based CRM application on agent
computer with the caller's information
5. Agent terminates the CRM application when the call is termianted.



Sure, that is pretty close to what we do, except that we don't use an
event server. In our case the Java applet is a softphone that speaks
IAX directly to asterisk.

In our dial plan we have rules such that asterisk dials both
the agent's hard phone (If they have one) and their copy of the applet.

If you are interested, I'm sure I could arrange for you to have an  
eval copy

of Corraleta (which is what we call the softphone applet).


Tim Panton

www.mexuar.com



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager interface

2006-07-28 Thread Tielin Xu
In my situation, we don't want to restrict to use softphone only. So
called event server is just an application connect to Asterisk Manager
API to collect events, and distribute the call information to right
destination. How to launch (pop up) the CRM application depends on what
arrangement on agent computer.

Tielin

 [EMAIL PROTECTED] 07/28/06 3:00 AM 

On 27 Jul 2006, at 22:42, Tielin Xu wrote:

 There are many ways to do the screen pop, I'd like to do this way:
 1. Build the manager interface as an event server, which collect
agent
 connet events.
 2. Build a Java applet with the constant connection to the event
 server, each agent starts the Java applet at first
task of each day
 3. The event server sends the connect info to the computer which the
 agent registed,
 4. The applet launch (pop up) the web based CRM application on agent
 computer with the caller's information
 5. Agent terminates the CRM application when the call is termianted.


Sure, that is pretty close to what we do, except that we don't use an
event server. In our case the Java applet is a softphone that speaks
IAX directly to asterisk.

In our dial plan we have rules such that asterisk dials both
the agent's hard phone (If they have one) and their copy of the
applet.

If you are interested, I'm sure I could arrange for you to have an  
eval copy
of Corraleta (which is what we call the softphone applet).


Tim Panton

www.mexuar.com 



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager interface

2006-07-28 Thread Tim Panton


On 28 Jul 2006, at 17:35, Tielin Xu wrote:


In my situation, we don't want to restrict to use softphone only. So
called event server is just an application connect to Asterisk Manager
API to collect events, and distribute the call information to right
destination. How to launch (pop up) the CRM application depends on  
what

arrangement on agent computer.


Yes, in the majority of cases, our agents will have hard-phones, so
the softphone in their browser is never used to answer their calls,
it just generates the screen pop.

The facility is there, for folks who are working from home, or
who have a high quality headset connected to their PCs.

As you say, the best way to generate a screen pop depends
on the environment.


Tim Panton

www.mexuar.com



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Manager interface

2006-07-27 Thread Lee Archer
Title: Manager interface






This has probably been discussed before but I need to do a screen pop and I'm looking for ways to do it. I am assuming I need to use the manager interface, which is ok cos I'm using that for calling out but I'm not quite what to pick up on.

Regards


Lee


###This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.For more information, connect to http://www.f-secure.com/
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Manager interface

2006-07-27 Thread Asterisk
Title: Manager interface








If you want to do a screen popup when an
agent receives a call, then you should consider looking at these events:



AgentCalled

AgentConnect

AgentComplete



p.s: I'm not sure, but you might need to set
eventmemberstatus=yes in your queue.conf to receive these events











From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Lee Archer
Sent: Thursday, July 27, 2006
12:48 PM
To: Asterisk Users Mailing List -
Non-Commercial Discussion
Subject: [asterisk-users] Manager
interface





This
has probably been discussed before but I need to do a screen pop and I'm
looking for ways to do it. I am assuming I need to use the manager
interface, which is ok cos I'm using that for calling out but I'm not quite
what to pick up on.

Regards


Lee


###

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/






___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager interface

2006-07-27 Thread Tim Panton


On 27 Jul 2006, at 11:47, Lee Archer wrote:

This has probably been discussed before but I need to do a screen  
pop and I'm looking for ways to do it.  I am assuming I need to use  
the manager interface, which is ok cos I'm using that for calling  
out but I'm not quite what to pick up on.

There a number of ways to do this:
	1) run an application on each workstation which speaks the manager  
protocol and
pops a screen as needed. This doesn't scale easily to large numbers,  
you need to
install an application on each workstation and need some sort of  
manager proxy

as asterisk does not like many manager connections.
	2) run an IM client on each workstation and have a central server  
that talks
the manager protocol to asterisk, sending messages to IM clients when  
new

calls come in.
3) have each user point their webbrowser at a web server which talks
the manager protocol to asterisk  and have the webpage poll the server
(using AJAX)
4) embed a softphone in your application (or web page) and send
calls to it. Configure the softphone to pop the screen when a call  
comes in.


We do 4) . which you chose depends on your needs/skills.

Tim.


Regards

Lee

###

This message has been scanned by F-Secure Anti-Virus for Microsoft  
Exchange.

For more information, connect to http://www.f-secure.com/
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Tim Panton

www.mexuar.com



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager interface

2006-07-27 Thread Tielin Xu
There are many ways to do the screen pop, I'd like to do this way:
1. Build the manager interface as an event server, which collect agent
connet events.
2. Build a Java applet with the constant connection to the event
server, each agent starts the Java applet at first 
   task of each day
3. The event server sends the connect info to the computer which the
agent registed,
4. The applet launch (pop up) the web based CRM application on agent
computer with the caller's information
5. Agent terminates the CRM application when the call is termianted.

Tielin

 [EMAIL PROTECTED] 07/27/06 2:16 PM 

On 27 Jul 2006, at 11:47, Lee Archer wrote:

 This has probably been discussed before but I need to do a screen  
 pop and I'm looking for ways to do it.  I am assuming I need to use 

 the manager interface, which is ok cos I'm using that for calling  
 out but I'm not quite what to pick up on.
There a number of ways to do this:
1) run an application on each workstation which speaks the
manager  
protocol and
pops a screen as needed. This doesn't scale easily to large numbers,  
you need to
install an application on each workstation and need some sort of  
manager proxy
as asterisk does not like many manager connections.
2) run an IM client on each workstation and have a central
server  
that talks
the manager protocol to asterisk, sending messages to IM clients when 

new
calls come in.
3) have each user point their webbrowser at a web server which
talks
the manager protocol to asterisk  and have the webpage poll the server
(using AJAX)
4) embed a softphone in your application (or web page) and send
calls to it. Configure the softphone to pop the screen when a call  
comes in.

We do 4) . which you chose depends on your needs/skills.

Tim.

 Regards

 Lee

 ###

 This message has been scanned by F-Secure Anti-Virus for Microsoft  
 Exchange.
 For more information, connect to http://www.f-secure.com/ 
 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users 

Tim Panton

www.mexuar.com 



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager interface

2006-07-27 Thread mitcheloc
You could try out Snap -- www.snapanumber.com, it has the features you need. We also do custom developement, so this may help get your project moving along faster.
On 7/27/06, Tielin Xu [EMAIL PROTECTED] wrote:
There are many ways to do the screen pop, I'd like to do this way:1. Build the manager interface as an event server, which collect agentconnet events.2. Build a Java applet with the constant connection to the event
server, each agent starts the Java applet at first task of each day3. The event server sends the connect info to the computer which theagent registed,4. The applet launch (pop up) the web based CRM application on agent
computer with the caller's information5. Agent terminates the CRM application when the call is termianted.Tielin [EMAIL PROTECTED] 07/27/06 2:16 PM 
On 27 Jul 2006, at 11:47, Lee Archer wrote: This has probably been discussed before but I need to do a screen pop and I'm looking for ways to do it.I am assuming I need to use the manager interface, which is ok cos I'm using that for calling
 out but I'm not quite what to pick up on.There a number of ways to do this:1) run an application on each workstation which speaks themanagerprotocol andpops a screen as needed. This doesn't scale easily to large numbers,
you need toinstall an application on each workstation and need some sort ofmanager proxyas asterisk does not like many manager connections.2) run an IM client on each workstation and have a central
serverthat talksthe manager protocol to asterisk, sending messages to IM clients whennewcalls come in.3) have each user point their webbrowser at a web server whichtalksthe manager protocol to asteriskand have the webpage poll the server
(using AJAX)4) embed a softphone in your application (or web page) and sendcalls to it. Configure the softphone to pop the screen when a callcomes in.We do 4) . which you chose depends on your needs/skills.
Tim. Regards Lee ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to 
http://www.f-secure.com/ ___ --Bandwidth and Colocation provided by Easynews.com --
 asterisk-users mailing list To UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users
Tim Pantonwww.mexuar.com___--Bandwidth and Colocation provided by Easynews.com
 --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Manager interface

2006-07-27 Thread Stefan Reuter
[EMAIL PROTECTED] wrote:
 You could try out Snap -- www.snapanumber.com
 http://www.snapanumber.com, it has the features you need. We also do
 custom developement, so this may help get your project moving along faster.

The problem with Snap and any other solution that directly opens the
Manager API to client workstations is that it opens a rather huge
security issue. Using the Manager API you are able to completely control
the Asterisk server (up to the UNIX level, even root access if Asterisk
is running under root). This may be ok for smaller closed groups with
fully trusted users, but it certainly is not a solution for the paranoid.
A better way to handle this is a server that connects to the Manager API
and only passes the relevant information to the clients.

=Stefan



signature.asc
Description: OpenPGP digital signature
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] manager interface behavior

2005-11-23 Thread Bill Michaelson
I'm working on a manager client that I designed to hold open TCP 
connection to asterisk while it is running for varoius purposes.  After 
being puzzled by unexpected behavior, I realized that the server closes 
the connection after it completes an originate action - or at least it 
does in the case of my test transactions.


I solicit opinions: is this a feature or a bug?


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] manager interface behavior

2005-11-23 Thread snacktime
On 11/23/05, Bill Michaelson [EMAIL PROTECTED] wrote:
 I'm working on a manager client that I designed to hold open TCP
 connection to asterisk while it is running for varoius purposes.  After
 being puzzled by unexpected behavior, I realized that the server closes
 the connection after it completes an originate action - or at least it
 does in the case of my test transactions.

 I solicit opinions: is this a feature or a bug?

I've never seen that behavior and I've written several clients for the
manager api.  I guess it's possible that a particular combination of
variables in the request could trigger an error that makes asterisk do
that.   I would try issuing the same originate by telneting in
manually and see what happens.  That way you can positively rule out
your client being the one that's disconnecting.

Chris
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] manager interface, get callerid number??

2005-02-22 Thread Atuc
hallo,
does sombody know how to get the callerid from iax.conf ( callerid=name 
1234) via the manager interface?

Action: IAXpeers
gives only the Name/Username but not the call number?
any ideas how to do this?
thanks,
alex
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] manager interface to barge

2004-10-20 Thread TELUX
Can the Manager interface be used to barge my phone into an existing 
conversation?

db
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] manager interface to barge

2004-10-20 Thread Nicolás Gudiño
Hello,

On Wed, 20 Oct 2004 09:48:43 -0600, TELUX [EMAIL PROTECTED] wrote:
 Can the Manager interface be used to barge my phone into an existing
 conversation?

You need to use manager redirect and meetme. Check out my Flash
Operator Panel, it lets you barge on calls.

http://www.asternic.org 

-- 
Nicolás Gudiño
Buenos Aires - Argentina
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] manager interface to barge

2004-10-20 Thread usedcanon


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nicolás
Gudiño
Sent: 20 October 2004 18:21
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] manager interface to barge


Hello,

On Wed, 20 Oct 2004 09:48:43 -0600, TELUX [EMAIL PROTECTED] wrote:
 Can the Manager interface be used to barge my phone into an existing
 conversation?

You need to use manager redirect and meetme. Check out my Flash
Operator Panel, it lets you barge on calls.

http://www.asternic.org

--
Nicolás Gudiño
Buenos Aires - Argentina

Thats interesting, can you explain a bit more how that is done. I would like
to implement something simillar without using the Flash operator.

Umar
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] manager interface to barge

2004-10-20 Thread Bill Seddon


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nicolás
Gudiño
Sent: 20 October 2004 18:21
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] manager interface to barge


Hello,

On Wed, 20 Oct 2004 09:48:43 -0600, TELUX [EMAIL PROTECTED] wrote:
 Can the Manager interface be used to barge my phone into an existing
 conversation?

You need to use manager redirect and meetme. Check out my Flash
Operator Panel, it lets you barge on calls.

http://www.asternic.org

--
Nicolás Gudiño
Buenos Aires - Argentina

Thats interesting, can you explain a bit more how that is done. I would like
to implement something simillar without using the Flash operator.

Umar



Hey, Umar

It seems a bit cheeky asking the guy who wrote Flash Operator Panel how to
get something done so you don't have to use it.  I'm sure Nicolas will reply
but it might be helpful to him to learn from you why FOP doesn't work for
you.  If it’s a feature thing, maybe it a feature he can add and we all win.

Bill Seddon

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] manager interface to barge

2004-10-20 Thread usedcanon


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bill Seddon
Sent: 20 October 2004 22:06
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] manager interface to barge




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nicolás
Gudiño
Sent: 20 October 2004 18:21
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] manager interface to barge


Hello,

On Wed, 20 Oct 2004 09:48:43 -0600, TELUX [EMAIL PROTECTED] wrote:
 Can the Manager interface be used to barge my phone into an existing
 conversation?

You need to use manager redirect and meetme. Check out my Flash
Operator Panel, it lets you barge on calls.

http://www.asternic.org

--
Nicolás Gudiño
Buenos Aires - Argentina

Thats interesting, can you explain a bit more how that is done. I would like
to implement something simillar without using the Flash operator.

Umar



Hey, Umar

It seems a bit cheeky asking the guy who wrote Flash Operator Panel how to
get something done so you don't have to use it.  I'm sure Nicolas will reply
but it might be helpful to him to learn from you why FOP doesn't work for
you.  If it’s a feature thing, maybe it a feature he can add and we all win.

Bill Seddon


Bill,

My reason is very simple :-)..

I want users to be able to do something simillar using there handsets. The
reason I asked is that I am assuming that Nicholas is transferring the calls
to a meetme conference, using the management api and then landing the third
person in the same conference in listen only mode.

The fop is gpl, so I could actually look at the code to work out exactly how
it implements the barge. I am not a perl programmer (I think that's what FOP
is mostly done in) so thought I ask a straight question.

Hope this makes sense and Nicholas can share his knowledge (although he
already has)

Umar

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] manager interface to barge

2004-10-20 Thread Nicolás Gudiño
Hi Umar,

[super big snip]
 I want users to be able to do something simillar using there handsets. The
 reason I asked is that I am assuming that Nicholas is transferring the calls
 to a meetme conference, using the management api and then landing the third
 person in the same conference in listen only mode.
 
 The fop is gpl, so I could actually look at the code to work out exactly how
 it implements the barge. I am not a perl programmer (I think that's what FOP
 is mostly done in) so thought I ask a straight question.


FOP works like this:

In the manager you have to use the Redirect command:

Action: Redirect
Channel: 
ExtraChannel: 
Exten: MEETME_ROOM_EXTENSION
Context: MEETME_ROOM_CONTEXT
Priority: 1

The two parties will land in a meetme room. Its instant, and its hard
to notice that you have been redirected to a meetme.

Then originate from the third channel a call to the same meetme room.

Action: Originate
Channel: 
Exten: MEETME_ROOM_EXTENSION
Context: MEETME_ROOM_CONTEXT
Priority: 1

You need to setup your extensions.conf accordingly...

Its kind of a hack but it works. Now, how can you make it from a
handset or directlly from the dialplan, I dont know. Maybe you have to
look at those java wrappers that mix agi with manager.

Best regards,

-- 
Nicolás Gudiño
Buenos Aires - Argentina
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Manager Interface Action: Originate change d

2004-03-31 Thread mattf
Try Capitalizing Your Actions And The Parameters For Them:

Action: Login
Login: admin
Secret: mypass

Action: Originate
Exten: 200
Context: stations
Channel: SIP/agent07
Priority: 1
Callerid: James Bond Calling

That should work. We use manager actions extensively in our applications and
the managerAPI is sometimes finicky for capitalisation. and a capitalised
first letter of the action and parameters is how it's written in the code.

Let me know if that helps

MATT---


-Original Message-
From: Tony Wasson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 7:46 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] Manager Interface Action: Originate changed


I have recently noticed that the Action: Originate options in asterisk 
1.0 CVS has changed sometime between 2/23 and 3/18.

I have a 2/23/04 CVS installation (cvs checkout -r v1-0_stable asterisk 
) that allows me to make calls like this using the Manager Interface on 
port 5038.

   action: login
   login: admin
   secret: mypass

   action: originate
   exten: 200
   context: stations
   channel: SIP/agent007

I have a 3/18/04 CVS installation that does NOT work the same way. 
Entering the same information in spits out

   Response: Error
   Message: Originate with 'Exten' requires 'Context' and 'Priority'

So I've tried adding a priority of 1, like this:

   action: originate
   exten: 200
   context: stations
   channel: SIP/agent007
   priority: 1

I simply get:

   Response: Error
   Message: Originate failed

Obviously, something in the Manager code has changed. With the newer 
code I am unable to originate calls. Can anyone shed additional light on 
how to originate calls under the new 1.0 style Manager Interface?

Tony Wasson
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Manager Interface Action: Originate changed

2004-03-31 Thread Tony Wasson
Tony Wasson wrote:
I have recently noticed that the Action: Originate options in asterisk 
   1.0 CVS has changed sometime between 2/23 and 3/18.
To post a follow up for posterity, 2 tips were suggested when using the 
Manager Interface:

1) Make sure to supply Context AND Priority when using an Exten.
NOTE: It used to work without a Priority, but not anymore.
2) While not a hard and fast rule, capitalization may help.

  Action: Originate
  Exten: 200
  Context: stations
  Channel: SIP/agent007
  Priority: 1


Here's a brief troubleshooting checklist if Manager Actions like 
Originate are failing:

1) Make sure Asterisk is starting with debug mode by starting it with 
a few -vvv's after it.

I'm using this in my /etc/inittab
  ax:2345:respawn:/usr/sbin/asterisk -vvvcf
You can also just stop asterisk (asterisk -rx stop now), and relaunch 
it like this:
  # asterisk -vvvcf

2) While making the call, monitor the console for any errors using
  # asterisk -r
3) Ensure any dependant devices are actually connected and registered...
   sip show peers
   iax2 show peers
While getting the rather unhelpful message of:

  Response: Error
  Message: Originate failed
I got this messages on my console thanks to debugs:

Mar 31 10:03:24 NOTICE[21526]: app_dial.c:536 dial_exec: Unable to 
create channel of type 'SIP'
  == Everyone is busy at this time

After some investigation of sip show peers I diagnosed my problem as 
an SIP device (Audiocodes MP-108) that needed to be rebooted.

Hope this helps you out!
Tony Wasson
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Manager Interface Action: Originate changed

2004-03-30 Thread Tony Wasson
I have recently noticed that the Action: Originate options in asterisk 
   1.0 CVS has changed sometime between 2/23 and 3/18.

I have a 2/23/04 CVS installation (cvs checkout -r v1-0_stable asterisk 
) that allows me to make calls like this using the Manager Interface on 
port 5038.

  action: login
  login: admin
  secret: mypass
  action: originate
  exten: 200
  context: stations
  channel: SIP/agent007
I have a 3/18/04 CVS installation that does NOT work the same way. 
Entering the same information in spits out

  Response: Error
  Message: Originate with 'Exten' requires 'Context' and 'Priority'
So I've tried adding a priority of 1, like this:

  action: originate
  exten: 200
  context: stations
  channel: SIP/agent007
  priority: 1
I simply get:

  Response: Error
  Message: Originate failed
Obviously, something in the Manager code has changed. With the newer 
code I am unable to originate calls. Can anyone shed additional light on 
how to originate calls under the new 1.0 style Manager Interface?

Tony Wasson
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Manager Interface Needs a protocol

2003-10-15 Thread Anthony Minessale
I was using the Asterisk::Manager perl module and had some troube with it
so I decided to make my own. I have a pretty good prototype after a few hours 
(My main point about the protocol is at the bottom of this example.)

http://asterisk.650dialup.comis where you can download it.


my $man = init Asterisk::AstMan ({ -user = "asterisk", -secret = "1234", -host = "localhost" });

This auths you and logs you in 
you can do usual stuff like 

print $man-command("show agents");print $man-command("show queues");print $man-command("show channels");

The cool part is you can register a code ref to a certian Event 
and then listen on the socket all day and the code registered to that certian event 
will fire.


$newext = sub {# $ref will be a hash ref of all the parameters in the event
 my $ref = shift; print "New Extension Event Detected\n\n";};
$man-reg_event("Newexten",$newext);
$man-listen(); # a man who listens, won't your wife be jealous ;)

Now the program will just sit there and listen to all the event data 
and calls the function hooked into the Nexexten event whenever it sees it 
the special event ALL can be used tomatch every undefined event 


Now my only problem is thatwhile making this module I started wishing 
that is was just a tiny bit more like maybe http or imap 

I dont wanna hack up the code and make my stuff propitary so I was wondering if anyone agrees It is close to being a cut and dry protocol it would be nice to have it uniform.

1 issueI notice is that since you are getting a nonstop flow of events sometimes 
when you send an Action you have to intercept some of those events 
and I thought it may be nice to either format the req so you know which reply 
is for you or to formally request the events to flow rather than have them come by default.

I think you can reduce the user's rightst to stop the events but what i was 
looking for was a common structure.

My proposed example uses Content-Length so you know how much to read
off the socket but I guessusing just lf in the data and crlfcrlf as EOR works ok too for variable lengths 

EXAMPLES... 

You send your own homeade ReplyID so you recognize your answer.

Action: Queues
ReplyID: 1234

so then it replies 

ReplyID: 1234
Content-Desc: Action
Content-Type: text/plain
Content-Length: 4031

tech_support has 0 calls (max unlimited) in 'ringall' strategy Members: Agent/118 with penalty 1 has taken no calls yet
.. etc so on 


or
Action: Command
ReplyID: 888
Command: show channels

..



To start pouring on the events 

Action: EventFlow

and you get nonstop flow of ..

ReplyID: *
Content-Desc: Event
Content-Type: text/plain
Content-Length: 111

Event: NewchannelChannel: Agent/112State: UpCallerid: *8015711666*1608*Uniqueid: 1066231464.36432kick ASS





























Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

Re: [Asterisk-Users] Manager interface, again

2003-06-23 Thread Mark Spencer
 If in your voicemail.conf you have * configured to the send message in
 an email you will NOT get a stutter dialtone or any MWI light you may
 have. I've just removed my email address from voicemail.conf.. much
 better like that...

I can't see how that would make any difference.  Can you find me on IRC so
I can ssh in and try to see what's going on?  Thanks!

 HTHSITF

What's that mean?

Mark

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Manager interface, again

2003-06-20 Thread Steven Critchfield
On Fri, 2003-06-20 at 12:36, Andy Powell wrote:
 Ok, 
 
 like a  I'll answer my own message:
 
 If in your voicemail.conf you have * configured to the send message in
 an email you will NOT get a stutter dialtone or any MWI light you may
 have. I've just removed my email address from voicemail.conf.. much
 better like that... 

This is odd because I email all my users voicemail out and the ones that
don't clear the voicemail on the phone still get stutter tones. I had to
inform them of what to do, and then mass delete their voicemail to get
the stutter tone to stop. One user had almost 50 messages waiting.
-- 
Steven Critchfield  [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Manager interface, again

2003-06-20 Thread Andy Powell

This is odd because I email all my users voicemail out and the ones that
don't clear the voicemail on the phone still get stutter tones. I had to
inform them of what to do, and then mass delete their voicemail to get
the stutter tone to stop. One user had almost 50 messages waiting.

I had this initially, but it was due to a 'zombie' message (as pointed out to me
by citats... an easy way to double check is to connect to the manager interface 
and look at the status of a mailbox.Iif it reports something like

mailbox: 1000
Response: Success
Message: Mailbox Status
Mailbox: 1000
Waiting: 1 --- that is NOT a msg count btw


then the user would get a stutter tone.. if Waiting: 0 then they wont...

I'd be interested to hear if this is/isn;t the case on your setup

HTH

Andy



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Manager interface, again

2003-06-20 Thread Andy Powell

On 20/06/2003 at 14:45 Wade Weppler wrote:

Same here.  E-mail and MWI/Stutter tone work fine together.


if that attaching the file or just sending a messages without a file attached..?

Andy



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Manager interface, again

2003-06-20 Thread Steven Critchfield
On Fri, 2003-06-20 at 15:20, Andy Powell wrote:
 On 20/06/2003 at 14:45 Wade Weppler wrote:
 
 Same here.  E-mail and MWI/Stutter tone work fine together.
 
 
 if that attaching the file or just sending a messages without a file attached..?

We attach the voicemail, thats how 2 of my users eneded up with 50 or so
messages waiting. They didn't feel the need to listen to or delete the
messages via the phone when they had listened to them via the email
interface.
-- 
Steven Critchfield  [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] manager interface change request

2003-05-30 Thread Roy Sigurd Karlsbakk
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/[EMAIL PROTECTED]

Event: Status
Channel: MGCP/aaln/[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] manager interface change request

2003-05-30 Thread Michiel Betel
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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/[EMAIL PROTECTED]

Event: Status
Channel: MGCP/aaln/[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users