I'm using AMI on Asterisk 1.2.15 and I'm having problems with DBPut action. If I execute this: Action: DBPut Family: checkin Key: 316 Val: yes Response: Error Message: Missing action in request I don't put anything in Asterisk DB. If I execute this: Action: DBPut Family: <checkin> Key: <316> Val: <yes> Response: Success Message: Updated database successfully Then I put data in Asterisk DB, but that data has < and >. How to enter data in Asterisk DB without this brackets. fc4*CLI> database show /<checkin>/<316> : <yes> /dozvola/148 : yes -- Tomislav Parcina firstname.lastname@email.t-com.hr
Tomislav Parcina wrote:> I'm using AMI on Asterisk 1.2.15 and I'm having problems with DBPut action. > > If I execute this: > Action: DBPut > Family: checkin > Key: 316 > Val: yes >Try putting quotes around the value. I played with it a while back only a little, but I can't remember if quotes did it or I ended up having stripping the quotes off myself when I retrieved the value ... -- Warm Regards, Lee