[Asterisk-Dev] Adding a dial option to update the DB on bridge

hwstar at rodgers.sdcoxmail.com hwstar at rodgers.sdcoxmail.com
Mon Jun 7 08:36:04 MST 2004


Looking throgh the code for manager.c and pbx.c I don't see how to access the subset commands.  Hints? 

Steve.



> 
> From: Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
> Date: 2004/06/07 Mon AM 12:37:58 EDT
> To: asterisk-dev at lists.digium.com
> Subject: Re: [Asterisk-Dev] Adding a dial option to update the DB on bridge
> 
> On Sunday 06 June 2004 23:12, Steve Rodgers wrote:
> > Note to self: It turns out the manager interface will tell you when
> > a call is picked up and what extension was picked up. All that
> > needs to be done is to patch manager.c to support DBGet and DBput
> > so that the caller info can be saved in a namespace outside of the
> > channel variables. A patch has been submitted to bugs.digium.com
> > for approval.
> 
> Don't need to.  You can already send the commands "Database Get x y"
> and "Database Put x y z" (via the command subset).
> 
> -- 
> Tilghman
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 




More information about the asterisk-dev mailing list