Luckcuck Nick-LCKN001
2004-Jun-24 05:56 UTC
[Asterisk-Users] Asterisk Manager Commands - Timeout
Hi everyone, I am trying to generate calls from the asterisk manager. I am using perl and Socket.pm the "Originate: Zap/g1/$phonenumber\r\n" command I send works without any problem if I leave the "Timeout: $timeout\r\n" line out, however with the Timeout line in I get some very odd behaviour. I have searched the internet for ages and cannot find any useful information on what this command actually changes, if anyone would be kind enough to enlighten me on this subject It would be most appreciated. Ta. -- Nick
I use Net::Telnet in perl to interface the manager and it works much better. Take a look at the source code for some of the scripts in my astguiclient suite and you'll see all kinds of perl/Asterisk-manager data munging: http://astguiclient.sf.net/ MATT--- -----Original Message----- From: Luckcuck Nick-LCKN001 [mailto:LCKN001@motorola.com] Sent: Thursday, June 24, 2004 8:57 AM To: 'asterisk-users@lists.digium.com' Subject: [Asterisk-Users] Asterisk Manager Commands - Timeout Hi everyone, I am trying to generate calls from the asterisk manager. I am using perl and Socket.pm the "Originate: Zap/g1/$phonenumber\r\n" command I send works without any problem if I leave the "Timeout: $timeout\r\n" line out, however with the Timeout line in I get some very odd behaviour. I have searched the internet for ages and cannot find any useful information on what this command actually changes, if anyone would be kind enough to enlighten me on this subject It would be most appreciated. Ta. -- Nick _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users