[Asterisk-Users] asterisk console mode
dogharris at sbcglobal.net
Sun Jun 20 15:16:16 MST 2004
I use safe asterisk to startup and run asterisk in the background. In
Safe_asterisk script, there is a parameter (right at the top ), CONSOLE
which I can set to no or something. If it is no asterisk startup as
asterisk -vvvg , if it is set to something the asterisk startup as
asterisk -vvvg -c.
Now I am running an agi script when calls get hung-up. That is in my
extensions.conf I call myagi.agi like h,1, agi, myagi.agi. When I have
asterisk started in console mode everything works fine, however if I
start -vvvg soon after the agi completes asterisk shut it down.
== Spawn extension (fwd-out-test, 613, 3) exited non-zero on 'SIP/-081467b0'
-- Executing AGI("SIP/-081467b0", "updatecb_post.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/updatecb_post.agi
== Spawn extension (fwd-out-test, h, 1) exited non-zero on 'SIP/-081467b0'
Disconnected from Asterisk server
Executing last minute cleanups
Asterisk ending (0).
Any Idea why this is happening. ??? What are the pros and cons running
asterisk in console mode in safe asterisk ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users