Hi,<div><br></div><div>So I&#39;m trying to borrow some code from sox now and trying to make an adaptive noise filter which would basically be equivalent of using the noiseprof and noisered filters on a stored file, I&#39;ll be calling the noiseprof function whenever there is silence on the line to update my noise profile after regular intervals lets see how that goes.</div>

<div><br><div class="gmail_quote">On Thu, Jan 17, 2013 at 12:25 PM,  <span dir="ltr">&lt;<a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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 &#39;help&#39; 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 &quot;Re: Contents of FreeSWITCH-users digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
   1. Re: Mod_Conference Improvement (Denoise) (Valer Nur)<br>
   2. Re: Mod_Conference Improvement (Denoise) (William King)<br>
   3. Re: 488 Not Acceptable Here (INCOMPATIBLE_DESTINATION) with<br>
      JsSIP and OverSIP + FreeSWITCH (royj)<br>
<br><br>---------- Forwarded message ----------<br>From: Valer Nur &lt;<a href="mailto:valernur@yahoo.com">valernur@yahoo.com</a>&gt;<br>To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>

Cc: <br>Date: Wed, 16 Jan 2013 22:29:59 -0800 (PST)<br>Subject: Re: [Freeswitch-users] Mod_Conference Improvement (Denoise)<br><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">I think the best way to solve this is by doing AGC first. This should make sure audio level is similar for all participants.<br>

<div><span><br></span></div><div><br></div>  <div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div dir="ltr"> <font face="Arial"> <hr size="1">

  <b><span style="font-weight:bold">From:</span></b> Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;<br> <b><span style="font-weight:bold">To:</span></b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt; <br>

 <b><span style="font-weight:bold">Sent:</span></b> Wednesday, January 16, 2013 6:23 PM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users] Mod_Conference Improvement
 (Denoise)<br> </font> </div> <br>
<div><div dir="ltr">There is also the preprocess app which uses a media bug in the core for a variety of things but is incomplete it&#39;s using a bit of code from speex so we can certainly improve that as well.<div><br>

</div><div>
 </div></div><div><br><br><div>On Tue, Jan 15, 2013 at 8:58 PM, Michael Jerris <span dir="ltr">&lt;<a rel="nofollow" href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">If you wanted to implement something like this you could do so as a media bug, it does not need to touch mod_conference in any way.  Take a look at mod_ladspa for an example of a similar module that modifies audio using a media bug.  Give it a try and see if you can get something working.<div>


<br></div><div>Mike<div><div><br><div><div>On Jan 15, 2013, at 8:03 PM, Michael Collins &lt;<a rel="nofollow" href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt; wrote:</div><br><blockquote type="cite">


While I don&#39;t have a problem with the concept of noise filtering I have to point out that each member of the conference can have his or her own noise level setting. From fs_cli:<br><br><span style="font-family:courier new,monospace">conference &lt;conf name&gt; energy &lt;member_id|all|last|non_moderator&gt; [&lt;newval&gt;]<br>



</span><br>You only need to apply it to the person who is in the noisy location. In fact, in the example configuration the user can dial 9 to increase the energy threshold (for when he&#39;s in a noisy environment) or press 7 to decrease the threshold. Pressing 8 will reset the energy to normal, which I believe is 200.<br>



<br>-MC<br><br><div>On Tue, Jan 15, 2013 at 4:24 PM, Usama Zaidi <span dir="ltr">&lt;<a rel="nofollow" href="mailto:itsusama@gmail.com" target="_blank">itsusama@gmail.com</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



Hi,<br><br>I talked about this a while back on the channel, the way how energy-level is implemented in mod_conference isn&#39;t the right way to handle noise in my opinion because the participants that get bridged would have a different noise floor depending on where they are located, so if I set the value of energy-level too high to accommodate one participant, any other participant in a quite sitting would never get bridged, I proposed we should tackle this the way Asterisk does using a denoise dialplan function (<a rel="nofollow" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+Function_DENOISE" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+Function_DENOISE</a>), we can use libav for noise filtering on the muxed audio. I&#39;m willing to contribute if one of the devs would help me out regarding implementation. Any comments?<br>





<br>-Regards <br clear="all"><br></blockquote></div><br clear="all"></blockquote></div><br></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" 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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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 rel="nofollow" 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 rel="nofollow" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>


Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a rel="nofollow" href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>

GTALK/JABBER/<a rel="nofollow" href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a rel="nofollow" href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a rel="nofollow" href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>

<a rel="nofollow" href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a>
</div>
</div><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>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.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://wiki.freeswitch.org/" target="_blank">http://wiki.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><br>

<br><br> </div> </div>  </div></div><br><br>---------- Forwarded message ----------<br>From: William King &lt;<a href="mailto:william.king@quentustech.com">william.king@quentustech.com</a>&gt;<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>

Cc: <br>Date: Wed, 16 Jan 2013 22:37:19 -0800<br>Subject: Re: [Freeswitch-users] Mod_Conference Improvement (Denoise)<br>That feature already exists, but appears to still be undocumented. Added<br>
just over a year ago.<br>
<a href="http://wiki.freeswitch.org/wiki/FS_weekly_2011_03_23" target="_blank">http://wiki.freeswitch.org/wiki/FS_weekly_2011_03_23</a><br>
<br>
William King<br>
Senior Engineer<br>
Quentus Technologies, INC<br>
1037 NE 65th St Suite 273<br>
Seattle, WA 98115<br>
Main:   (877) 211-9337<br>
Office: (206) 388-4772<br>
Cell:   (253) 686-5518<br>
<a href="mailto:william.king@quentustech.com">william.king@quentustech.com</a><br>
<br>
On 01/16/2013 10:29 PM, Valer Nur wrote:<br>
&gt; I think the best way to solve this is by doing AGC first. This should<br>
&gt; make sure audio level is similar for all participants.<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt; *From:* Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;<br>
&gt; *To:* FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
&gt; *Sent:* Wednesday, January 16, 2013 6:23 PM<br>
&gt; *Subject:* Re: [Freeswitch-users] Mod_Conference Improvement (Denoise)<br>
&gt;<br>
&gt; There is also the preprocess app which uses a media bug in the core for<br>
&gt; a variety of things but is incomplete it&#39;s using a bit of code from<br>
&gt; speex so we can certainly improve that as well.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jan 15, 2013 at 8:58 PM, Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a><br>
&gt; &lt;mailto:<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     If you wanted to implement something like this you could do so as a<br>
&gt;     media bug, it does not need to touch mod_conference in any way.<br>
&gt;      Take a look at mod_ladspa for an example of a similar module that<br>
&gt;     modifies audio using a media bug.  Give it a try and see if you can<br>
&gt;     get something working.<br>
&gt;<br>
&gt;     Mike<br>
&gt;<br>
&gt;     On Jan 15, 2013, at 8:03 PM, Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a><br>
&gt;     &lt;mailto:<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;&gt;     While I don&#39;t have a problem with the concept of noise filtering I<br>
&gt;&gt;     have to point out that each member of the conference can have his<br>
&gt;&gt;     or her own noise level setting. From fs_cli:<br>
&gt;&gt;<br>
&gt;&gt;     conference &lt;conf name&gt; energy &lt;member_id|all|last|non_moderator&gt;<br>
&gt;&gt;     [&lt;newval&gt;]<br>
&gt;&gt;<br>
&gt;&gt;     You only need to apply it to the person who is in the noisy<br>
&gt;&gt;     location. In fact, in the example configuration the user can dial<br>
&gt;&gt;     9 to increase the energy threshold (for when he&#39;s in a noisy<br>
&gt;&gt;     environment) or press 7 to decrease the threshold. Pressing 8 will<br>
&gt;&gt;     reset the energy to normal, which I believe is 200.<br>
&gt;&gt;<br>
&gt;&gt;     -MC<br>
&gt;&gt;<br>
&gt;&gt;     On Tue, Jan 15, 2013 at 4:24 PM, Usama Zaidi &lt;<a href="mailto:itsusama@gmail.com">itsusama@gmail.com</a><br>
&gt;&gt;     &lt;mailto:<a href="mailto:itsusama@gmail.com">itsusama@gmail.com</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;         Hi,<br>
&gt;&gt;<br>
&gt;&gt;         I talked about this a while back on the channel, the way how<br>
&gt;&gt;         energy-level is implemented in mod_conference isn&#39;t the right<br>
&gt;&gt;         way to handle noise in my opinion because the participants<br>
&gt;&gt;         that get bridged would have a different noise floor depending<br>
&gt;&gt;         on where they are located, so if I set the value of<br>
&gt;&gt;         energy-level too high to accommodate one participant, any<br>
&gt;&gt;         other participant in a quite sitting would never get bridged,<br>
&gt;&gt;         I proposed we should tackle this the way Asterisk does using a<br>
&gt;&gt;         denoise dialplan function<br>
&gt;&gt;         (<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+Function_DENOISE" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Asterisk+10+Function_DENOISE</a>),<br>
&gt;&gt;         we can use libav for noise filtering on the muxed audio. I&#39;m<br>
&gt;&gt;         willing to contribute if one of the devs would help me out<br>
&gt;&gt;         regarding implementation. Any comments?<br>
&gt;&gt;<br>
&gt;&gt;         -Regards<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;     _________________________________________________________________________<br>
&gt;     Professional FreeSWITCH Consulting Services:<br>
&gt;     <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<br>
&gt;     <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt;     FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt;     <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt;     Official FreeSWITCH Sites<br>
&gt;     <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;     <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;     <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt;     FreeSWITCH-users mailing list<br>
&gt;     <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt;     <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;     UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;     <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Anthony Minessale II<br>
&gt;<br>
&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt; Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
&gt;<br>
&gt; AIM: anthm<br>
&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt; &lt;mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>
&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt; &lt;mailto:<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> &lt;<a href="http://irc.freenode.net/" target="_blank">http://irc.freenode.net/</a>&gt; #freeswitch<br>
&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt; &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt; &lt;mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>
&gt; pstn:<a href="tel:%2B19193869900" value="+19193869900">+19193869900</a><br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a> &lt;<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com/</a>&gt;<br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a> &lt;<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com/</a>&gt;<br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a>&gt;<br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a> &lt;<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org/</a>&gt;<br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> &lt;<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a>&gt;<br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: royj &lt;<a href="mailto:royj@yandex.ru">royj@yandex.ru</a>&gt;<br>To: &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>

Cc: <br>Date: Thu, 17 Jan 2013 11:24:25 +0400<br>Subject: Re: [Freeswitch-users] 488 Not Acceptable Here (INCOMPATIBLE_DESTINATION) with JsSIP and OverSIP + FreeSWITCH<br><br>
<a href="http://jira.freeswitch.org/browse/FS-4606" target="_blank">http://jira.freeswitch.org/browse/FS-4606</a><br>
<br>
On Thu, 17 Jan 2013 02:05:34 +0530<br>
Paan Singh &lt;<a href="mailto:paan.singh.coder@gmail.com">paan.singh.coder@gmail.com</a>&gt; wrote:<br>
<br>
&gt; New SIP capture og with FreeSWITCH log syntax highlighting :<br>
&gt; <a href="http://pastebin.freeswitch.com/20457" target="_blank">http://pastebin.freeswitch.com/20457</a><br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jan 17, 2013 at 12:50 AM, Paan Singh &lt;<a href="mailto:paan.singh.coder@gmail.com">paan.singh.coder@gmail.com</a>&gt;wrote:<br>
&gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m using JsSIP from a webpage to make a SIP call to FS, using OverSIP as<br>
&gt; &gt; a Websocket-&gt;SIP proxy.<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m able to Register successfully, but when I make a call from JsSIP UA to<br>
&gt; &gt; FreeSWITCH, I get a 180 Ringing, but after that I get a 488 Not Acceptable<br>
&gt; &gt; here.. Please help me figure out what I&#39;m doing wrong here.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; My inbound_codec_prefs is :<br>
&gt; &gt;<br>
&gt; &gt; &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;global_codec_prefs=G729,G7221@32000h<br>
&gt; &gt; ,G7221@16000h,G722,PCMU,PCMA,GSM,isac@16000h,isac,opus&quot;/&gt;<br>
&gt; &gt;<br>
&gt; &gt; Here is FreeSWITCH&#39;s log for the incoming call :<br>
&gt; &gt;<br>
&gt; &gt; =============================================<br>
&gt; &gt; port.c:2730 tport_wakeup_pri() tport_wakeup_pri(0x26036f0): events IN<br>
&gt; &gt; tport.c:2845 tport_recv_event() tport_recv_event(0x26036f0)<br>
&gt; &gt; tport.c:3186 tport_recv_iovec() tport_recv_iovec(0x26036f0) msg 0x2913be0<br>
&gt; &gt; from (udp/<a href="http://116.214.15.45:5080" target="_blank">116.214.15.45:5080</a>) has 3113 bytes, veclen = 1<br>
&gt; &gt; tport.c:3004 tport_deliver() tport_deliver(0x26036f0): msg 0x2913be0 (3113<br>
&gt; &gt; bytes) from udp/<a href="http://121.245.35.150:5080/sip" target="_blank">121.245.35.150:5080/sip</a> next=(nil)<br>
&gt; &gt; nta.c:2803 agent_recv_request() nta: received INVITE<br>
&gt; &gt; <a href="mailto:sip%3A30201009@116.214.15.45">sip:30201009@116.214.15.45</a> SIP/2.0 (CSeq 2141)<br>
&gt; &gt; nta.c:3161 agent_aliases() nta: canonizing sip:30201009@116.214.15.45with contact<br>
&gt; &gt; nta.c:3002 agent_recv_request() nta: INVITE (2141) going to a default leg<br>
&gt; &gt; nta.c:1348 set_timeout() nta: timer set to 200 ms<br>
&gt; &gt; nua_server.c:102 nua_stack_process_request() nua:<br>
&gt; &gt; nua_stack_process_request: entering<br>
&gt; &gt; nua_stack.c:899 nh_create() nua: nh_create: entering<br>
&gt; &gt; nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering<br>
&gt; &gt; nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering<br>
&gt; &gt; soa.c:282 soa_clone() soa_clone(static::0x26122e0, 0x2606e20,<br>
&gt; &gt; 0x7f91840c4c50) called<br>
&gt; &gt; soa.c:405 soa_set_params() soa_set_params(static::0x7f91840b25e0, ...)<br>
&gt; &gt; called<br>
&gt; &gt; nta.c:4313 nta_leg_tcreate() nta_leg_tcreate(0x7f91840356d0)<br>
&gt; &gt; soa.c:1302 soa_init_offer_answer()<br>
&gt; &gt; soa_init_offer_answer(static::0x7f91840b25e0) called<br>
&gt; &gt; soa.c:1171 soa_set_remote_sdp() soa_set_remote_sdp(static::0x7f91840b25e0,<br>
&gt; &gt; (nil), 0x285676c, 2333) called<br>
&gt; &gt; nua_dialog.c:338 nua_dialog_usage_add() nua(0x7f91840c4c50): adding<br>
&gt; &gt; session usage<br>
&gt; &gt; tport.c:3238 tport_tsend() tport_tsend(0x26036f0) tpn = UDP/<br>
&gt; &gt; <a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a><br>
&gt; &gt; tport.c:4026 tport_resolve() tport_resolve addrinfo = <a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a><br>
&gt; &gt; tport.c:4660 tport_by_addrinfo() tport_by_addrinfo(0x26036f0): not found<br>
&gt; &gt; by name UDP/<a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a><br>
&gt; &gt; tport.c:3574 tport_vsend() tport_vsend(0x26036f0): 564 bytes of 564 to udp/<br>
&gt; &gt; <a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a><br>
&gt; &gt; tport.c:3472 tport_send_msg() tport_vsend returned 564<br>
&gt; &gt; nta.c:6678 incoming_reply() nta: sent 100 Trying for INVITE (2141)<br>
&gt; &gt; nua_stack.c:271 nua_stack_event() nua(0x7f91840c4c50): event i_invite 100<br>
&gt; &gt; Trying<br>
&gt; &gt; nua_session.c:4135 signal_call_state_change() nua(0x7f91840c4c50): call<br>
&gt; &gt; state changed: init -&gt; received, received offer<br>
&gt; &gt; soa.c:1098 soa_get_remote_sdp() soa_get_remote_sdp(static::0x7f91840b25e0,<br>
&gt; &gt; [0x7f91aa98a5e8], [0x7f91aa98a5e0], [(nil)]) called<br>
&gt; &gt; nua_stack.c:271 nua_stack_event() nua(0x7f91840c4c50): event i_state 100<br>
&gt; &gt; Trying<br>
&gt; &gt; nua_stack.c:359 nua_application_event() nua: nua_application_event:<br>
&gt; &gt; entering<br>
&gt; &gt; nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering<br>
&gt; &gt; 2013-01-17 00:25:27.733506 [NOTICE] switch_channel.c:968 New Channel<br>
&gt; &gt; sofia/external/1000@116.214.15.45:5080[4aec7fd8-600e-11e2-8706-1365ba01ad52]<br>
&gt; &gt; 2013-01-17 00:25:27.733506 [DEBUG] switch_core_session.c:975 Send signal<br>
&gt; &gt; sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [BREAK]<br>
&gt; &gt; nua_stack.c:359 nua_application_event() nua: nua_application_event:<br>
&gt; &gt; entering<br>
&gt; &gt; 2013-01-17 00:25:27.733506 [DEBUG] switch_core_session.c:975 Send signal<br>
&gt; &gt; sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [BREAK]<br>
&gt; &gt; 2013-01-17 00:25:27.733506 [DEBUG] switch_core_state_machine.c:415<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Running State Change CS_NEW<br>
&gt; &gt; 2013-01-17 00:25:27.733506 [DEBUG] switch_core_state_machine.c:433<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State NEW<br>
&gt; &gt; nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering<br>
&gt; &gt; nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering<br>
&gt; &gt; nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] sofia.c:5576 Channel sofia/external/<br>
&gt; &gt; <a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> entering state [received][100]<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] sofia.c:5587 Remote SDP:<br>
&gt; &gt; v=0<br>
&gt; &gt; o=- 2957375511 2 IN IP4 127.0.0.1<br>
&gt; &gt; s=-<br>
&gt; &gt; t=0 0<br>
&gt; &gt; a=group:BUNDLE audio video<br>
&gt; &gt; m=audio 40111 RTP/SAVPF 103 104 0 8 106 105 13 126<br>
&gt; &gt; c=IN IP4 121.245.35.150<br>
&gt; &gt; a=rtcp:40111 IN IP4 121.245.35.150<br>
&gt; &gt; a=candidate:877273017 1 udp 2113937151 121.245.35.150 39842 typ host<br>
&gt; &gt; generation 0<br>
&gt; &gt; a=candidate:877273017 2 udp 2113937151 121.245.35.150 39842 typ host<br>
&gt; &gt; generation 0<br>
&gt; &gt; a=candidate:4173799466 1 udp 1677729535 121.245.35.150 40111 typ srflx<br>
&gt; &gt; generation 0<br>
&gt; &gt; a=candidate:4173799466 2 udp 1677729535 121.245.35.150 40111 typ srflx<br>
&gt; &gt; generation 0<br>
&gt; &gt; a=candidate:2060051273 1 tcp 1509957375 121.245.35.150 54291 typ host<br>
&gt; &gt; generation 0<br>
&gt; &gt; a=candidate:2060051273 2 tcp 1509957375 121.245.35.150 54291 typ host<br>
&gt; &gt; generation 0<br>
&gt; &gt; a=ice-ufrag:qiKF0ErbxaXldKI0<br>
&gt; &gt; a=ice-pwd:XlMXg/i8jwnCAgwnuo9KyZBw<br>
&gt; &gt; a=ice-options:google-ice<br>
&gt; &gt; a=mid:audio<br>
&gt; &gt; a=rtcp-mux<br>
&gt; &gt; a=crypto:1 AES_CM_128_HMAC_SHA1_80<br>
&gt; &gt; inline:bX1U9Kr56lIcZBLQvS2pmRW3nAcTG9H0uahawqj2<br>
&gt; &gt; a=rtpmap:103 ISAC/16000<br>
&gt; &gt; a=rtpmap:104 ISAC/32000<br>
&gt; &gt; a=rtpmap:0 PCMU/8000<br>
&gt; &gt; a=rtpmap:8 PCMA/8000<br>
&gt; &gt; a=rtpmap:106 CN/32000<br>
&gt; &gt; a=rtpmap:105 CN/16000<br>
&gt; &gt; a=rtpmap:13 CN/8000<br>
&gt; &gt; a=rtpmap:126 telephone-event/8000<br>
&gt; &gt; a=ssrc:4278252985 cname:fMHr4uVHPcpHFfGu<br>
&gt; &gt; a=ssrc:4278252985 mslabel:OEZOjX953DJU0k0J3IKmuasdqH13b96rGxhx<br>
&gt; &gt; a=ssrc:4278252985 label:OEZOjX953DJU0k0J3IKmuasdqH13b96rGxhx00<br>
&gt; &gt; m=video 40111 RTP/SAVPF 100 101 102<br>
&gt; &gt; c=IN IP4 121.245.35.150<br>
&gt; &gt; a=rtcp:40111 IN IP4 121.245.35.150<br>
&gt; &gt; a=candidate:877273017 1 udp 2113937151 121.245.35.150 39842 typ host<br>
&gt; &gt; generation 0<br>
&gt; &gt; a=candidate:877273017 2 udp 2113937151 121.245.35.150 39842 typ host<br>
&gt; &gt; generation 0<br>
&gt; &gt; a=candidate:4173799466 1 udp 1677729535 121.245.35.150 40111 typ srflx<br>
&gt; &gt; generation 0<br>
&gt; &gt; a=candidate:4173799466 2 udp 1677729535 121.245.35.150 40111 typ srflx<br>
&gt; &gt; generation 0<br>
&gt; &gt; a=candidate:2060051273 1 tcp 1509957375 121.245.35.150 54291 typ host<br>
&gt; &gt; generation 0<br>
&gt; &gt; a=candidate:2060051273 2 tcp 1509957375 121.245.35.150 54291 typ host<br>
&gt; &gt; generation 0<br>
&gt; &gt; a=ice-ufrag:qiKF0ErbxaXldKI0<br>
&gt; &gt; a=ice-pwd:XlMXg/i8jwnCAgwnuo9KyZBw<br>
&gt; &gt; a=ice-options:google-ice<br>
&gt; &gt; a=mid:video<br>
&gt; &gt; a=rtcp-mux<br>
&gt; &gt; a=crypto:1 AES_CM_128_HMAC_SHA1_80<br>
&gt; &gt; inline:bX1U9Kr56lIcZBLQvS2pmRW3nAcTG9H0uahawqj2<br>
&gt; &gt; a=rtpmap:100 VP8/90000<br>
&gt; &gt; a=rtpmap:101 red/90000<br>
&gt; &gt; a=rtpmap:102 ulpfec/90000<br>
&gt; &gt; a=ssrc:169275022 cname:fMHr4uVHPcpHFfGu<br>
&gt; &gt; a=ssrc:169275022 mslabel:OEZOjX953DJU0k0J3IKmuasdqH13b96rGxhx<br>
&gt; &gt; a=ssrc:169275022 label:OEZOjX953DJU0k0J3IKmuasdqH13b96rGxhx10<br>
&gt; &gt;<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] sofia_glue.c:4978 Set Remote Key [1<br>
&gt; &gt; AES_CM_128_HMAC_SHA1_80 inline:bX1U9Kr56lIcZBLQvS2pmRW3nAcTG9H0uahawqj2]<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] sofia_glue.c:3155 Set Local Key [1<br>
&gt; &gt; AES_CM_128_HMAC_SHA1_80 inline:i8vqmBeU4+/sjJBndCbEQ4G87gmpYeVnqxh8Xuzu]<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] sofia_glue.c:5277 No 2833 in SDP.<br>
&gt; &gt;  Disable 2833 dtmf and switch to INFO<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_channel.c:2994<br>
&gt; &gt; (sofia/external/1000@116.214.15:45:5080) Callstate Change DOWN -&gt; HANGUP<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [NOTICE] sofia.c:5878 Hangup sofia/external/<br>
&gt; &gt; <a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [CS_NEW] [INCOMPATIBLE_DESTINATION]<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_channel.c:3017 Send signal<br>
&gt; &gt; sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [KILL]<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_session.c:1291 Send signal<br>
&gt; &gt; sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [BREAK]<br>
&gt; &gt; nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:415<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Running State Change CS_HANGUP<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:667<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State HANGUP<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] mod_sofia.c:503 Channel sofia/external/<br>
&gt; &gt; <a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> hanging up, cause: INCOMPATIBLE_DESTINATION<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] mod_sofia.c:633 Responding to INVITE<br>
&gt; &gt; with: 488<br>
&gt; &gt; nua.c:879 nua_respond() nua: nua_respond: entering<br>
&gt; &gt; nua_stack.c:529 nua_signal() nua(0x7f91840c4c50): sent signal r_respond<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:48<br>
&gt; &gt; sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> Standard HANGUP, cause:<br>
&gt; &gt; INCOMPATIBLE_DESTINATION<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:667<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State HANGUP going to sleep<br>
&gt; &gt; nua_stack.c:573 nua_stack_signal() nua(0x7f91840c4c50): recv signal<br>
&gt; &gt; r_respond 488 Not Acceptable Here<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:446<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State Change CS_HANGUP -&gt;<br>
&gt; &gt; CS_REPORTING<br>
&gt; &gt; nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_session.c:1291 Send signal<br>
&gt; &gt; sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [BREAK]<br>
&gt; &gt; soa.c:405 soa_set_params() soa_set_params(static::0x7f91840b25e0, ...)<br>
&gt; &gt; called<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:415<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Running State Change CS_REPORTING<br>
&gt; &gt; nua_session.c:2316 nua_invite_server_respond() nua:<br>
&gt; &gt; nua_invite_server_respond: entering<br>
&gt; &gt; soa.c:1214 soa_clear_remote_sdp()<br>
&gt; &gt; soa_clear_remote_sdp(static::0x7f91840b25e0) called<br>
&gt; &gt; tport.c:3238 tport_tsend() tport_tsend(0x26036f0) tpn = UDP/<br>
&gt; &gt; <a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a><br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:749<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State REPORTING<br>
&gt; &gt; tport.c:4026 tport_resolve() tport_resolve addrinfo = <a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a><br>
&gt; &gt; tport.c:4660 tport_by_addrinfo() tport_by_addrinfo(0x26036f0): not found<br>
&gt; &gt; by name UDP/<a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a><br>
&gt; &gt; tport.c:3574 tport_vsend() tport_vsend(0x26036f0): 784 bytes of 784 to udp/<br>
&gt; &gt; <a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a><br>
&gt; &gt; tport.c:3472 tport_send_msg() tport_vsend returned 784<br>
&gt; &gt; nta.c:6678 incoming_reply() nta: sent 488 Not Acceptable Here for INVITE<br>
&gt; &gt; (2141)<br>
&gt; &gt; nua_dialog.c:397 nua_dialog_usage_remove_at() nua(0x7f91840c4c50):<br>
&gt; &gt; removing session usage<br>
&gt; &gt; nua_session.c:4135 signal_call_state_change() nua(0x7f91840c4c50): call<br>
&gt; &gt; state changed: received -&gt; terminated<br>
&gt; &gt; nua_stack.c:271 nua_stack_event() nua(0x7f91840c4c50): event i_state 488<br>
&gt; &gt; Not Acceptable Here<br>
&gt; &gt; nua_stack.c:271 nua_stack_event() nua(0x7f91840c4c50): event i_terminated<br>
&gt; &gt; 488 Not Acceptable Here<br>
&gt; &gt; soa.c:358 soa_destroy() soa_destroy(static::0x7f91840b25e0) called<br>
&gt; &gt; nta.c:4366 nta_leg_destroy() nta_leg_destroy(0x7f91840356d0)<br>
&gt; &gt; nua_stack.c:359 nua_application_event() nua: nua_application_event:<br>
&gt; &gt; entering<br>
&gt; &gt; nua_stack.c:359 nua_application_event() nua: nua_application_event:<br>
&gt; &gt; entering<br>
&gt; &gt; nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering<br>
&gt; &gt; nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering<br>
&gt; &gt; nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering<br>
&gt; &gt; nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering<br>
&gt; &gt; nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering<br>
&gt; &gt; nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering<br>
&gt; &gt; nua_stack.c:569 nua_stack_signal() nua(0x7f91840c4c50): recv signal<br>
&gt; &gt; r_destroy<br>
&gt; &gt; nta.c:4366 nta_leg_destroy() nta_leg_destroy((nil))<br>
&gt; &gt; nua_stack.c:529 nua_signal() nua(0x7f91840c4c50): sent signal r_destroy<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] mod_cdr_sqlite.c:102 Writing SQL to DB:<br>
&gt; &gt; INSERT INTO cdr VALUES (&quot;1000&quot;,&quot;1000&quot;,&quot;30201009&quot;,&quot;public&quot;,&quot;2013-01-17<br>
&gt; &gt; 00:25:27&quot;,&quot;&quot;,&quot;2013-01-17<br>
&gt; &gt; 00:25:27&quot;,0,0,&quot;INCOMPATIBLE_DESTINATION&quot;,&quot;4aec7fd8-600e-11e2-8706-1365ba01ad52&quot;,&quot;&quot;,&quot;&quot;)<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:92<br>
&gt; &gt; sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> Standard REPORTING, cause:<br>
&gt; &gt; INCOMPATIBLE_DESTINATION<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:749<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State REPORTING going to sleep<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:440<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State Change CS_REPORTING -&gt;<br>
&gt; &gt; CS_DESTROY<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_session.c:1291 Send signal<br>
&gt; &gt; sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [BREAK]<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_session.c:1499 Session 1794<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Locked, Waiting on external<br>
&gt; &gt; entities<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [NOTICE] switch_core_session.c:1517 Session<br>
&gt; &gt; 1794 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Ended<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [NOTICE] switch_core_session.c:1521 Close<br>
&gt; &gt; Channel sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [CS_DESTROY]<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:556<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Callstate Change HANGUP -&gt; DOWN<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:559<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Running State Change CS_DESTROY<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:569<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State DESTROY<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] mod_sofia.c:396 sofia/external/<br>
&gt; &gt; <a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> SOFIA DESTROY<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:99<br>
&gt; &gt; sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> Standard DESTROY<br>
&gt; &gt; 2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:569<br>
&gt; &gt; (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State DESTROY going to sleep<br>
&gt; &gt; nta.c:1294 agent_timer() nta: timer set next to 322 ms<br>
&gt; &gt; tport.c:2730 tport_wakeup_pri() tport_wakeup_pri(0x26036f0): events IN<br>
&gt; &gt; tport.c:2845 tport_recv_event() tport_recv_event(0x26036f0)<br>
&gt; &gt; tport.c:3186 tport_recv_iovec() tport_recv_iovec(0x26036f0) msg<br>
&gt; &gt; 0x7f9198220070 from (udp/<a href="http://116.214.15.45:5080" target="_blank">116.214.15.45:5080</a>) has 339 bytes, veclen = 1<br>
&gt; &gt; tport.c:3004 tport_deliver() tport_deliver(0x26036f0): msg 0x7f9198220070<br>
&gt; &gt; (339 bytes) from udp/<a href="http://121.245.35.150:5080/sip" target="_blank">121.245.35.150:5080/sip</a> next=(nil)<br>
&gt; &gt; nta.c:2803 agent_recv_request() nta: received ACK<br>
&gt; &gt; <a href="mailto:sip%3A30201009@116.214.15.45">sip:30201009@116.214.15.45</a> SIP/2.0 (CSeq 2141)<br>
&gt; &gt; nta.c:2938 agent_recv_request() nta: ACK (2141) is going to INVITE (2141)<br>
&gt; &gt; nta.c:1294 agent_timer() nta: timer set next to 4823 ms<br>
&gt; &gt; nta.c:7010 _nta_incoming_timer() nta: timer I fired, terminate 488 response<br>
&gt; &gt; nta.c:5718 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil),<br>
&gt; &gt; 0x7f91aa98ac20)<br>
&gt; &gt; nta.c:7061 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout,<br>
&gt; &gt; 1/1 term, 1/1 free<br>
&gt; &gt; nta.c:1279 agent_timer() nta: timer not set<br>
&gt; &gt; ================================================================<br>
&gt; &gt;<br>
&gt; &gt; Here is the Log from JsSIP in the browser that receives messages from<br>
&gt; &gt; FreeSWITCH :<br>
&gt; &gt; ===========================================================<br>
&gt; &gt;  JsSIP | TRANSPORT | Received WebSocket text message: SIP/2.0 180 Ringing<br>
&gt; &gt; Via: SIP/2.0/TCP 29.62.109.242;branch=z9hG4bK1565615 Record-Route:<br>
&gt; &gt; &lt;sip:192.168.1.8:5060;transport=udp;lr;ovid=69d4d6a0&gt; Record-Route:<br>
&gt; &gt; &lt;sip:774f80554e@192.168.1.8:10080;transport=ws;lr;ovid=69d4d6a0&gt; From: &lt;<br>
&gt; &gt; <a href="http://sip:1000@116.214.15.45:5080" target="_blank">sip:1000@116.214.15.45:5080</a>&gt;;tag=rj2nc38qem To: &lt;<br>
&gt; &gt; <a href="mailto:sip%3A30201009@116.214.15.45">sip:30201009@116.214.15.45</a>&gt;;tag=j4X0e04aZjU2K Call-ID:<br>
&gt; &gt; joshempnx2kuh7smrt3x CSeq: 1974 INVITE Contact:<br>
&gt; &gt; &lt;sip:30201009@116.214.15.45:5080;transport=udp&gt; User-Agent:<br>
&gt; &gt; FreeSWITCH-mod_sofia/1.3.13b+git~20130108T190107Z~30e4c71bbe Accept:<br>
&gt; &gt; application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO,<br>
&gt; &gt; UPDATE, REGISTER, REFER, NOTIFY Supported: timer, precondition, path,<br>
&gt; &gt; replaces Allow-Events: talk, hold, conference, refer Content-Length: 0<br>
&gt; &gt; P-Asserted-Identity: &quot;30201009&quot; &lt;<a href="mailto:sip%3A30201009@116.214.15.45">sip:30201009@116.214.15.45</a>&gt;<br>
&gt; &gt; jssip-0.2.1.js:684&lt;<a href="http://example.com:8080/static/did/tryit/jssip-0.2.1.js" target="_blank">http://example.com:8080/static/did/tryit/jssip-0.2.1.js</a>&gt;<br>
&gt; &gt;  JsSIP | DIALOG | New UAC dialog created: 1 jssip-0.2.1.js:2171&lt;<a href="http://example.com:8080/static/did/tryit/jssip-0.2.1.js" target="_blank">http://example.com:8080/static/did/tryit/jssip-0.2.1.js</a>&gt;<br>


&gt; &gt;  JsSIP | EVENT EMITTER | Emitting event: progress jssip-0.2.1.js:170&lt;<a href="http://example.com:8080/static/did/tryit/jssip-0.2.1.js" target="_blank">http://example.com:8080/static/did/tryit/jssip-0.2.1.js</a>&gt;<br>


&gt; &gt;  JsSIP | TRANSPORT | Received WebSocket text message: SIP/2.0 488 Not<br>
&gt; &gt; Acceptable Here Via: SIP/2.0/TCP 29.62.109.242;branch=z9hG4bK1565615<br>
&gt; &gt; Max-Forwards: 10 From: &lt;<a href="http://sip:1000@116.214.15.45:5080" target="_blank">sip:1000@116.214.15.45:5080</a>&gt;;tag=rj2nc38qem To: &lt;<br>
&gt; &gt; <a href="mailto:sip%3A30201009@116.214.15.45">sip:30201009@116.214.15.45</a>&gt;;tag=j4X0e04aZjU2K Call-ID:<br>
&gt; &gt; joshempnx2kuh7smrt3x CSeq: 1974 INVITE User-Agent:<br>
&gt; &gt; FreeSWITCH-mod_sofia/1.3.13b+git~20130108T190107Z~30e4c71bbe Allow: INVITE,<br>
&gt; &gt; ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>
&gt; &gt; Supported: timer, precondition, path, replaces Allow-Events: talk, hold,<br>
&gt; &gt; conference, refer Reason: Q.850;cause=88;text=&quot;INCOMPATIBLE_DESTINATION&quot;<br>
&gt; &gt; Content-Length: 0 P-Asserted-Identity: &quot;30201009&quot; &lt;<br>
&gt; &gt; <a href="mailto:sip%3A30201009@116.214.15.45">sip:30201009@116.214.15.45</a>&gt;<br>
&gt; &gt; =============================================================================<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; What am I doing wrong? Thanks,<br>
&gt; &gt; Paan<br>
&gt; &gt;<br>
&gt; &gt;<br>
<br>
<br>
<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><br clear="all"><div><br></div>-- <br>I&#39;d love to change the world, but they wont gimme the source code to it
</div>