Displaying 1 result from an estimated 1 matches for "serviceno".
Did you mean:
servicenow
2006 Jun 17
0
hanging up call after launching a script, script should continue independently
..., is
alive until it has run completely. while this is working as expected
when started from the commandline it doesn't work as it should when it
is called with the agi/deadagi-command from the asterisk-dialplan. my
dialplan looks like this:
exten => X,1,DeadAgi(callback.agi,${CALLERIDNUM},${SERVICENO})
exten => X,n,Hangup
So asterisk should start the callback.agi(which calls the second script)
and then do the hangup(so the caller hears a status and has a free
channel on his (pstn-)phone to receive the callback). since the second
script is called as a individual process, i'd expect that...