<div>Thanks MC , good info, it works.</div>
<div> </div>
<div>Regards</div>
<div>Sam<br><br></div>
<div class="gmail_quote">On Sat, Aug 6, 2011 at 11:45 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Sam, 
<div><br></div>
<div>My guess is that this line is causing you trouble:</div>
<div class="im">
<div><br></div>
<div>&lt;action application=&quot;set&quot; data=&quot;conf_count=${conference ${conference_name} list count}&quot;/&gt;</div>
<div><br></div></div>
<div>From what I see in your logs and dialplan I have to assume that ${conference_name} is not populated with the name of your conference so your API call is not working. What&#39;s actually happening is that this API is getting called:</div>

<div><br></div>
<div><font face="&#39;courier new&#39;, monospace">conference list count</font></div>
<div><br></div>
<div>instead of</div>
<div><br></div>
<div><font face="&#39;courier new&#39;, monospace">conference 1000146 list count</font></div>
<div><br></div>
<div>Try them both at the fs_cli to see the difference in output. ;) (Hint: look at the log line that contains &quot;set(conf_count=&quot; and you&#39;ll see it&#39;s getting populated with all sorts of stuff instead of just the conference count)</div>

<div><br></div>
<div>If you know beforehand what the name of the conference is then just plug it in:</div>
<div><br></div>
<div>&lt;action application=&quot;set&quot; data=&quot;conf_count=${conference 1000146 list count}&quot;/&gt;</div>
<div><br></div>
<div>FYI, the ${conference_name} variable won&#39;t be populated until the current channel is already a member of the conference, so it doesn&#39;t help you at this point in the dialplan. Fortunately, though, since you are transferring the caller into a conference room you already know what conference he&#39;s going into so just use that information instead of the conference_name chan var.</div>

<div><br></div>
<div>-MC<br><br>
<div class="gmail_quote">
<div>
<div></div>
<div class="h5">On Sat, Aug 6, 2011 at 2:36 AM, Sam <span dir="ltr">&lt;<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>&gt;</span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5"><b>I have a dial plan ,</b><br><br>&lt;extension name=&quot;dynamic_conferences_guest&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^1234&quot;&gt;<br>    &lt;action application=&quot;answer&quot;/&gt;<br>
    &lt;action application=&quot;info&quot;/&gt;<br>        &lt;action application=&quot;set&quot; data=&quot;conf_count=${conference ${conference_name} list count}&quot;/&gt;<br>        &lt;action application=&quot;log&quot; data=&quot;INFO ${conf_count}&quot;/&gt;<br>
        &lt;action application=&quot;say&quot; data=&quot;en number pronounced ${conf_count}&quot;/&gt;<br>    &lt;action application=&quot;conference&quot; data=&quot;1000146@meeting&quot;/&gt;<br>      &lt;/condition&gt;<br>
    &lt;/extension&gt;<br><br><br><b>and the output of it as below:-</b><br><br>2011-08-06 14:32:53.205895 [DEBUG] sofia.c:5084 Channel sofia/internal/<a href="mailto:61323123999@192.153.53.158" target="_blank">61323123999@192.153.53.158</a> entering state [ready][200]<br>
EXECUTE sofia/internal/<a href="mailto:61323123999@192.153.53.158" target="_blank">61323123999@192.153.53.158</a> set(conf_count=Conference 1000146 (1 member rate: 16000)<br>14;sofia/internal/<a href="mailto:883510001282001@sip.ntfone.in" target="_blank">883510001282001@sip.ntfone.in</a>;97f5f386-c00a-11e0-9517-738827116f37;883510001282001;883510001282001;hear|speak|floor;0;0;0;300<br>
)<br>2011-08-06 14:32:53.205895 [DEBUG] mod_dptools.c:1063 sofia/internal/<a href="mailto:61323123999@192.153.53.158" target="_blank">61323123999@192.153.53.158</a> SET [conf_count]=[Conference 1000146 (1 member rate: 16000)<br>
14;sofia/internal/<a href="mailto:883510001282001@sip.nfone.in" target="_blank">883510001282001@sip.nfone.in</a>;97f5f386-c00a-11e0-9517-738827116f37;883510001282001;883510001282001;hear|speak|floor;0;0;0;300<br>]<br>EXECUTE sofia/internal/<a href="mailto:61323123999@192.153.53.158" target="_blank">61323123999@192.153.53.158</a> log(INFO Conference 1000146 (1 member rate: 16000)<br>
14;sofia/internal/<a href="mailto:883510001282001@sip.ntfone.in" target="_blank">883510001282001@sip.ntfone.in</a>;97f5f386-c00a-11e0-9517-738827116f37;883510001282001;883510001282001;hear|speak|floor;0;0;0;300<br>)<br>2011-08-06 14:32:53.205895 [INFO] mod_dptools.c:1202 Conference 1000146 (1 member rate: 16000)<br>
14;sofia/internal/<a href="mailto:883510001282001@sip.nfone.in" target="_blank">883510001282001@sip.nfone.in</a>;97f5f386-c00a-11e0-9517-738827116f37;883510001282001;883510001282001;hear|speak|floor;0;0;0;300<br><br>EXECUTE sofia/internal/<a href="mailto:61323123999@192.153.53.158" target="_blank">61323123999@192.153.53.158</a> say(en number pronounced Conference 1000146 (1 member rate: 16000)<br>
14;sofia/internal/<a href="mailto:883510001282001@sip.nfone.in" target="_blank">883510001282001@sip.nfone.in</a>;97f5f386-c00a-11e0-9517-738827116f37;883510001282001;883510001282001;hear|speak|floor;0;0;0;300<br>)<br>2011-08-06 14:32:53.215905 [ERR] mod_say_en.c:130 Parse Error!<br>
<br>EXECUTE sofia/internal/<a href="mailto:61323123999@192.153.53.158" target="_blank">61323123999@192.153.53.158</a> conference(1000146@meeting)<br><br><br><br><br><b>What should be my dialplan to get the exact conf_count ?</b><br>
<br><br>Thanks in advance<br><font color="#888888">Sam<br></font><br></div></div>_______________________________________________<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" target="_blank">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>
<br></blockquote></div><br></div><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>
<br></blockquote></div><br>