Hi, I’m new to FreeSWITCH. I have created a perl script and there I’m getting DTMF and I want to transfer call back to IVR (700) when user pressed 9 in their dialpad. All are working except call transferring. I’m using following line to do transfer.
$con->execute(“transfer”, “700 XML 192.168.x.x”);
Can someone help me?
Try $session->execute("transfer", "700 XML default");
default, public is a context. do you have 192.168.x.x as a context?
1 Like
Hi, Thank you for the reply. I tried this, $con->execute("transfer", "700 XML default");
But it’s not working.
Yes I have 192.168.x.x as a context.
I’m running this command in background, fs_ivrd -h 127.0.0.1 -p 9090
Is it correct?
Without it the perl script is not working
I have resolved the issue.
Need to run the perl script in background like this,
perl /usr/src/freeswitch-1.10.11/libs/esl/perl/outbound_socket.pl
But Not like this, fs_ivrd -h 127.0.0.1 -p 9090