<div dir="ltr">I can tell from the cli that the country_code variable is empty:<div>







<p class=""><span class="">Dialplan: loopback/<span style="font-size:12.8px">293234</span>-b Action set(dialed_number=${country_code}<span style="font-size:12.8px"> 293234</span>) INLINE</span></p>
<p class=""><span class="">EXECUTE loopback/<span style="font-size:12.8px">293234</span>-b set(dialed_number=<span style="font-size:12.8px"> 293234</span>)</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">So my subscriber variables doesn&#39;t get used when using mod_conference...</span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 13, 2016 at 1:54 PM, Michael Nielsen <span dir="ltr">&lt;<a href="mailto:mic.niel84@gmail.com" target="_blank">mic.niel84@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Bote,<div><br></div><div>Thank you so much for all your detailed info. That helped a lot and solved almost everything.</div><div><br></div><div>Final question... When I use the <span>&lt;action</span><span> application=&quot;conference_set_auto_outcall&quot; data=&quot;loopback/293234&quot;/&gt;, doesn&#39;t loopback means that it&#39;s try and dial 293234 from a matching dial plan already existing within my FreeSWITCH?</span></div><div><span><br></span></div><div><span>The case is, that I&#39;ve got a dial plan recognising </span>expression=&quot;^(\d{3,20})$&quot; etc. </div><div>And if a number doesn&#39;t contain a valid country code I&#39;ll append it automatically according to the subscriber who initiate the calls.</div><div>So my subscriber for example has a variable set country_code = +44. When I dial something it appends +44 if there is no country code.</div><div><br></div><div>This works if I call something else than my conference dial plan, but when calling the conference dial plan and using loopback it doesn&#39;t work.</div><div><br></div><div>Does it make sense and can you help?</div>















</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jan 12, 2016 at 6:44 PM, Bote Man <span dir="ltr">&lt;<a href="mailto:bote_radio@botecomm.com" target="_blank">bote_radio@botecomm.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Michael, I make extensive use of the FreeSWITCH outbound conference calling feature. I recently figured that I got the results that you (and I) desire with these 2 lines in the dialplan of the extension that initiates the outbound conference call:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&lt;action application=&quot;set&quot; data=&quot;conference_auto_outcall_caller_id_name=${caller_id_name}&quot;/&gt;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&lt;action application=&quot;set&quot; data=&quot;conference_auto_outcall_caller_id_number=${caller_id_number}&quot;/&gt;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">It’s not clear to me which of the many, many, many Caller*ID variables are the best to use overall, but these are the ones that send the originating extension number and name as FreeSWITCH knows them to the dialed conferees. I find that effective_caller_id_number is not always effective </span><span style="font-size:11.0pt;font-family:Wingdings;color:#1f497d">J</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Of course, you can set caller_id_* to effective_* or any other assignments as needed; experimentation yields a lot of knowledge here. Use the “log” application liberally in your conference dialplan extension to display as many variables as you need to determine which holds the desired values, that’s how I did it. A lot of them are empty, some are default, nothing is set in stone so change and set them the way you see fit.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Also, in answer to your previous query about the conferees still ringing after the originator hangs up, add the “endconf” flag to your conference kick-off string:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&lt;action application=&quot;conference&quot; data=&quot;myconf@default++flags{endconf|moderator|nomoh}&quot;/&gt;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">myconf – the “name” of the conference as FreeSWITCH knows it, can be pretty much anything readable, numbers, letters, literal value, variable replacement, etc.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">default – the conference profile to use as configured in autoload_configs/conference.conf.xml<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">moderator flag – pulls in a different set of controls as specified in the config file mentioned above.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hope this helps.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Bote<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Michael Nielsen<br><b>Sent:</b> Tuesday, 12 January, 2016 04:27<br><b>Subject:</b> Re: [Freeswitch-users] Dial multiple users for &quot;conference&quot; call<u></u><u></u></span></p></div></div><div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi Larry,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">As you can see from my example, I am trying to set that exact variable:<u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">&lt;action application=&quot;set&quot; data=&quot;conference_auto_outcall_caller_id_number=${effective_caller_id_number}&quot;/&gt;</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">But I want to set it from the effective_caller_id_number, so I can get the caller ID from the person who initiated the conference call.</span><u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Mon, Jan 11, 2016 at 7:50 PM, Larry Morley &lt;<a href="mailto:lmorley@neny.cslimits.net" target="_blank">lmorley@neny.cslimits.net</a>&gt; wrote:<u></u><u></u></p><p>Michael,<u></u><u></u></p><p>Go back and have another look at the &quot;mad boss&quot; example. The variable you likely want to set in this instance is &quot;conference_auto_outcall_caller_id_number&quot;.<u></u><u></u></p><p>Basically, what Mike J was telling you is that not all variables are salient; are set by FreeSwitch; have any meaning whatsoever; in the context of certain parts of a given FreeSwitch configuration.<u></u><u></u></p><p>From the &quot;mad boss&quot; example:<u></u><u></u></p><p>&lt;!--These params effect the outcalls made once you join--&gt;<u></u><u></u></p><p>        &lt;action application=&quot;set&quot; data=&quot;conference_auto_outcall_caller_id_name=Mad Boss&quot;/&gt;<u></u><u></u></p><p>        &lt;action application=&quot;set&quot; data=&quot;conference_auto_outcall_caller_id_number=0911&quot;/&gt;<u></u><u></u></p><p>Hope that helps, <br>Larry<u></u><u></u></p><div><div><div><p class="MsoNormal">On Jan 11, 2016 9:02 AM, &quot;Michael Nielsen&quot; &lt;<a href="mailto:mic.niel84@gmail.com" target="_blank">mic.niel84@gmail.com</a>&gt; wrote:<u></u><u></u></p><div><p class="MsoNormal"><a href="https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables</a><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Mon, Jan 11, 2016 at 3:00 PM, Michael Nielsen &lt;<a href="mailto:mic.niel84@gmail.com" target="_blank">mic.niel84@gmail.com</a>&gt; wrote:<u></u><u></u></p><div><p class="MsoNormal">In other dial plans I&#39;m able to use ${effective_caller_id_number} from my directory.<u></u><u></u></p><div><p class="MsoNormal">That means, if my subscriber 1001 are calling I can use 1001 as caller ID, so my called parties know who it is.<u></u><u></u></p></div></div><div><div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Mon, Jan 11, 2016 at 2:58 PM, Michael Jerris &lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt; wrote:<u></u><u></u></p><p class="MsoNormal"><br><br>On Monday, January 11, 2016, Michael Nielsen &lt;<a href="mailto:mic.niel84@gmail.com" target="_blank">mic.niel84@gmail.com</a>&gt; wrote:<u></u><u></u></p><div><p class="MsoNormal">Seems as if it has nothing to do with multiple parties speaking together, just simultaneously calling them.<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Back to mod_conferece and the madboss example. It seems to work, but not getting the variable from the caller:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal"><span style="font-size:9.5pt">1) If I call some numbers, and hang up before the 60 seconds timeout - the numbers keeps ringing for 60 seconds, even though I as initiator have hung up.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">2) &lt;action application=&quot;set&quot; data=&quot;conference_auto_outcall_caller_id_number=${effective_caller_id_number}&quot;/&gt; doesn&#39;t seems to be acknowledge, it shows Unknown number.<u></u><u></u></span></p></div></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:5.25pt">What do you think effective_caller_id_number is here?  this is not a variable that is automatically set  <span style="color:#1f497d"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><span class="">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></span></blockquote></div><br></div>
</blockquote></div><br></div>