The script still runs after the user hangs up. but the problem is that agivariables, (e.i. agivar[agi_callerid]) are not passed to my php script… my php script is dependent in agi variables.
correct me if i am wrong.
i guess that whenever it hungs up; the channel is closed. therefore the agi variables are gone… the agi variable can only be pass if the channel is still up.
anyone who have an idea how to solve this problem?
is there a way to get agi variables after it hangs up, thanks in advance.
all i need is the callernumber. how can i pass the callernumber to php script without using the agi variables… if there is no other way to pass the agi variables if the channel is dead.
Can you please show me your extensions.conf. I basically want to see the flow of it as i want to run the script just after the call gets hanged up but unable to do so. Kindly show me your extensions.conf file so that i could get a clue and solve my problem as well.