try latest trunk, i think i can fix you issue by allowing sendmsg to work on outside uuid even on myevents mode.<br><br><br><div class="gmail_quote">On Sun, Oct 26, 2008 at 3:39 PM, Dennis <span dir="ltr">&lt;<a href="mailto:odermann@googlemail.com">odermann@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I tried &amp;park several times and it does not work for me. The problem<br>
must be on my side and I will test it tomorrow morning again.<br>
<br>
I know that I get back the uuid of the originated call and the<br>
targeted phone is ringing, although it is not shown anywhere, that it<br>
is ringing somewhere.<br>
I get &quot;+OK uuid&quot;. Then I remove the &quot;+OK &quot; and then try to work with it.<br>
<br>
The problem is the same as always: playback does not with uuid -<br>
neither in one nor in the other direction. It simply does not matter,<br>
if I send sendmsg with or without the uuid - the uuid doesn&#39;t seem to<br>
matter.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
2008/10/26 Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;:<br>
&gt; one suggestion i was trying to make was.<br>
&gt; instead of originating the next call to 123 to put it in it&#39;s own script.<br>
&gt; try replacing 123 with &amp;park()<br>
&gt;<br>
&gt; {origination_caller_id_number=1234567,inbound_uuid=&quot;.$event[&#39;Unique-ID&#39;].&quot;}sofia/internal/1001@...<br>
&gt; &amp;park()<br>
&gt;<br>
&gt; This will put the new call into park where it will be waiting happily for<br>
&gt; commands you can send from the original script<br>
&gt; so you would not need 2, the reply from that originate will give you the<br>
&gt; uuid of the new call if it&#39;s successful and you can<br>
&gt; then send it messages just like the other one.<br>
&gt;<br>
&gt; you can have a one to many relationship with event socket to channels it can<br>
&gt; control with 1 socket.<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Oct 26, 2008 at 1:37 PM, Dennis &lt;<a href="mailto:odermann@googlemail.com">odermann@googlemail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; This is what I have in my &quot;/dialplan/default.xml&quot;:<br>
&gt;&gt;<br>
&gt;&gt; &nbsp; &lt;extension name=&quot;test&quot;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;condition field=&quot;destination_number&quot; expression=&quot;^123$&quot;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot;<br>
&gt;&gt; data=&quot;hangup_after_bridge=false&quot;/&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot;<br>
&gt;&gt; data=&quot;enable_heartbeat_events=10&quot;/&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;socket&quot; data=&quot;<a href="http://192.168.1.5:8022" target="_blank">192.168.1.5:8022</a><br>
&gt;&gt; async full&quot;/&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp;&lt;/condition&gt;<br>
&gt;&gt; &nbsp; &nbsp;&lt;/extension&gt;<br>
&gt;&gt;<br>
&gt;&gt; At the &quot;<a href="http://192.168.1.5:8022" target="_blank">192.168.1.5:8022</a>&quot; the PHP script is listening. The scripts<br>
&gt;&gt; forks every new call over the socket.<br>
&gt;&gt; So if I have one caller and then call the command &quot;api originate<br>
&gt;&gt;<br>
&gt;&gt; {origination_caller_id_number=1234567,inbound_uuid=&quot;.$event[&#39;Unique-ID&#39;].&quot;}sofia/internal/1001@...<br>
&gt;&gt; 123 &quot; a new PHP process is startet.<br>
&gt;&gt; But this should be no problem, if it would be possible to control the<br>
&gt;&gt; inbound call in the first process from the outbound call in the second<br>
&gt;&gt; process (when using event_socket outbound). &quot;api uuid_bridge&quot; works<br>
&gt;&gt; for example very good, if i call it from the outbound call process.<br>
&gt;&gt; But &quot;api uuid_playfile&quot; does not exist and &quot;sendmsg playfile<br>
&gt;&gt; &lt;uuid_of_the_inbound_call&gt; /path/file.wav&quot; does not work, because it<br>
&gt;&gt; only seems to be available when using mod_event_socket in inbound<br>
&gt;&gt; mode. For me it is not only &quot;playfile&quot; which I am missing, it is also<br>
&gt;&gt; &quot;hangup&quot; and other commands, which seem to work in mod_socket_event in<br>
&gt;&gt; inbound mode.<br>
&gt;&gt;<br>
&gt;&gt; You said, you wanted to lift these restrictions, but they do not work<br>
&gt;&gt; for me (at least I do not know how to use it). Are there any settings<br>
&gt;&gt; I have to configure to make it work the way I need it?<br>
&gt;&gt;<br>
&gt;&gt; Be sure I will be on IRC tomorrow. Perhaps this helps to avoid<br>
&gt;&gt; missunderstandings ;-)<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt; Dennis<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2008/10/26 Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;:<br>
&gt;&gt; &gt; question.... what args do you pass to the socket app when you call it in<br>
&gt;&gt; &gt; your dialplan.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; are you using the &quot;full and async&quot; keywords? the full one is necessary<br>
&gt;&gt; &gt; to<br>
&gt;&gt; &gt; have the power to control<br>
&gt;&gt; &gt; other calls. &nbsp;Could this be your prob?<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Freeswitch-users mailing list<br>
&gt;&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Anthony Minessale II<br>
&gt;<br>
&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;<br>
&gt; AIM: anthm<br>
&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt; pstn:213-799-1400<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>