I think you need to build mod_perl to do it the way you are trying, but you might not need to do it that way. You might be able to execute the script natively in the shell and interact with FreeSWITCH via ESL. I just learned the magic of FreeSWITCH doing it this way and it’s great! More info: https://freeswitch.org/confluence/display/FREESWITCH/mod_perl Bote From: Ali Pey Sent: Wednesday, 13 January, 2016 08:25 Subject: [Freeswitch-users] Freeswitch Version 1.6.5-11 crashes with Perl Hello, I have Freeswitch Version 1.6.5-11 on a debian server and it crashes every time I try a perl call. I have tried running freeswitch as root and has the same problem. Has anyone used perl module with 1.6.5-11. I'd like to know if it's a bug or an installation problem on my side. The error I get is: freeswitch@internal> perl test.pl <https://contactmonkey.com/api/v1/tracker?cm_session=c9fa2dc2-5197-4125-b49c-40f4614d2641&cm_type=link&cm_link=6df567b6-21d5-4dfb-a980-5bae73c06db9&cm_destination=http://test.pl> Socket interrupted, bye! Thanks, Ali Pey <https://contactmonkey.com/api/v1/tracker?cm_session=c9fa2dc2-5197-4125-b49c-40f4614d2641&cm_type=open&cm_user_email=alipey@gmail.com> <https://contactmonkey.com/api/v1/tracker?cm_session=c9fa2dc2-5197-4125-b49c-40f4614d2641&cm_type=open&cm_user_email=alipey@gmail.com>