This worked for me...
<extension name="simple socket test">
<condition field="destination_number" expression="^(10002)$">
<action application="socket" data="127.0.0.1:8084 full async"/>
</condition>
</extension>
Then I used nc (netcat) per the wiki (http://wiki.freeswitch.org/wiki/Event_Socket_Outbound#Using_Netcat):
nc -v -l 127.0.0.1 8084
Then I called 10002 from a phone and got connected:
Connection from 127.0.0.1 port 8084 [tcp/*] accepted
Then:
connect\n\n
(system spits out lots of info)
Then:
sendmsg\n
call-command: execute\n
execute-app-name: transfer\n
execute-app-arg: 3000\n\n
Blammo! A call in conf:
reeswitch@internal>conference list
Conference 3000-10.15.0.91 (1 member rate: 8000)
2;sofia/internal/1001@10.15.0.91;3d6c16d8-73bc-4548-9df1-56cb6a63e6d0;1001;1001;hear|speak|floor;0;0;300
freeswitch@internal>
You can transfer to an existing conference or a new one or whatever you want...
-MC
Hi,I'm using an Outbound ESL connection. In this scenario, how can I send a call into a conference room?Thanks,--Samuel Macedo
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org