<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=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",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
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Just enable verto debugging in verto.conf.xml in your configs… it’ll print it right to the screen<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Gary Foreman<br><b>Sent:</b> Tuesday, September 1, 2015 10:13 AM<br><b>To:</b> freeswitch-users@lists.freeswitch.org<br><b>Subject:</b> Re: [Freeswitch-users] Broken silence with webrtc<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Ok so the issue has been superseded by intermittent one-way / no audio. I'm getting it very intermittently (1 in every 30 calls or so) but I'm struggling to debug it as the traffic is encrypted and wireshark doesn't see it as rtp stream.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Where is the best place to start debugging verto? I was previously using sip.js without any audio issues so it seems to be verto specific. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><div><div><p class=MsoNormal>On Tue, Sep 1, 2015 at 12:04 PM, <<a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal>Send FreeSWITCH-users mailing list submissions to<br> <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a><br><br>You can reach the person managing the list at<br> <a href="mailto:freeswitch-users-owner@lists.freeswitch.org">freeswitch-users-owner@lists.freeswitch.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of FreeSWITCH-users digest..."<br><br>Today's Topics:<br><br> 1. Re: Broken silence with webrtc (Stanislav Sinyagin)<br><br><br>---------- Forwarded message ----------<br>From: Stanislav Sinyagin <<a href="mailto:ssinyagin@gmail.com">ssinyagin@gmail.com</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Date: Tue, 1 Sep 2015 13:03:25 +0200<br>Subject: Re: [Freeswitch-users] Broken silence with webrtc<o:p></o:p></p><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>is it running on a virtual machine?<o:p></o:p></p></div><p class=MsoNormal>I found a strange effect that I could only reproduce in a VM, and never on physical hardware:<br><a href="https://freeswitch.org/jira/browse/FS-7805" target="_blank">https://freeswitch.org/jira/browse/FS-7805</a><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>under certain load, an originate command triggers a continuous distortion in another, running and unrelated, channel.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>It seems to be triggered by insufficient CPU resource at the moment of the origination.<br><br><br><br><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Sep 1, 2015 at 12:49 PM, Gary Foreman <<a href="mailto:gaz.foreman@gmail.com" target="_blank">gaz.foreman@gmail.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal>I've found that it occurs after any bridge, its not specific to the originate command. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Would you require a wireshark trace or the output of the freeswitch console?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The scenario below reproduces the issue ...<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Test extension<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal><extension name="Inbound_Routing"><o:p></o:p></p></div><div><p class=MsoNormal> <condition field="destination_number" expression="^2003$"><o:p></o:p></p></div><div><p class=MsoNormal><action application="export" data="dialed_extension=$1"/><o:p></o:p></p></div><div><p class=MsoNormal><action application="export" data="transfer_ringback=$${uk-ring}"/><o:p></o:p></p></div><div><p class=MsoNormal><action application="set" data="RECORD_TITLE=Title goes here"/><o:p></o:p></p></div><div><p class=MsoNormal><action application="set" data="rtp_manual_rtp_bugs=SEND_LINEAR_TIMESTAMPS"/><o:p></o:p></p></div><div><p class=MsoNormal><action application="export" data="send_silence_when_idle=false"/><o:p></o:p></p></div><div><p class=MsoNormal><action application="export" data="bridge_generate_comfort_noise=false"/><o:p></o:p></p></div><div><p class=MsoNormal><action application="export" data="rtp_enable_vad_in=false"/><o:p></o:p></p></div><div><p class=MsoNormal><action application="export" data="rtp_enable_vad_out=false"/><o:p></o:p></p></div><div><p class=MsoNormal><action application="export" data="fire_talk_events=true"/><o:p></o:p></p></div><div><p class=MsoNormal><action application="export" data="fire_not_talk_events=true"/><o:p></o:p></p></div><div><p class=MsoNormal><action application="export" data="recording_id=${uuid}"/><o:p></o:p></p></div><div><p class=MsoNormal><action application="set" data="media_bug_answer_req=true"/><o:p></o:p></p></div><div><p class=MsoNormal><action application="answer" /><o:p></o:p></p></div><div><p class=MsoNormal><action application="playback" data="tone_stream://L=100;%(400,200,400,450);%(400,2000,400,450)"/><o:p></o:p></p></div><div><p class=MsoNormal> </condition><o:p></o:p></p></div><div><p class=MsoNormal></extension><o:p></o:p></p></div></div><div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I originate a call from a polycom handset using g722 to the extension above.<o:p></o:p></p></div><div><p class=MsoNormal>I originate a call using the verto client to the extension above.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I get the uuids of the channels using show channels and use uuid_bridge [uuid1] [uuid2] to merge the channels.<o:p></o:p></p></div><div><div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Sep 1, 2015 at 11:30 AM, <<a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal>Send FreeSWITCH-users mailing list submissions to<br> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a><br><br>You can reach the person managing the list at<br> <a href="mailto:freeswitch-users-owner@lists.freeswitch.org" target="_blank">freeswitch-users-owner@lists.freeswitch.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of FreeSWITCH-users digest..."<br><br>Today's Topics:<br><br> 1. How send in To header anonymous and in P-Asserted-Identity<br> caller-id-number (Alex Polischuk)<br> 2. Loop play while wait DTMF digit (Dmitry Mordovin)<br> 3. Broken silence with webrtc (Gary Foreman)<br> 4. Re: Broken silence with webrtc (Brian West)<br> 5. SIP profile not loading (Chris Young)<br> 6. Playing with conditions (Dmitry Mordovin)<br> 7. Re: Playing with conditions (Avi Marcus)<br><br><br>---------- Forwarded message ----------<br>From: Alex Polischuk <<a href="mailto:alxpol@gmail.com" target="_blank">alxpol@gmail.com</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Date: Mon, 31 Aug 2015 17:02:25 +0300<br>Subject: [Freeswitch-users] How send in To header anonymous and in P-Asserted-Identity caller-id-number<o:p></o:p></p><div><p class=MsoNormal>Hi all,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>How I can define different users and domains in To and <span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:#333333'>P-Asserted-Identity headers?</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:#333333'>Thanks,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Arial",sans-serif;color:#333333'>Alex</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><br><br>---------- Forwarded message ----------<br>From: Dmitry Mordovin <<a href="mailto:d.mordovin@dwide.com" target="_blank">d.mordovin@dwide.com</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Date: Mon, 31 Aug 2015 18:24:08 +0400<br>Subject: [Freeswitch-users] Loop play while wait DTMF digit<o:p></o:p></p><div><p class=MsoNormal>Hello<br><br>This example play conf-pin.wav and wait DTMF.<br><br><br><o:p></o:p></p><div style='mso-element:para-border-div;border:dashed #2F6FAB 1.0pt;padding:12.0pt 12.0pt 12.0pt 12.0pt;background:#F9F9F9'><pre style='line-height:15.6pt;background:#F9F9F9;border:none;padding:0in'><span style='font-size:9.5pt;color:black'><extension name="play_and_get_digits example"><o:p></o:p></span></pre><pre style='line-height:15.6pt;background:#F9F9F9;border:none;padding:0in'><span style='font-size:9.5pt;color:black'> <condition field="destination_number" expression="^(1888)$"><o:p></o:p></span></pre><pre style='line-height:15.6pt;background:#F9F9F9;border:none;padding:0in'><span style='font-size:9.5pt;color:black'> <action application="play_and_get_digits" data="2 5 3 7000 # $${base_dir}/sounds/en/us/callie/conference/8000/conf-pin.wav /invalid.wav foobar \d+"/><o:p></o:p></span></pre><pre style='line-height:15.6pt;background:#F9F9F9;border:none;padding:0in'><span style='font-size:9.5pt;color:black'> <action application="log" data="CRIT ${foobar}"/><o:p></o:p></span></pre><pre style='line-height:15.6pt;background:#F9F9F9;border:none;padding:0in'><span style='font-size:9.5pt;color:black'> </condition><o:p></o:p></span></pre><pre style='line-height:15.6pt;background:#F9F9F9;border:none;padding:0in'><span style='font-size:9.5pt;color:black'></extension><o:p></o:p></span></pre></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>Is it possible to play WAV file in infinity loop and wait user DTMF?<br><br>And how can I check DTMF input after user entered DTMF?<br><br>In dialpeer, like.<br>If ${DTMF} = 1 then bridge to XXX<br>If ${DTMF} = 2 then play file and finish session<br><br><br><br>Thank you.<br>Dmitry<o:p></o:p></p></div><p class=MsoNormal><br><br>---------- Forwarded message ----------<br>From: Gary Foreman <<a href="mailto:gaz.foreman@gmail.com" target="_blank">gaz.foreman@gmail.com</a>><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>Cc: <br>Date: Mon, 31 Aug 2015 20:36:59 +0100<br>Subject: [Freeswitch-users] Broken silence with webrtc<o:p></o:p></p><div><p class=MsoNormal>Hi all, <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Hoping someone can point me in the right direction because after several hours I'm out of ideas.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>I'm having an issue where the 2nd leg of a call that is bridged to a verto endpoint has broken silence. When there is no sound on the line the audio goes completely silent (all background noise is dropped) but around every third of a second it repeatedly cuts back in for a fraction, then goes completely silent again. This only happens when the call is created using the originate command.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Can anyone give me an idea of where to look next? I have a wireshark trace that during playback shows the audio cutting out periodically on the 2nd leg during periods of silence. The 1st leg is using webrtc encryption and I cant decode the stream.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks in advance!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><div><p class=MsoNormal>---------- Forwarded message ----------<br>From: Brian West <<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Date: Mon, 31 Aug 2015 14:40:17 -0500<br>Subject: Re: [Freeswitch-users] Broken silence with webrtc<o:p></o:p></p><div><p class=MsoNormal>Please provide logs and samples of how you originate this, sounds like Voice Activity Detection possibly.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Mon, Aug 31, 2015 at 2:36 PM, Gary Foreman <<a href="mailto:gaz.foreman@gmail.com" target="_blank">gaz.foreman@gmail.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal>Hi all, <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Hoping someone can point me in the right direction because after several hours I'm out of ideas.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>I'm having an issue where the 2nd leg of a call that is bridged to a verto endpoint has broken silence. When there is no sound on the line the audio goes completely silent (all background noise is dropped) but around every third of a second it repeatedly cuts back in for a fraction, then goes completely silent again. This only happens when the call is created using the originate command.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Can anyone give me an idea of where to look next? I have a wireshark trace that during playback shows the audio cutting out periodically on the 2nd leg during periods of silence. The 1st leg is using webrtc encryption and I cant decode the stream.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks in advance!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div><p class=MsoNormal><br>_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" 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" 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><o:p></o:p></p></blockquote></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><div><div><div><div><div><div><div><div><p><b><i><span style='font-size:13.5pt;font-family:"Courier New"'>Brian West</span></i></b><span style='font-family:"Courier New"'><br></span><span style='font-size:10.0pt;font-family:"Courier New"'><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span><o:p></o:p></p><p><span style='font-size:7.5pt;font-family:"Courier New"'><img border=0 id="_x0000_i1025" src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"></span><o:p></o:p></p><p><b><i><span style='font-size:10.0pt;font-family:"Courier New"'>Twitter: @FreeSWITCH , @briankwest</span></i></b><span style='font-size:10.0pt;font-family:"Courier New"'><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></span><o:p></o:p></p><p><span style='font-family:"Courier New"'>Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></span><o:p></o:p></p><p><b><span style='font-size:10.0pt;font-family:"Courier New"'>T:</span></b><span style='font-size:10.0pt;font-family:"Courier New"'><a href="tel:%2B19184209001" target="_blank">+19184209001</a> | <b>F:</b><a href="tel:%2B19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</span><o:p></o:p></p></div></div></div></div></div></div></div></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div></div><p class=MsoNormal>---------- Forwarded message ----------<br>From: Chris Young <<a href="mailto:Chris.Young@enghouse.com" target="_blank">Chris.Young@enghouse.com</a>><br>To: "<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>" <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Date: Tue, 1 Sep 2015 07:31:00 +0000<br>Subject: [Freeswitch-users] SIP profile not loading<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB>Hi all,<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB>Recently, we've begun experiencing a strange problem whereby the first SIP profile to be loaded gets 'stuck' and never actually completes its initialisation. This always seems to affect the first profile only, so if I have profiles named (for example):<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB> dummy.xml<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB> external.xml<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB> internal.xml<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB>then 'dummy' would fail to load but 'external' and 'internal' would be fine. No error messages are output to the logs but preliminary investigation suggests that the profile thread is becoming blocked for some reason. The specified IP address is valid and available and there are no other processes using the requested port. FreeSWITCH comes up successfully but 'sofia status' shows only 'external' and 'internal'. At this point, I can use 'sofia profile dummy start' and the profile loads correctly so it appears to be valid.<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB>Has anybody else seen this kind of behaviour or know what could be causing it?<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB>Many thanks,<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB>Chris<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB> <o:p></o:p></span></p></div></div><p class=MsoNormal><br><br>---------- Forwarded message ----------<br>From: Dmitry Mordovin <<a href="mailto:d.mordovin@dwide.com" target="_blank">d.mordovin@dwide.com</a>><br>To: "<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>" <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Date: Tue, 01 Sep 2015 12:56:08 +0400<br>Subject: [Freeswitch-users] Playing with conditions<br>Hello<br><br><section name="dialplan" description="Local call"><br> <context name="public"><br> <extension name="local_1"><br><br> <condition field="destination_number" expression="^(\d{4})$"><br> <action application="answer"/><br><br> <action application="play_and_get_digits" data="1 1 3 7000 # $${base_dir}/sounds/en/us/callie/conference/8000/conf-pin.wav /invalid.wav foobar \d+"/><br> <action application="log" data="CRIT ${foobar}"/><br><br> <condition field="${foobar}" expression="1$"><br> <action application="log" data="CRIT --------------1------------------"/><br> <anti-action application="log" data="CRIT --------------not 1------------------"/><br> </condition><br><br> <action application="log" data="CRIT ---- last ${foobar}"/><br> </condition><br><br> </extension><br> </context><br> </section><br><br>Why inner condition not works?<br><br><br><br><br>---------- Forwarded message ----------<br>From: Avi Marcus <<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Date: Tue, 1 Sep 2015 10:30:00 +0000<br>Subject: Re: [Freeswitch-users] Playing with conditions<o:p></o:p></p><div><p class=MsoNormal>Short answer: Each extension only has 1 set of conditions.<o:p></o:p></p><div><p class=MsoNormal>The condition evaluating foobar is run <i>before</i> it gets set.<o:p></o:p></p></div><div><p class=MsoNormal>After the <span style='font-size:9.5pt'>play_and_get_digits you should transfer/execute_extension to a new extension that will evaluate ${foobar}</span><o:p></o:p></p></div><div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><div><div><p class=MsoNormal>-Avi Marcus<br>BestFone<o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Sep 1, 2015 at 11:56 AM, Dmitry Mordovin <<a href="mailto:d.mordovin@dwide.com" target="_blank">d.mordovin@dwide.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal>Hello<br><br><section name="dialplan" description="Local call"><br> <context name="public"><br> <extension name="local_1"><br><br> <condition field="destination_number" expression="^(\d{4})$"><br> <action application="answer"/><br><br> <action application="play_and_get_digits" data="1 1 3 7000 #<br>$${base_dir}/sounds/en/us/callie/conference/8000/conf-pin.wav<br>/invalid.wav foobar \d+"/><br> <action application="log" data="CRIT ${foobar}"/><br><br> <condition field="${foobar}" expression="1$"><br> <action application="log" data="CRIT<br>--------------1------------------"/><br> <anti-action application="log" data="CRIT --------------not<br>1------------------"/><br> </condition><br><br> <action application="log" data="CRIT ---- last ${foobar}"/><br> </condition><br><br> </extension><br> </context><br> </section><br><br>Why inner condition not works?<br><br>_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" 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" 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><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div><p class=MsoNormal><br>_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" 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" 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><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></body></html>