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"><<a href="mailto:renjian@gmail.com">renjian@gmail.com</a>></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't get it work no matter how I tried. As I said, the outgoing works fine, only incoming doesn'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"><<a href="mailto:renjian@gmail.com" target="_blank">renjian@gmail.com</a>></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-><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-><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>-><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-><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-><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-><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-><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-><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>-><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-><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>-><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-><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>-><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>, &err, switch_core_session_get_pool(tech_pvt-><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-><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)">"RTP ERROR %s\n"</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'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"><<a href="mailto:renjian@gmail.com" target="_blank">renjian@gmail.com</a>></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't. It always said "DESTINATION_OUT_OF_ORDER"<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->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'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><include></div><div> <!-- Client Profile (Original mode) --></div><div> <!-- to use this profile take the x- away from the open and close tags so its <profile> and$</div>
<div> <profile type="client"></div><div> <param name="name" value="$${xmpp_client_profile}"/></div><div> <param name="login" value="<a href="http://xxxx@gmail.com/gtalk" target="_blank">xxxx@gmail.com/gtalk</a>"/></div>
<div> <param name="password" value="xxxx"/></div><div> <param name="dialplan" value="XML"/></div><div> <param name="context" value="public"/></div>
<div> <param name="message" value="Jingle all the way"/></div><div> <param name="rtp-ip" value="$${bind_server_ip}"/></div><div> <!-- <param name="ext-rtp-ip" value="auto-nat"/> --></div>
<div> <param name="auto-login" value="true"/></div><div> <!-- SASL "plain" or "md5" --></div><div> <param name="sasl" value="plain"/></div>
<div> <!-- if the server where the jabber is hosted is not the same as the one in the jid --></div><div> <param name="server" value="<a href="http://talk.google.com" target="_blank">talk.google.com</a>"/></div>
<div> <!-- Enable TLS or not --></div><div> <param name="tls" value="true"/></div><div> <!-- disable to trade async for more calls --></div><div> <param name="use-rtp-timer" value="true"/></div>
<div> <!-- default extension (if one cannot be determined) --></div><div> <param name="exten" value="1001"/></div><div> <!-- VAD choose one --></div><div> <!-- <param name="vad" value="in"/> --></div>
<div> <!-- <param name="vad" value="out"/> --></div><div> <param name="vad" value="both"/></div><div> <!--<param name="avatar" value="/path/to/tiny.jpg"/>--></div>
<div> <param name="candidate-acl" value="wan.auto"/></div><div> <param name="local-network-acl" value="localnet.auto"/></div><div> </profile></div><div></include></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>