Asterisk PHP Agi Record calls

已完成 已发布的 7 年前 货到付款
已完成 货到付款

Hello

i need someone to provide me a sample php agi script that will record an incomming call after it's picked up by the user

say call is coming form trunk 1 and intended to go to SIP/2001

i am currently using the code bellow to connect the call

require('[url removed, login to view]');

$agi=new AGI();

$agi->answer();

$agi->exec('Dial', "SIP/2001",30,r");

$agi->hangup();

code is working fine i just need to record the conversation

i have tried the monitor but getting -1 everytime

Asterisk PBX PHP Ubuntu UNIX

项目ID: #10979687

关于项目

1个方案 远程项目 活跃的7 年前

授予:

voiceguru786

this is very simple use mixmonitor with b option . it will start recording once call bridged. so hoping that you will give me a chance

₹1000 INR 在1天内
(3条评论)
3.3