[Freeswitch-users] IVRD

Anthony Minessale anthony.minessale at gmail.com
Tue Jan 25 03:02:28 MSK 2011


you may want to go over everything again:
We use that extensively so it's unlikely there is a problem.

search your dir for any stale ESL.so or .pm files and recopy them all
from your source tree so they match the version of FS you are on.


Did you try the exact test example?
I can test it on my end tomorrow if you are still stuck.



On Mon, Jan 24, 2011 at 5:55 PM, Madovsky <infos at madovsky.org> wrote:
> I compiled ESL from the last source tree of FS I have (git from about 5 days
> ago)
> and followed the instructions on wiki ESL Perl
> ESL stuff are in
>
> /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/ESL
>
>
>
> ----- Original Message -----
> From: "Anthony Minessale" <anthony.minessale at gmail.com>
> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
> Sent: Monday, January 24, 2011 6:32 PM
> Subject: Re: [Freeswitch-users] IVRD
>
>
>> did you maybe update FS and not update all the ESL stuff?
>> Do you have it in a nostandard location?
>>
>>
>> On Mon, Jan 24, 2011 at 5:26 PM, Madovsky <infos at madovsky.org> wrote:
>>> Apparently the script stalls at
>>>
>>> ## Create the connection object which is basically an IVR
>>> my $con = new ESL::IVR;
>>>
>>> I'm looking into IVR.pm to know wha'ts happening
>>>
>>> ----- Original Message -----
>>> From: "Anthony Minessale" <anthony.minessale at gmail.com>
>>> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
>>> Sent: Monday, January 24, 2011 3:30 PM
>>> Subject: Re: [Freeswitch-users] IVRD
>>>
>>>
>>> did you run the fs_ivrd from a shell and look for output in stderr?
>>> it has to be related to the script executing failing etc.
>>>
>>>
>>> On Mon, Jan 24, 2011 at 11:57 AM, Madovsky <infos at madovsky.org> wrote:
>>>> Sorry I sent this email by mistake without to finish it.
>>>> so in my dialplan I have :
>>>> <extension name="gluglu">
>>>> <condition field="destination_number"
>>>> expression="^999$">
>>>> <action application="set"
>>>> data="ivr_path=/usr/local/freeswitch/scripts/perl/ivrd-hello_world.pl"/>
>>>> <action application="socket" data="127.0.0.1:9090
>>>> full"/>
>>>> <action application="answer"/>
>>>> <action application="voicemail" data="default
>>>> ${domain_name} ${dialed_extension}"/>
>>>> <condition>
>>>> </extension>
>>>>
>>>> and when I call this extension in log level 7 I can see :
>>>>
>>>> Dialplan: sofia/internal/9999999999999 at default Action
>>>> set(ivr_path=/usr/local/freeswitch/scripts/perl/ivrd-hello_world.pl)
>>>> Dialplan: sofia/internal/9999999999999 at default Action
>>>> socket(127.0.0.1:9090
>>>> full)
>>>> Starting ivrd-hello_world.pl...
>>>>
>>>> and no ivrd-hello_world.pl code is executed in the dialplan unless the
>>>> print
>>>> "Starting ivrd-hello_world.pl";
>>>>
>>>> the same if I replace fs_ivrd with server2.pl for example
>>>>
>>>> Thanks
>>>>
>>>>
>>>> ----- Original Message -----
>>>> From: "Madovsky" <infos at madovsky.org>
>>>> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
>>>> Sent: Monday, January 24, 2011 12:48 PM
>>>> Subject: Re: [Freeswitch-users] IVRD
>>>>
>>>>
>>>>> Concerning the use of fs_ivrd:
>>>>>
>>>>> path is ok
>>>>> permission is root 755
>>>>> perl -c gives ../scripts/perl/ivrd-hello_world.pl syntax OK
>>>>>
>>>>> in dialplan I have :
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ----- Original Message -----
>>>>> From: "Anthony Minessale" <anthony.minessale at gmail.com>
>>>>> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
>>>>> Sent: Monday, January 24, 2011 11:20 AM
>>>>> Subject: Re: [Freeswitch-users] IVRD
>>>>>
>>>>>
>>>>> check for proper path and execute permissions on the file and perl -c
>>>>> to make sure it compiles.
>>>>>
>>>>>
>>>>> On Mon, Jan 24, 2011 at 12:13 AM, Madovsky <infos at madovsky.org> wrote:
>>>>>> I tried to use IVRD from wiki example
>>>>>>
>>>>>> http://wiki.freeswitch.org/wiki/Ivrd
>>>>>>
>>>>>> and server2.pl in ESL directory
>>>>>> copy and paste in my dialplan ans settings
>>>>>> so the daemon is running well, but if I attempt
>>>>>> to call nothing happens unless hangup.
>>>>>> on the log I can see only
>>>>>>
>>>>>> EXECUTE sofia/internal/9999999999999 at default socket(127.0.0.1:8084
>>>>>> full)
>>>>>>
>>>>>> I tried the tests of troubleshooting without error
>>>>>> I don't understand why the events are not received in the perl script
>>>>>> _______________________________________________
>>>>>> FreeSWITCH-users mailing list
>>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>>> http://www.freeswitch.org
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Anthony Minessale II
>>>>>
>>>>> FreeSWITCH http://www.freeswitch.org/
>>>>> ClueCon http://www.cluecon.com/
>>>>> Twitter: http://twitter.com/FreeSWITCH_wire
>>>>>
>>>>> AIM: anthm
>>>>> MSN:anthony_minessale at hotmail.com
>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>>>> IRC: irc.freenode.net #freeswitch
>>>>>
>>>>> FreeSWITCH Developer Conference
>>>>> sip:888 at conference.freeswitch.org
>>>>> googletalk:conf+888 at conference.freeswitch.org
>>>>> pstn:+19193869900
>>>>>
>>>>> _______________________________________________
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>
>>>>
>>>> _______________________________________________
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>>
>>> --
>>> Anthony Minessale II
>>>
>>> FreeSWITCH http://www.freeswitch.org/
>>> ClueCon http://www.cluecon.com/
>>> Twitter: http://twitter.com/FreeSWITCH_wire
>>>
>>> AIM: anthm
>>> MSN:anthony_minessale at hotmail.com
>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>> IRC: irc.freenode.net #freeswitch
>>>
>>> FreeSWITCH Developer Conference
>>> sip:888 at conference.freeswitch.org
>>> googletalk:conf+888 at conference.freeswitch.org
>>> pstn:+19193869900
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list