<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:\5B8B\4F53;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:\5B8B\4F53;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@\5B8B\4F53";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:21.0pt;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'> I have used the function of conference set auto outcall in freeswitch 1.0.6, it is very good,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>several days ago, I installed a new freeswitch with git, the version is 1.0.7, I wrote a very simple <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>dialplan to test the conference auto outcall function, and the problem happened:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:0cm'><span lang=EN-US style='font-size:12.0pt'>This is my dialplan, I have tested it in my freeswitch 1.0.6 successfully:<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:0cm'><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'> <extension name="Demonstrate conference_set_auto_outcall"><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'> <condition field="destination_number" expression="^(12345)$"><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'> <action application="answer"/><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'> <action application="set" data="conference_auto_outcall_timeout=5"/><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'> <action application="set" data="conference_auto_outcall_flags=none"/><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'> <action application="set" data="conference_auto_outcall_caller_id_name=$${ caller_id_name}"/><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'> <action application="set" data="conference_auto_outcall_caller_id_number=$${ caller_id_number}"/><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'> <action application="set" data="conference_auto_outcall_profile=default"/><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'> <action application="conference_set_auto_outcall" data="[call_timeout=15]user/1001@$${domain}"/><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'> <action application="conference_set_auto_outcall" data="[call_timeout=15]user/1002@$${domain}"/><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'> <action application="conference" data="$1@default"/><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'> </condition><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:0cm'><span lang=EN-US style='font-size:12.0pt'> </extension><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:0cm'><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:0cm'><span lang=EN-US style='font-size:12.0pt'>Problem 1: When I use a softphone to dial number 12345, in my old freeswitch I can hear the moh music when the phone 1001 and 1002 is ring,<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:0cm'><span lang=EN-US style='font-size:12.0pt'>But in freeswitch 1.0.7 I can’t hear anything, and I found the debug informations in freeswitch cli:<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:0cm'><span lang=EN-US style='font-size:12.0pt'> <o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] switch_core_session.c:1156 Send signal sofia/internal/sip:1001@192.168.2.226:5060 [BREAK]<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] switch_core_state_machine.c:369 (sofia/internal/sip:1001@192.168.2.226:5060) State INIT going to sleep<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] switch_core_state_machine.c:330 (sofia/internal/sip:1001@192.168.2.226:5060) Running State Change CS_ROUTING<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] switch_channel.c:1828 (sofia/internal/sip:1001@192.168.2.226:5060) Callstate Change DOWN -> RINGING<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] switch_core_session.c:857 Send signal sofia/internal/sip:1001@192.168.2.226:5060 [BREAK]<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] sofia.c:5128 Channel sofia/internal/sip:1001@192.168.2.226:5060 entering state [calling][0]<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] switch_core_state_machine.c:378 (sofia/internal/sip:1001@192.168.2.226:5060) State ROUTING<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] mod_sofia.c:148 sofia/internal/sip:1001@192.168.2.226:5060 SOFIA ROUTING<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] switch_ivr_originate.c:66 (sofia/internal/sip:1001@192.168.2.226:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] switch_core_session.c:1156 Send signal sofia/internal/sip:1001@192.168.2.226:5060 [BREAK]<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] switch_core_state_machine.c:378 (sofia/internal/sip:1001@192.168.2.226:5060) State ROUTING going to sleep<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] switch_core_state_machine.c:330 (sofia/internal/sip:1001@192.168.2.226:5060) Running State Change CS_CONSUME_MEDIA<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] switch_core_state_machine.c:397 (sofia/internal/sip:1001@192.168.2.226:5060) State CONSUME_MEDIA<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.520108 [DEBUG] switch_core_state_machine.c:397 (sofia/internal/sip:1001@192.168.2.226:5060) State CONSUME_MEDIA going to sleep<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.1pt'><b><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.540080 [DEBUG] mod_local_stream.c:421 Opening Stream [moh/8000] 8000hz<o:p></o:p></span></b></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.540080 [DEBUG] switch_core_session.c:857 Send signal <a href="mailto:sofia/internal/1000@192.168.2.242">sofia/internal/1000@192.168.2.242</a> [BREAK]<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.540080 [DEBUG] switch_core_session.c:857 Send signal <a href="mailto:sofia/internal/1000@192.168.2.242">sofia/internal/1000@192.168.2.242</a> [BREAK]<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.540080 [DEBUG] switch_core_session.c:857 Send signal <a href="mailto:sofia/internal/1000@192.168.2.242">sofia/internal/1000@192.168.2.242</a> [BREAK]<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:17.95pt;mso-para-margin-left:1.71gd;text-indent:24.0pt'><span lang=EN-US style='font-size:12.0pt'>2011-08-31 18:59:14.559978 [DEBUG] sofia.c:5128 Channel <a href="mailto:sofia/internal/1000@192.168.2.242">sofia/internal/1000@192.168.2.242</a> entering state [ready][200]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'> That mean the freeswitch is sending the moh music to the caller 1000, is that right? But I can’t hear anything.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:72.0pt;text-indent:-72.0pt'><span lang=EN-US style='font-size:12.0pt'> Problem 2: when just one phone pickup, like phone 1001, and phone 1002 don’t, (I use phone 1000 to call number 12345) I can’t hear anything from phone 1001 when 1002 is ringing except phone 1002 pick up or when the phone 1002 is timeout to ring, it’s very stranger!!! I tested this situation in freeswitch 1.0.6, when just only person pickup the phone the conference will work, 1000 will hear the phone 1001’s voice, don’t need the 1002 to pickup or timeout.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>By the way: I have tested this with the newest version: FreeSWITCH Version 1.0.head (git-6a5f6e5 2011-08-30 15-00-07 -0500)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>The problem is still exist.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>Thank you for advising me how to solve this problem.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>Regards!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt'>Dennis<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>