[Freeswitch-users] Creating a dialer with Event socket

Sayyed Mohammad Emami Razavi emamirazavi at gmail.com
Sat Mar 2 19:07:55 MSK 2013


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130302/2486423e/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list