[Asterisk-Users] reconnecting
Scott Stingel
scott at evtmedia.com
Fri Jul 25 13:30:59 MST 2003
Yes, you can start this way and get most of the call flow detail just like
when you connect on the main screen. However, if you are writing your own
AGI scripts, you wouldn't get any output directed to STDERR (like debugging
messages) - these go only to the initial console where * is started. Below
are samples of each output.
regards,
Scott Stingel
ON ASTERISK STARTUP SESSION: (INCOMING CALL)
*CLI>
-- Starting simple switch on 'Zap/1-1'
NOTICE[1217603008]: File chan_zap.c, Line 4134 (ss_thread): Got event 2
(Ring/Answered)...
-- Executing Answer("Zap/1-1", "") in new stack
-- Executing Wait("Zap/1-1", "1") in new stack
-- Executing AGI("Zap/1-1", "test.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/test.agi
*** Got digit string: 1234 THE FOLLOWING 6 LINES ARE DEBUGGING
STATEMENTS!:
Password in SYSTEM table: 1234
wait_digits exit, # digits = 4
Password OK!
stat result size on jt/555= , len= 0
stat result size on ...sounds/jt/555= <-LAST DEBUGGING STATEMENT
-- AGI Script test.agi completed, returning 0
-- Executing Hangup("Zap/1-1", "") in new stack
== Spawn extension (incoming, s, 4) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
ON SECOND SESSION CONNECTED WITH -rvvvc:
*CLI>
-- Starting simple switch on 'Zap/1-1'
-- Executing Answer("Zap/1-1", "") in new stack
-- Executing Wait("Zap/1-1", "1") in new stack
-- Executing AGI("Zap/1-1", "test.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/test.agi
-- AGI Script test.agi completed, returning 0
-- Executing Hangup("Zap/1-1", "") in new stack
== Spawn extension (incoming, s, 4) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
END------------------
Scott M. Stingel
Emerging Voice Technology Inc.
Email: scott at evtmedia.com <mailto:scott at evtmedia.com>
URL: www.evtmedia.com <http://www.evtmedia.com>
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of
> Darrell Eldridge
> Sent: Friday, July 25, 2003 9:06 PM
> To: Asterisk Users
> Subject: [Asterisk-Users] reconnecting
>
>
> If asterisk is running as a daemon (started with no
> command line options), can I reconnect to it and get
> the vvverbose info in the console? In other words,
> will
> asterisk -rvvvc
> work? Sorry to ask.... I would just try it to see if
> it works, but I don't have an installation handy and
> have to do some remote troubleshooting soon.
>
> ThanksE+06.
>
> D.
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
More information about the asterisk-users
mailing list