Re: [asterisk-users] UpdateConfig : Appending line fails

2009-01-17 Thread Tilghman Lesher
On Friday 16 January 2009 22:43:51 Jose P. Espinal wrote:
 About UpdateConfig syntax, how did  you find out the correct way of sending
 various sets of parameters? I was looking in google, the ATFOT v2 Book, and
 nothing showed up.

I wrote a patch for a problem with that function last month, and therefore I
have become intimately familiar with the code (even though that code wasn't
at fault, I had to analyze it to make that determination).

-- 
Tilghman

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] UpdateConfig : Appending line fails

2009-01-16 Thread Jose P. Espinal
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-00: Append
Cat-00: default
Var-00: 127
Value-00: , Jason Bourne97, jaso...@nocia.gov.do
ActionID: 1256187957

Action: UpdateConfig
SrcFilename: voicemail2.conf
DstFilename: voicemail2.conf
Action-01: Append
Cat-01: default
Var-01: 125
Value-01: 5, Jason Bourne76, jaso...@nocia.gov.do
ActionID: 1607673137

Action: UpdateConfig
SrcFilename: voicemail2.conf
DstFilename: voicemail2.conf
Action-02: Append
Cat-02: default
Var-02: 122
Value-02: , Jason Bourne74, jaso...@nocia.gov.do
ActionID: 165797792

Action: UpdateConfig
SrcFilename: voicemail2.conf
DstFilename: voicemail2.conf
Action-03: Append
Cat-03: default
Var-03: 128
Value-03: , Jason Bourne48, jaso...@nocia.gov.do
ActionID: 1743636529

Action: UpdateConfig
SrcFilename: voicemail2.conf
DstFilename: voicemail2.conf
Action-04: Append
Cat-04: default
Var-04: 126
Value-04: 5, Jason Bourne18, jaso...@nocia.gov.do
ActionID: 495446608

Action: Logoff
Username: test


I'm I missing something?

PS. (I receive 'success' for all of the updating attempts)


Thanks in advice,


--
Jose P. Espinal
http://blog.slackware-es.com

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] UpdateConfig : Appending line fails

2009-01-16 Thread Tilghman Lesher
On Friday 16 January 2009 16:47:40 Jose P. Espinal wrote:
 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-00: Append
 Cat-00: default
 Var-00: 127
 Value-00: , Jason Bourne97, jaso...@nocia.gov.do
 ActionID: 1256187957

This is a single valid command, and so it works.

 Action: UpdateConfig
 SrcFilename: voicemail2.conf
 DstFilename: voicemail2.conf
 Action-01: Append
 Cat-01: default
 Var-01: 125
 Value-01: 5, Jason Bourne76, jaso...@nocia.gov.do
 ActionID: 1607673137

This command did not specify an Action-00.

 Action: UpdateConfig
 SrcFilename: voicemail2.conf
 DstFilename: voicemail2.conf
 Action-02: Append
 Cat-02: default
 Var-02: 122
 Value-02: , Jason Bourne74, jaso...@nocia.gov.do
 ActionID: 165797792

This command did not specify an Action-00.

 Action: UpdateConfig
 SrcFilename: voicemail2.conf
 DstFilename: voicemail2.conf
 Action-03: Append
 Cat-03: default
 Var-03: 128
 Value-03: , Jason Bourne48, jaso...@nocia.gov.do
 ActionID: 1743636529

This command did not specify an Action-00.

 Action: UpdateConfig
 SrcFilename: voicemail2.conf
 DstFilename: voicemail2.conf
 Action-04: Append
 Cat-04: default
 Var-04: 126
 Value-04: 5, Jason Bourne18, jaso...@nocia.gov.do
 ActionID: 495446608

This command did not specify an Action-00.

 Action: Logoff
 Username: test


 I'm I missing something?

Perhaps you actually meant to do the following command:

Action: UpdateConfig
SrcFilename: voicemail2.conf
DstFilename: voicemail2.conf
Action-00: Append
Cat-00: default
Var-00: 127
Value-00: , Jason Bourne97, jaso...@nocia.gov.do
Action-01: Append
Cat-01: default
Var-01: 125
Value-01: 5, Jason Bourne76, jaso...@nocia.gov.do
Action-02: Append
Cat-02: default
Var-02: 122
Value-02: , Jason Bourne74, jaso...@nocia.gov.do
Action-03: Append
Cat-03: default
Var-03: 128
Value-03: , Jason Bourne48, jaso...@nocia.gov.do
Action-04: Append
Cat-04: default
Var-04: 126
Value-04: 5, Jason Bourne18, jaso...@nocia.gov.do
ActionID: 495446608

-- 
Tilghman

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] UpdateConfig : Appending line fails

2009-01-16 Thread Jose P. Espinal
Thank you very much, Tilghman, 
I did not respond before because for some reason the IP of the list server was 
blacklisted on spamhaus.org and I was not getting the messages

see:


2009-01-16 22:47:49 H=(lists.digium.com) [216.207.245.1] 
F=asterisk-users-boun...@lists.digium.com rejected RCPT 
r...@dangerclan.net: JunkMail rejected - (lists.digium.com) [216.207.245.1] 
is in an RBL, see http://www.spamhaus.org/query/bl?ip=216.207.245.1;



About UpdateConfig syntax, how did  you find out the correct way of sending 
various sets of parameters?
I was looking in google, the ATFOT v2 Book, and nothing showed up.



Thanks again, regards.





--
Jose P. Espinal

 
 

/
//
// I'm I missing something?
/
Perhaps you actually meant to do the following command:

Action: UpdateConfig
SrcFilename: voicemail2.conf
DstFilename: voicemail2.conf
Action-00: Append
Cat-00: default
Var-00: 127
Value-00: , Jason Bourne97, jason25 at noCia.gov.do 
http://lists.digium.com/mailman/listinfo/asterisk-users
Action-01: Append
Cat-01: default
Var-01: 125
Value-01: 5, Jason Bourne76, jason12 at noCia.gov.do 
http://lists.digium.com/mailman/listinfo/asterisk-users
Action-02: Append
Cat-02: default
Var-02: 122
Value-02: , Jason Bourne74, jason49 at noCia.gov.do 
http://lists.digium.com/mailman/listinfo/asterisk-users
Action-03: Append
Cat-03: default
Var-03: 128
Value-03: , Jason Bourne48, jason45 at noCia.gov.do 
http://lists.digium.com/mailman/listinfo/asterisk-users
Action-04: Append
Cat-04: default
Var-04: 126
Value-04: 5, Jason Bourne18, jason64 at noCia.gov.do 
http://lists.digium.com/mailman/listinfo/asterisk-users
ActionID: 495446608

-- 
Tilghman


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users