asteriskami - Asterisk AMI - UpdateConfig not working -


we using asterisk (8.1.11)/freepbx (2.10.1.9). trying modify voicemail.conf using ami.

the line in voicemail.conf i'm trying modify looks like:

2999 => 1234,hotline,,someemail@company.com,attach=no|saycid=yes|envelope=yes|delete=no    

i'm trying modify notification email address.
using telnet port 5038 enter following:

action: login   username: username   secret: password  action: updateconfig   srcfilename: voicemail.conf   dstfilename: vmtest.conf   action-00000: update   cat-00000: default   var-00000: 2999   value-00000: >1234,hotline,,email@example.com,attach=no|saycid=yes|envelope=yes|delete=no   actionid: 123456789 

this results in:

response: success   actionid: 123456789  

this has effect of creating file "vmtest.conf", update not occur. i've tried adding new categories, deleting variable, appending new variables - report success, nothing changes.

i don't have hair left pull out @ point! suggestions?

if exact code, missing 0 action-,cat-,var-,value-.

should be:

action: updateconfig srcfilename: voicemail.conf dstfilename: vmtest.conf action-000000: update //          ^ cat-000000: default //       ^ var-000000: 2999 //       ^ value-000000: >1234,hotline,,email@example.com,attach=no|saycid=yes|envelope=yes|delete=no //         ^ actionid: 123456789 

i tried without 6th 0 , got success didn't change file experiencing.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -