hi <div>for incoming call for me mostly no problem, outgoing sometimes failed and in the next time works normally. </div><div>when outgoing call problem happens, i try from gmail as well and from gmail it works. so i have no idea about this issue </div>
<div><br></div><div><br></div><div>thx</div><div>budi </div><div><br><br><div class="gmail_quote">On Fri, Nov 12, 2010 at 4:08 AM, Jian Ren <span dir="ltr">&lt;<a href="mailto:renjian@gmail.com">renjian@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>I posted this issue last week. No one replied then the problem was gone after I recompiled and reinstalled everything.<br>
But from yesterday, it happened again. This time I couldn&#39;t get it work no matter how I tried. As I said, the outgoing works fine, only incoming doesn&#39;t. Now as a workaround I configured GV to forward calls to sipgate, then connect to sipgate as an SIP gateway to take the incoming calls. I am wondering whether anyone else got the same issue or I am the only unlucky one.<br>

<br>Thanks!<br>Jian<br><br><div class="gmail_quote">On Thu, Nov 4, 2010 at 9:30 PM, Jian Ren <span dir="ltr">&lt;<a href="mailto:renjian@gmail.com" target="_blank">renjian@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">

mod_dingaling.c line 909:<div><span style="font-family:monospace,fixed;font-size:14px"><pre style="font-family:monospace,fixed;font-size:13px;border:1px solid rgb(204, 204, 204);background-color:rgb(245, 245, 245);margin:4px 8px 4px 2px;padding:4px 6px">
<span style="color:rgb(224, 128, 0)">if</span> (!(tech_pvt-&gt;<a href="http://docs.freeswitch.org/structprivate__object.html#d5829b7e4a473ccebac90e44afe586c3" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">rtp_session</a> = switch_rtp_new(tech_pvt-&gt;<a href="http://docs.freeswitch.org/structprivate__object.html#6c15f3ddeb0b6b952e9a5c8a2e443426" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">profile</a>-&gt;<a href="http://docs.freeswitch.org/structmdl__profile.html#38dfeac1fbf9e8d3784dd7eeb746cf6a" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">ip</a>,
<a name="12c3cc99675cbb17_12c19a862397b2c6_l00901" style="color:rgb(26, 65, 168)"></a>00901                                                                                                  tech_pvt-&gt;<a href="http://docs.freeswitch.org/structprivate__object.html#63221941aab4357700497a529d51f2ca" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">local_port</a>,
<a name="12c3cc99675cbb17_12c19a862397b2c6_l00902" style="color:rgb(26, 65, 168)"></a>00902                                                                                                  tech_pvt-&gt;<a href="http://docs.freeswitch.org/structprivate__object.html#e1cbf100db6a0a4fd7eea10935fa2989" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">remote_ip</a>,
<a name="12c3cc99675cbb17_12c19a862397b2c6_l00903" style="color:rgb(26, 65, 168)"></a>00903                                                                                                  tech_pvt-&gt;<a href="http://docs.freeswitch.org/structprivate__object.html#ca66c963cc0f4abf206ee9681d91a5ec" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">remote_port</a>,
<a name="12c3cc99675cbb17_12c19a862397b2c6_l00904" style="color:rgb(26, 65, 168)"></a>00904                                                                                                  tech_pvt-&gt;<a href="http://docs.freeswitch.org/structprivate__object.html#d1e23e3cec68cdff6135ef4c690aa8c4" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">codec_num</a>,
<a name="12c3cc99675cbb17_12c19a862397b2c6_l00905" style="color:rgb(26, 65, 168)"></a>00905                                                                                                  tech_pvt-&gt;<a href="http://docs.freeswitch.org/structprivate__object.html#c696c2e7f6f43f4f24e14c6c2dc81670" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">read_codec</a>.<a href="http://docs.freeswitch.org/structswitch__codec.html#4e2eb0504df66a664f237ff4f2f9b2b5" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">implementation</a>-&gt;<a href="http://docs.freeswitch.org/structswitch__codec__implementation.html#f6c2d7ee05d03910f7fb87cf3056f294" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">samples_per_packet</a>,
<a name="12c3cc99675cbb17_12c19a862397b2c6_l00906" style="color:rgb(26, 65, 168)"></a>00906                                                                                                  tech_pvt-&gt;<a href="http://docs.freeswitch.org/structprivate__object.html#c696c2e7f6f43f4f24e14c6c2dc81670" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">read_codec</a>.<a href="http://docs.freeswitch.org/structswitch__codec.html#4e2eb0504df66a664f237ff4f2f9b2b5" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">implementation</a>-&gt;<a href="http://docs.freeswitch.org/structswitch__codec__implementation.html#f2bf6153bbb519fbb2523de02581c980" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">microseconds_per_packet</a>,
<a name="12c3cc99675cbb17_12c19a862397b2c6_l00907" style="color:rgb(26, 65, 168)"></a>00907                                                                                                  flags, tech_pvt-&gt;<a href="http://docs.freeswitch.org/structprivate__object.html#6c15f3ddeb0b6b952e9a5c8a2e443426" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">profile</a>-&gt;<a href="http://docs.freeswitch.org/structmdl__profile.html#f34f270ada1c3c9c2203f4caba80eb8a" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">timer_name</a>, &amp;err, switch_core_session_get_pool(tech_pvt-&gt;<a href="http://docs.freeswitch.org/structprivate__object.html#ad69db0ca1011d01ada618b2b588a82d" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">session</a>)))) {
<a name="12c3cc99675cbb17_12c19a862397b2c6_l00908" style="color:rgb(26, 65, 168)"></a>00908                 switch_log_printf(<a href="http://docs.freeswitch.org/switch__types_8h.html#bc899743e2a268974063fd82f654829f" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">SWITCH_CHANNEL_SESSION_LOG</a>(tech_pvt-&gt;<a href="http://docs.freeswitch.org/structprivate__object.html#ad69db0ca1011d01ada618b2b588a82d" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">session</a>), <a href="http://docs.freeswitch.org/switch__types_8h.html#b74279dba7ee171b8b9d3decfcf13584a213e63b710064a30aa4524ddc30cbc4" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">SWITCH_LOG_DEBUG</a>, <span style="color:rgb(0, 32, 128)">&quot;RTP ERROR %s\n&quot;</span>, err);
<a name="12c3cc99675cbb17_12c19a862397b2c6_l00909" style="color:rgb(26, 65, 168)"></a>00909                 <a href="http://docs.freeswitch.org/group__switch__channel.html#g2d4ca1c1e6bfea7ba35665397b27ec60" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">switch_channel_hangup</a>(<a href="http://docs.freeswitch.org/group__switch__channel.html#g991acd084cbac25bf6d2a325754ba221" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">channel</a>, <a href="http://docs.freeswitch.org/switch__types_8h.html#1606cd34d8539e5da76ebdcb89cc36b5f85efe65333a82f93a5e2913707575ae" style="color:rgb(0, 0, 255);text-decoration:none;font-weight:normal" target="_blank">SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER</a>);
<a name="12c3cc99675cbb17_12c19a862397b2c6_l00910" style="color:rgb(26, 65, 168)"></a>00910                 <span style="color:rgb(224, 128, 0)">return</span> 0;</pre></span><div><br></div><div>Something wrong with the rtp session, what&#39;s that?</div>


<div><br></div><div>Thanks!</div><div><div></div><div><br><div class="gmail_quote">On Thu, Nov 4, 2010 at 8:41 PM, Jian Ren <span dir="ltr">&lt;<a href="mailto:renjian@gmail.com" target="_blank">renjian@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Outcall works but the incoming doesn&#39;t. It always said &quot;DESTINATION_OUT_OF_ORDER&quot;<div><br><div><div>2010-11-04 20:32:31.797390 [NOTICE] switch_channel.c:784 New Channel dingaling/1001 [2d48674e-e874-11df-ab9a-9787aa669b3a]</div>



<div>2010-11-04 20:32:31.797390 [NOTICE] switch_channel.c:782 Rename Channel dingaling/1001-&gt;DingaLing/new [2d48674e-e874-11df-ab9a-9787aa669b3a]</div><div>2010-11-04 20:32:31.797390 [NOTICE] mod_dingaling.c:1104 Ring-Ready DingaLing/new!</div>



<div>2010-11-04 20:32:32.164739 [NOTICE] mod_dingaling.c:909 Hangup DingaLing/new [CS_INIT] [DESTINATION_OUT_OF_ORDER]</div><div>2010-11-04 20:32:32.165726 [NOTICE] switch_core_session.c:1242 Session 1 (DingaLing/new) Ended</div>



<div>2010-11-04 20:32:32.165726 [NOTICE] switch_core_session.c:1244 Close Channel DingaLing/new [CS_DESTROY]</div></div><div><br></div></div><div>I had skypopen loaded but pointed to another extension, not sure whether it&#39;s related. Now I commented out mod_skypopen but still got the same problem.</div>



<div>Please help!</div><div><br></div><div>My jingling client.xml:</div><div><br></div><div><div>&lt;include&gt;</div><div>  &lt;!-- Client Profile (Original mode) --&gt;</div><div>  &lt;!-- to use this profile take the x- away from the open and close tags so its &lt;profile&gt; and$</div>



<div>  &lt;profile type=&quot;client&quot;&gt;</div><div>    &lt;param name=&quot;name&quot; value=&quot;$${xmpp_client_profile}&quot;/&gt;</div><div>    &lt;param name=&quot;login&quot; value=&quot;<a href="http://xxxx@gmail.com/gtalk" target="_blank">xxxx@gmail.com/gtalk</a>&quot;/&gt;</div>



<div>    &lt;param name=&quot;password&quot; value=&quot;xxxx&quot;/&gt;</div><div>    &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;</div><div>    &lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;</div>



<div>    &lt;param name=&quot;message&quot; value=&quot;Jingle all the way&quot;/&gt;</div><div>    &lt;param name=&quot;rtp-ip&quot; value=&quot;$${bind_server_ip}&quot;/&gt;</div><div>    &lt;!-- &lt;param name=&quot;ext-rtp-ip&quot; value=&quot;auto-nat&quot;/&gt; --&gt;</div>



<div>    &lt;param name=&quot;auto-login&quot; value=&quot;true&quot;/&gt;</div><div>    &lt;!-- SASL &quot;plain&quot; or &quot;md5&quot; --&gt;</div><div>    &lt;param name=&quot;sasl&quot; value=&quot;plain&quot;/&gt;</div>



<div>    &lt;!-- if the server where the jabber is hosted is not the same as the one in the jid --&gt;</div><div>    &lt;param name=&quot;server&quot; value=&quot;<a href="http://talk.google.com" target="_blank">talk.google.com</a>&quot;/&gt;</div>



<div>    &lt;!-- Enable TLS or not --&gt;</div><div>    &lt;param name=&quot;tls&quot; value=&quot;true&quot;/&gt;</div><div>    &lt;!-- disable to trade async for more calls --&gt;</div><div>    &lt;param name=&quot;use-rtp-timer&quot; value=&quot;true&quot;/&gt;</div>



<div>    &lt;!-- default extension (if one cannot be determined) --&gt;</div><div>    &lt;param name=&quot;exten&quot; value=&quot;1001&quot;/&gt;</div><div>    &lt;!-- VAD choose one --&gt;</div><div>    &lt;!-- &lt;param name=&quot;vad&quot; value=&quot;in&quot;/&gt; --&gt;</div>



<div>    &lt;!-- &lt;param name=&quot;vad&quot; value=&quot;out&quot;/&gt; --&gt;</div><div>    &lt;param name=&quot;vad&quot; value=&quot;both&quot;/&gt;</div><div>    &lt;!--&lt;param name=&quot;avatar&quot; value=&quot;/path/to/tiny.jpg&quot;/&gt;--&gt;</div>



<div>    &lt;param name=&quot;candidate-acl&quot; value=&quot;wan.auto&quot;/&gt;</div><div>    &lt;param name=&quot;local-network-acl&quot; value=&quot;localnet.auto&quot;/&gt;</div><div>  &lt;/profile&gt;</div><div>&lt;/include&gt;</div>



</div><div><br></div><div>Thanks!</div><div>Jian</div>
</blockquote></div><br></div></div></div>
</blockquote></div><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></div>