AGI result=-1 and call is disconneted abruptly.

General discussions about AsteriskNOW.

Moderators: Moderator, Support

AGI result=-1 and call is disconneted abruptly.

Postby lata » Tue Oct 08, 2013 3:58 am

Hi All,

User experience the sudden call drop and found that the AGI result=-1 .
Can someone help us to find what is the issue here.

The dial plan looks like below:

exten => _!,1,Answer
same => n,Set(AGISIGHUP=no)
same => n,Set(caller=${CALLERID(num)})
same => n,Set(called=${EXTEN})
same => n,Set(cmd=32)
same => n,Set(uniqueid=${UNIQUEID})
same => n(repeat),Agi(agi://${vxmlurl}&cmd=${cmd}&calling=${caller}&called=${called}&sessionid=${uniqueid})
same => n,Set(cmd=12)
same => n,Set(bubblyTransferLen=${LEN(${bubblyTransfer})})
same => n,GotoIf($[${bubblyTransferLen} > 0]?bubbly:last)
same => n(bubbly),Dial(DAHDI/G1/${bubblyTransfer},30,g)
same => n,Goto(repeat)
same => n(last),Hangup

Voice glue logs:

dynlog/dynlog.0:11:49:37:481 DBUG PHONGLUE smart1-- callid=[49874] snd PLAYFILE file="voiceglue/url/nIIJ-pRn0w2vYY3b_NqaS7bd7dF9BscOB_bubblythanks.alaw/req" stopkeys="0123456789*#" to AGI client on fh="::FASTAGI49874" at host= callid=[49874]
dynlog/dynlog.0:11:49:37:481 DBUG PHONGLUE smart1-- snd "STREAM FILE voiceglue/url/nIIJ-pRn0w2vYY3b_NqaS7bd7dF9BscOB_bubblythanks.alaw/req 0123456789*#\n" to ::FASTAGI49874
dynlog/dynlog.0:11:49:37:585 DBUG PHONGLUE smart1-- rcv agi(::FASTAGI49874): "200 result=-1 endpos=960\n"
dynlog/dynlog.0:11:49:37:585 DBUG PHONGLUE smart1-- callid=[49874] AGI result=-1 values: endpos=960
Posts: 1
Joined: Tue Oct 08, 2013 3:42 am

Re: AGI result=-1 and call is disconneted abruptly.

Postby david55 » Tue Oct 08, 2013 4:39 am

You need to ask the person or organisation that wrote the AGI script.

If you wrote it, you will need to supply the contents of the script, and post to Asterisk Support.
Moves Like Spencer
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Return to AsteriskNOW General

Who is online

Users browsing this forum: No registered users and 1 guest