简体   繁体   中英

PHP agi Goto Queue

I have a problem with my Asterisk Agi.

My script checks if the customer id is correct and then it has to transfer the call into a queue.

I use:

$agi->exec('Goto',"ext-queues,100,0"); 

But when I call the number, give an existing customer number it terminate the call.

Thanks in advance.

You have exit AGI script after goto.

Better not use that, it can work unpredictable.

For more info see

asterisk -r
core set verbose 3
agi set debug on

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM