[Asterisk-Users] HELP HELP HELP NEEDED WITH ASTCC
Juan Luis Moyano
juanmoyano at southecon.com.ar
Fri Jul 1 09:00:53 MST 2005
Darren Wiebe wrote:
> Could you please post the output from the asterisk console when
> astcc.agi crashes? I really would like to get this resolved.
>
> Darren Wiebe
> darren at aleph-com.net
>
Darren here I post you the output from asterisk console and the mysql
daemon log. After hanging the phone the field inuse stays '1' and I get
no cdr record. I'm using the cvs astcc.agi with astcc.patch applied.
//////ASTCC agi debug
-- Executing DeadAGI("Zap/2-1", "astcc.agi|11|615") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/astcc.agi
AGI Tx >> agi_request: astcc.agi
AGI Tx >> agi_channel: Zap/2-1
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Zap
AGI Tx >> agi_uniqueid: 1120221737.19
AGI Tx >> agi_callerid: "CMW" <11>
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: highclient
AGI Tx >> agi_extension: 77615
AGI Tx >> agi_priority: 3
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode: CMW
AGI Tx >>
AGI Rx << ANSWER
AGI Tx >> 200 result=0
AGI Rx << STREAM FILE astcc-tone 0123456789
AGI Tx >> 200 result=0 endpos=11200
AGI Rx << STREAM FILE astcc-youhave 0123456789
AGI Tx >> 200 result=0 endpos=6400
AGI Rx << SAY NUMBER 25 0123456789
-- Playing 'digits/20' (language 'en')
-- Playing 'digits/5' (language 'en')
AGI Tx >> 200 result=0
AGI Rx << STREAM FILE astcc-dollars 0123456789
AGI Tx >> 200 result=0 endpos=7200
AGI Rx << STREAM FILE astcc-remaining 0123456789
AGI Tx >> 200 result=0 endpos=3360
AGI Rx << STREAM FILE astcc-willcost 0123456789
AGI Tx >> 200 result=0 endpos=14240
AGI Rx << SAY NUMBER 50 0123456789
-- Playing 'digits/50' (language 'en')
AGI Tx >> 200 result=0
AGI Rx << STREAM FILE astcc-perminute 0123456789
AGI Tx >> 200 result=0 endpos=14240
AGI Rx << STREAM FILE astcc-pleasewait 0123456789
AGI Tx >> 200 result=0 endpos=15840
AGI Rx << EXEC DIAL
IAX2/657XXX:XXXXXXXX at iax2.fwdnet.net/615|30|HL(3000000:60000:30000) ""
-- AGI Script Executing Application: (DIAL) Options:
(IAX2/657XXX:XXXXXXXX at iax2.fwdnet.net/615|30|HL(3000000:60000:30000))
-- Limit Data:
-- timelimit=3000000
-- play_warning=60000
-- play_to_caller=yes
-- play_to_callee=no
-- warning_freq=30000
-- start_sound=UNDEF
-- warning_sound=timeleft
-- end_sound=UNDEF
-- Called 657XXX:XXXXXXXX at iax2.fwdnet.net/615
-- Call accepted by 65.39.205.121 (format ulaw)
-- Format for call is ulaw
-- IAX2/65.39.205.121:4569/1 is making progress passing it to Zap/2-1
-- IAX2/65.39.205.121:4569/1 answered Zap/2-1
-- Hungup 'IAX2/65.39.205.121:4569/1'
AGI Tx >> 200 result=-1
AGI Rx << GET VARIABLE ANSWEREDTIME
AGI Tx >> 200 result=1 (24)
AGI Rx << GET VARIABLE DIALSTATUS
AGI Tx >> 200 result=1 (ANSWER)
-- AGI Script astcc.agi completed, returning 0
//////MYSQL
050701 12:54:42 120 Connect root at localhost on astcc
050701 12:54:44 120 Query SELECT * FROM cards WHERE number='11'
120 Query SELECT * FROM cards WHERE number='11'
120 Query SELECT * FROM cards WHERE number='11'
120 Query SELECT * FROM cards WHERE number='11'
120 Query UPDATE cards SET used='0' WHERE
number='11'
120 Query UPDATE cards SET inuse='1' WHERE
number='11'
050701 12:54:47 120 Query SELECT * FROM routes WHERE '615'
RLIKE pattern ORDER BY LENGTH(pattern) DESC
050701 12:54:53 120 Query SELECT * FROM cards WHERE number='11'
120 Query SELECT * FROM trunks WHERE name='FWD'
050701 12:55:18 120 Quit
--
Juan Luis Moyano
juanmoyano at southecon.com.ar
More information about the asterisk-users
mailing list