[asterisk-dev] How to send Custom NOTIFY Packets?

ashish mahamuni ashishm at alohatechnology.com
Wed Apr 15 09:59:59 CDT 2009


ok..
I've figured out the way to send the data to AMI client...
it is manager_event() function.
Problem is, after receiving this event client is about to
send asterisk an another Action packet.
How can I capture this action packet?

> --- On Wed, 15/4/09, ashish mahamuni <ashishm at alohatechnology.com>
> wrote:
> 
> > From: ashish mahamuni <ashishm at alohatechnology.com>
> > Subject: Re: OFFLIST Re: [asterisk-dev] How to send
> Custom NOTIFY Packets?
> > To: "Martin" <asterisklist at callthem.info>
> > Date: Wednesday, 15 April, 2009, 7:08 PM
> > or may be you could help me to modify
> > the source..
> > I've couple of strategies in my mind..
> > Is there any way so that I can ask manager to send
> > something to AMI client..Precisely from
> handle_subscribe()
> > function..?
> > 
> > 
> > --- On Wed, 15/4/09, Martin <asterisklist at callthem.info>
> > wrote:
> > 
> > > From: Martin <asterisklist at callthem.info>
> > > Subject: OFFLIST Re: [asterisk-dev] How to send
> Custom
> > NOTIFY Packets?
> > > To: ashishm at alohatechnology.com
> > > Date: Wednesday, 15 April, 2009, 6:58 PM
> > > Hi,
> > > 
> > > There's no such functionality in Asterisk. You
> have
> > to
> > > request it and
> > > hopefully someone will want to code it from
> Digium
> > > or you'll have to pay a developer like me to do
> it.
> > > 
> > > let me know if you're interested
> > > 
> > > Martin
> > > 
> > > On Wed, Apr 15, 2009 at 5:55 AM, ashish mahamuni
> > > <ashishm at alohatechnology.com>
> > > wrote:
> > > >
> > > > Hi there,
> > > >
> > > > Here is my requirement...
> > > > Whenever asterisk receives "SIP
> SUBSCRIBE"..It is
> > to
> > > be forwarded to AMI Client...(Assume that AMI
> Client
> > is well
> > > mature to understand SIP protocol).
> > > > Asterisk will wait for AMI clients
> response..
> > > > In response AMI client will sent the SIP
> NOTIFY
> > > packet(or data which must exist in notify packet)
> to
> > > Asterisk..
> > > > Now Asterisk has to forward this SIP
> NOTIFY(with
> > my
> > > data) to phone...
> > > >
> > > > Is there any AMI Action which allows me to
> do
> > so?
> > > > How can I proceed?
> > > >
> > > > I am using asterisk-1.6.0.9..
> > > >
> > > > Regards,
> > > > Ash
> > > >
> > > >
> _______________________________________________
> > > > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > > >
> > > > asterisk-dev mailing list
> > > > To UNSUBSCRIBE or update options visit:
> > > >   http://lists.digium.com/mailman/listinfo/asterisk-dev
> > > >
> > >
> >
> 



More information about the asterisk-dev mailing list