Hi Murphy, Sorry! But I didnt understand you :(
Can you give me an example? When I talked about creating a new property in the events to return the ActionID command, I just give an idea. My problem is to identify WHO has raised the event. Thanks! Moacir O. de Souza Junior Belo Horizonte - Minas Gerais - Brasil -----Mensagem original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Steve Murphy Enviada em: quarta-feira, 28 de março de 2007 19:04 Para: Asterisk Users Mailing List - Non-Commercial Discussion Assunto: Re: RES: [asterisk-users] Development of new features in AsteriskManager On Wed, 2007-03-28 at 15:55 -0300, Moacir O. de Souza Junior - Personalsoft Sistemas Ltda. wrote: > Hi Murphy, > > I am developing an application for integration with Asterisk by Asterisk > Manager. > > When I send a command to asterisk (Example: Action: Originate), many events > are raised. I would like to identify what events answer my command. > > I'm thinking of creating a new property in the events to return the command > ActionID. Moacir-- While inserting actionID: headers everywhere is an option, you already can tie these events together using the channel header...? murf > > Example: > > I send an Originate: > > action: Originate > actionid: 1234526_PS > channel: local/092053469 > Exten: 101 > Context: default > Priority: 1 > Async: true > > Many events are returned: (In this case didnt answer the call) > > Event: Newchannel > Privilege: call,all > Channel: Local/[EMAIL PROTECTED],1 > State: Down > CallerIDNum: <unknown> > CallerIDName: <unknown> > Uniqueid: 1175078296.23 > > Event: Newchannel > Privilege: call,all > Channel: Local/[EMAIL PROTECTED],2 > State: Ring > CallerIDNum: <unknown> > CallerIDName: <unknown> > Uniqueid: 1175078296.24 > . > . > . > Event: Dial > Privilege: call,all > Source: Local/[EMAIL PROTECTED],2 > Destination: SIP/tmaisMG-096eee20 > CallerID: <unknown> > CallerIDName: <unknown> > SrcUniqueID: 1175078296.24 > DestUniqueID: 1175078296.25 > . > . > . > Event: Hangup > Privilege: call,all > Channel: Local/[EMAIL PROTECTED],2 > Uniqueid: 1175078296.24 > Cause: 16 > Cause-txt: Normal Clearing > > Event: Hangup > Privilege: call,all > Channel: Local/[EMAIL PROTECTED],1 > Uniqueid: 1175078296.23 > Cause: 0 > Cause-txt: Unknown > > Event: OriginateResponse > Privilege: call,all > ActionID: 1234526_PS > Response: Failure > Channel: local/092053469 > Context: default > Exten: 101 > Reason: 1 > Uniqueid: <null> > CallerID: <unknown> > CallerIDNum: <unknown> > CallerIDName: <unknown > > Only OriginateResponse has ActionID. How can I identify the Newexten, > Newchannel, Hangup, Dial, , source? > > Do you understand me? > > Thanks, > > []s > > Moacir O. de Souza Junior > Belo Horizonte - Minas Gerais - Brasil > > > -----Mensagem original----- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Em nome de Steve Murphy > Enviada em: quarta-feira, 28 de março de 2007 12:36 > Para: Asterisk Users Mailing List - Non-Commercial Discussion > Assunto: Re: [asterisk-users] Development of new features in Asterisk > Manager > > On Wed, 2007-03-28 at 11:20 -0300, Moacir O. de Souza Junior - > Personalsoft Sistemas Ltda. wrote: > > Hi, > > > > Has anybody customized* anything in Asterisk? > > > > * Customized = Development of new features or changes the existent > features. > > > > I need a new feature in Asterisk Manager and would like to talk about > this. > > > > This is a good place to discuss it; what you want to do, may already > have been done in dozens of places! And people love to brag! :) > > murf > > > Thanks, > > > > Moacir O. de Souza Junior > > Belo Horizonte - Minas Gerais - Brasil > -- Steve Murphy Software Developer 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