Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] AGI GET DATA behavior


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
fuckspam at wheres5.com
Guest





PostPosted: Wed Apr 30, 2014 4:47 am    Post subject: [asterisk-users] AGI GET DATA behavior Reply with quote

Hello all,

I have a strange problem with a very simple AGI script, using the GET
DATA command.

When using this command, Asterisk often returns 0 as a result after a
"GET DATA beep 5000" command, without even waiting for input from the
calling party.
It is quite random : sometimes Asterisk behaves exactly as documented,
and sometimes it gives "200 result=0" without any reason.

Do you have an idea of what might be happening ? I'm using version 11.6.0.

Hoggins!

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
tg at ovm-group.com
Guest





PostPosted: Wed Apr 30, 2014 6:10 am    Post subject: [asterisk-users] AGI GET DATA behavior Reply with quote

Is your script really so simple?

Enable agi debugging (agi set debug on) and take look at it when this
happens.

-Thorsten-

Am 30.04.2014 11:47, schrieb Hoggins!:
Quote:
Hello all,

I have a strange problem with a very simple AGI script, using the GET
DATA command.

When using this command, Asterisk often returns 0 as a result after a
"GET DATA beep 5000" command, without even waiting for input from the
calling party.
It is quite random : sometimes Asterisk behaves exactly as documented,
and sometimes it gives "200 result=0" without any reason.

Do you have an idea of what might be happening ? I'm using version 11.6.0.

Hoggins!


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
fuckspam at wheres5.com
Guest





PostPosted: Thu May 01, 2014 7:36 am    Post subject: [asterisk-users] AGI GET DATA behavior Reply with quote

Hello,

Yes, it is fairly simple, really.

And I found out about the return code of Asterisk enabling the agi
debugging, precisely.
The documentation of the "GET DATA" entry specifies that Asterisk should
either return "-1", nothing, or the actual result of what the user
entered, but never "0", am I right ?
(http://www.voip-info.org/wiki/view/get+data)

The problem is that Asterisk's behavior is not constant : 1 time out of
4 or 5, without ANY change in the behavior of the user, Asterisk simply
does not wait for the user input, and returns "0" before the timeout.


Le 30/04/2014 13:10, Thorsten Göllner a écrit :
Quote:
Is your script really so simple?

Enable agi debugging (agi set debug on) and take look at it when this
happens.


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
asterisk.org at sedwar...
Guest





PostPosted: Thu May 01, 2014 9:02 am    Post subject: [asterisk-users] AGI GET DATA behavior Reply with quote

Quote:
Le 30/04/2014 13:10, Thorsten Göllner a écrit :

Quote:
Quote:
Is your script really so simple?

Enable agi debugging (agi set debug on) and take look at it when this
happens.

On Thu, 1 May 2014, Hoggins! wrote:

Quote:
Yes, it is fairly simple, really.

The problem is that Asterisk's behavior is not constant : 1 time out of
4 or 5, without ANY change in the behavior of the user, Asterisk simply
does not wait for the user input, and returns "0" before the timeout.

0) Please don't top-post.

1) Reduce your script to the smallest example that illustrates your issue.

2) Post your script along with console output (with 'core agi set debug
on,' 'core set debug 99,' and 'core set verbose 99') of a successful and a
failed call.

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services