[asterisk-users] AMI - DBPut

Tomislav Parcina tomislav.parcina at email.t-com.hr
Mon Mar 12 05:15:34 MST 2007


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 at email.t-com.hr



More information about the asterisk-users mailing list