[Freeswitch-users] Creating a dialer with Event socket
Guillermo Ruiz Camauer
grcamauer at gmail.com
Sat Mar 2 21:23:23 MSK 2013
You are making an asynchronous call (bgapi), how are you processing
the messages returned by FS?
You can look at ICTDialer for an example of what you are trying to do.
Guillermo
Sent from my iPhone
On 02/03/2013, at 13:11, Sayyed Mohammad Emami Razavi
<emamirazavi at gmail.com> wrote:
> Dialer means an FS that calls to the number and plays some sounds for him/her and returns back him/her responses(interactive Dialplans).
> I try to make a dialer with PHP but FS results me:
> 2013-03-02 22:51:59.882940 [NOTICE] switch_channel.c:968 New Channel sofia/sipinterface_1/223 [7482c392-836e-11e2-8fcd-cdbbeee93600]
> 2013-03-02 22:52:00.382972 [NOTICE] sofia.c:6381 Hangup sofia/sipinterface_1/223 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
> 2013-03-02 22:52:00.403240 [NOTICE] switch_core_session.c:1517 Session 35 (sofia/sipinterface_1/223) Ended
> 2013-03-02 22:52:00.403240 [NOTICE] switch_core_session.c:1521 Close Channel sofia/sipinterface_1/223 [CS_DESTROY]
>
> My php code is:
> $this->_fs = new ESLconnection('192.168.54.68', '8021', 'ClueCon');
> $eslEvent = $this->_fs->sendRecv('bgapi originate {origination_caller_id_name=Richard-Albuquerque,origination_caller_id_number=1001,ignore_early_media=true}sofia/gateway/trunk_2/223 228')
>
> What is the problem?
> Can i create a dialer with PHP and Event socket?
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list