Sam,<div><br></div><div>My guess is that this line is causing you trouble:</div><div><br></div><div><action application="set" data="conf_count=${conference ${conference_name} list count}"/></div><div>
<br></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's actually happening is that this API is getting called:</div>
<div><br></div><div><font class="Apple-style-span" face="'courier new', monospace">conference list count</font></div><div><br></div><div>instead of</div><div><br></div><div><font class="Apple-style-span" face="'courier new', 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 "set(conf_count=" and you'll see it'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><action application="set" data="conf_count=${conference 1000146 list count}"/></div>
<div><br></div><div>FYI, the ${conference_name} variable won't be populated until the current channel is already a member of the conference, so it doesn'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'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">On Sat, Aug 6, 2011 at 2:36 AM, Sam <span dir="ltr"><<a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<b>I have a dial plan ,</b><br><br><extension name="dynamic_conferences_guest"><br> <condition field="destination_number" expression="^1234"><br> <action application="answer"/><br>
<action application="info"/><br> <action application="set" data="conf_count=${conference ${conference_name} list count}"/><br> <action application="log" data="INFO ${conf_count}"/><br>
<action application="say" data="en number pronounced ${conf_count}"/><br> <action application="conference" data="1000146@meeting"/><br> </condition><br>
</extension><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>_______________________________________________<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></div>