It works only with groups defined in XML directory and not with groups in sqlite DB.<br>Only one member of the group is answered; the others are hanged up with cause: LOSE_RACE.<br><br>-Fabio<br><br><br><div class="gmail_quote">
2011/7/20 Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I think you want to be dialing using the group/ prefix:<br>

<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge#group" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge#group</a><br>
<br>
Try: api expand conference ds_totale dial group/01@${domain_name}<br>
<br>
All dialstrings start with chantype/ which identifies which endpoint<br>
module to use to dial. CHAN_NOT_IMPLEMENTED is the error given if that<br>
part was not recognised.<br>
<br>
Since it looks like you might be trying to connect using ESL directly,<br>
look in libs/esl in your git checkout. You&#39;ll find esl libraries there<br>
in a range of languages that&#39;ll handle the protocol for you.<br>
<br>
-Steve<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
On 20 July 2011 11:55, Fabio Bigliardi &lt;<a href="mailto:fabio.bigliardi@gmail.com">fabio.bigliardi@gmail.com</a>&gt; wrote:<br>
&gt; Hi Michael,<br>
&gt;<br>
&gt; I&#39;ve tried the command:<br>
&gt;<br>
&gt; api expand conference ds_totale dial group_call(01@${domain_name})<br>
&gt;<br>
&gt; But the output is:<br>
&gt;<br>
&gt; Content-Type: api/response<br>
&gt; Content-Length: 47<br>
&gt;<br>
&gt; Call Requested: result: [CHAN_NOT_IMPLEMENTED]<br>
&gt;<br>
&gt; Freeswitch log:<br>
&gt; 2011-07-20 12:28:49.304970 [ERR] switch_core_session.c:413 Could not locate<br>
&gt; channel type group_call(<a href="mailto:01@192.168.25.61">01@192.168.25.61</a>)<br>
&gt; 2011-07-20 12:28:49.304970 [NOTICE] switch_ivr_originate.c:2453 Cannot<br>
&gt; create outgoing channel of type [group_call(<a href="mailto:01@192.168.25.61">01@192.168.25.61</a>)] cause:<br>
&gt; [CHAN_NOT_IMPLEMENTED]<br>
&gt; 2011-07-20 12:28:49.304970 [DEBUG] switch_ivr_originate.c:3318 Originate<br>
&gt; Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED]<br>
&gt; 2011-07-20 12:28:49.304970 [ERR] mod_conference.c:5169 Cannot create<br>
&gt; outgoing channel, cause: CHAN_NOT_IMPLEMENTED<br>
&gt;<br>
&gt; I think that this is related to the fact that the group is created in sqlite<br>
&gt; DB and not in the xml dialplan. So I&#39;ve tried:<br>
&gt;<br>
&gt; api expand conference ds_totale dial group call:&#39;01@${domain_name}&#39;<br>
&gt;<br>
&gt; But the output is:<br>
&gt;<br>
&gt; Content-Type: api/response<br>
&gt; Content-Length: 47<br>
&gt;<br>
&gt; Call Requested: result: [NO_ROUTE_DESTINATION]<br>
&gt;<br>
&gt; Freeswitch log:<br>
&gt; 2011-07-20 12:36:49.964965 [DEBUG] switch_ivr_originate.c:1879 Parsing<br>
&gt; global variables<br>
&gt; 2011-07-20 12:36:49.964965 [NOTICE] switch_ivr_originate.c:2453 Cannot<br>
&gt; create outgoing channel of type [error] cause: [NO_ROUTE_DESTINATION]<br>
&gt; 2011-07-20 12:36:49.964965 [DEBUG] switch_ivr_originate.c:3318 Originate<br>
&gt; Resulted in Error Cause: 3 [NO_ROUTE_DESTINATION]<br>
&gt; 2011-07-20 12:36:49.964965 [NOTICE] switch_ivr_originate.c:2453 Cannot<br>
&gt; create outgoing channel of type [group] cause: [NO_ROUTE_DESTINATION]<br>
&gt; 2011-07-20 12:36:49.964965 [DEBUG] switch_ivr_originate.c:3318 Originate<br>
&gt; Resulted in Error Cause: 3 [NO_ROUTE_DESTINATION]<br>
&gt; 2011-07-20 12:36:49.964965 [ERR] mod_conference.c:5169 Cannot create<br>
&gt; outgoing channel, cause: NO_ROUTE_DESTINATION<br>
&gt;<br>
&gt; It seems a problem in parsing; in fact the command:<br>
&gt;<br>
&gt; api expand group call:&#39;01@${domain_name}&#39;<br>
&gt;<br>
&gt; gives the following output:<br>
&gt;<br>
&gt; Content-Type: api/response<br>
&gt; Content-Length: 85<br>
&gt;<br>
&gt; sofia/internal/<a href="http://sip:1001@192.168.25.61:5070" target="_blank">sip:1001@192.168.25.61:5070</a>,sofia/internal/<a href="http://sip:1016@192.168.25.31:5060" target="_blank">sip:1016@192.168.25.31:5060</a><br>

&gt;<br>
&gt; So I&#39;ve tried:<br>
&gt;<br>
&gt; api expand conference ds_totale dial<br>
&gt; sofia/internal/<a href="http://sip:1001@192.168.25.61:5070" target="_blank">sip:1001@192.168.25.61:5070</a>,sofia/internal/<a href="http://sip:1016@192.168.25.31:5060" target="_blank">sip:1016@192.168.25.31:5060</a><br>

&gt;<br>
&gt; The output is:<br>
&gt; Content-Type: api/response<br>
&gt; Content-Length: 34<br>
&gt;<br>
&gt; Call Requested: result: [SUCCESS]<br>
&gt;<br>
&gt; But only 1016 is added to the conference while 1001 is hanged up with cause:<br>
&gt; LOSE_RACE.<br>
&gt;<br>
&gt; So the questions are:<br>
&gt;<br>
&gt; 1. What is wrong with the syntax of the following command?<br>
&gt;<br>
&gt;  api expand conference ds_totale dial group call:&#39;01@${domain_name}&#39;<br>
&gt;<br>
&gt; 2. How can it be avoided that parties which &quot;loose the race&quot; are hanged up?<br>
&gt;<br>
&gt;<br>
&gt; Thank you very much.<br>
&gt;<br>
&gt; F. Bigliardi<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2011/7/19 Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Jul 19, 2011 at 5:47 AM, Fabio Bigliardi<br>
&gt;&gt; &lt;<a href="mailto:fabio.bigliardi@gmail.com">fabio.bigliardi@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi all,<br>
&gt;&gt;&gt; I would like to be able to invite a  group to a conference through an API<br>
&gt;&gt;&gt; command.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In xml dialplan this can be achieved through the following action:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &lt;action application=&quot;conference_set_auto_outcall&quot;<br>
&gt;&gt;&gt; data=&quot;${group_call(my_group}&quot;/&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In the API, I suppose the right command is &quot;dial&quot;:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; api conference my_conf dial &lt;group dial string&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; But how can I specify group dial string?<br>
&gt;&gt;<br>
&gt;&gt; Try this:<br>
&gt;&gt; expand api conference my_conf dial group_call(my_group)<br>
&gt;&gt; -MC<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thank you for your support.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Best regards,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Fabio Bigliardi<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Join us at ClueCon 2011, Aug 9-11, Chicago<br>
&gt;&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&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;&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;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Join us at ClueCon 2011, Aug 9-11, Chicago<br>
&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Join us at ClueCon 2011, Aug 9-11, Chicago<br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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>