Displaying 7 results from an estimated 7 matches for "srcfilenam".
Did you mean:
srcfilename
2009 Jan 16
2
UpdateConfig : Appending line fails
Hello list,
Can someone please point me out why would a stream like the following
only write ONE line (the first) on the given file?
Action: login
Username: test
Secret: 123456
Action: UpdateConfig
SrcFilename: voicemail2.conf
DstFilename: voicemail2.conf
Action-000000: Append
Cat-000000: default
Var-000000: 127
Value-000000: >5555, Jason Bourne97, jason25 at noCia.gov.do
ActionID: 1256187957
Action: UpdateConfig
SrcFilename: voicemail2.conf
DstFilename: voicemail2.conf
Action-000001: Append
Cat-000...
2009 Sep 29
3
UpdateConfig
Hi people, I need to update the voicemail.conf from the UpdateConfig Action (AMI).
The problem is that I executed:
Action: UpdateConfig
srcFileName: voicemail.conf
dstFileName: voicemail.conf
Action-000000:append
Cat-000000:test
Var-000000:exten
Value-000000:>999,test
But I don't see the changes in the file.
Can anybody tell me if there is something wrong in that code?
Thanks,
Anahi Ludue?a
___________________...
2008 Aug 14
1
AMI and extensions.conf
Hello
I'm looking for a wayy to modify extensions.conf
It seems that PutConfig AMI command is not supposed to work on extensionsq.conf
Any ideas?
Thanks
Vadim
2010 Mar 05
1
AMI logs
Hi, I'm executing some commands using AMI... I suppose the log is saved in some place, but I don't know where... where is it saved?More details: I'm executing a UpdateConfig in the voicemail.conf file, but the file is not updated, so I would like to know why...Thanks,
Anahi
Anahi Ludue?a
_________________________________________________________________
Ahora
2008 Oct 14
1
Help With AMI
I am trying to get updateconfig working.
I found an example of updating configuration files here:
http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+Upd
ateConfig
When I tried it the conf file was updated but the new entry was not added.
action:updateconfig
reload:no
srcfilename:manager.conf
dstfilename:manager.conf
Action-000000:append
Cat-000000:newuser
Var-000000:secret
Value-000000:nottelling
I have searched various web sites and mail lists but I can not find very
much documentation about how the updateconfig action is to work.
Can anyone point me to additional docu...
2011 Sep 02
5
how to add-edit-delete entery into asterisk conf files
...\n\r\n");
?>
*AMI command:-*
Below commands are for musiconhold.conf. I want to add new MOH context into
it.
<?php
include("login.php");
fputs($socket, "Action: UpdateConfig\r\n");
fputs($socket, "Filename: musiconhold.conf\r\n");
fputs($socket, "Srcfilename: musiconhold.conf\r\n");
fputs($socket, "Dstfilename: musiconhold.conf\r\n");
fputs($socket, "Action-000000: newcat\r\n");
fputs($socket, "Cat-000000: bhavik\r\n");
fputs($socket, "mode: files\r\n");
fputs($socket, "directory: /var/lib/as...
2009 Jan 14
0
AMI API , Editing extensions.conf
...ble to edit an existing line in extensions.conf file?, e.g.
Given a 'category' in my extensions.conf as follow:
[macro-mytest]
exten => s,1,Dial(${SYSTEM_TECHS}/${ARG1}@${SYSTEM_SIP_PROVIDER},,kKtTwW)
exten => s,n,Hangup()
I send this request to Asterisk:
...
Action: UpdateConfig
SrcFilename: extensions.conf
DstFilename: /tmp/extensions.conf
Action-000000: Update
Cat-000000: macro-TPLtrunkcell
Var-000000: exten
Value-000000: >s,n,Dial(${SYSTEM_TECHZ}/${ARG1},,kKtTwW)
Match-000000: SYSTEM_TECH
...
After the request, which Asterisk execute successfully, the result is
something li...