<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">I think solution to this issue
might be  to configure<br>
<br>
qualify=yes<br>
<br>
in sip.conf in Asterisk. I'll monitor this solution for a few days but
it looks good for now. <br>
<br>
I'll try to dismiss the ping feature but I like to have it's events via
ESL interface... <br>
<br>
</font></font>
<pre class="moz-signature" cols="72">Best regards / Mit freundlichen Grüßen,
Daniel
</pre>
On 28.07.2010 21:17, Anthony Minessale wrote:
<blockquote
 cite="mid:AANLkTikMo3yHL+JR8zB67TRSj8CVm-3nJ4QB3TR52voa@mail.gmail.com"
 type="cite">you could just omit the ping param if asterisk can't
operate properly with that feature.
  <div><br>
  <br>
  <div class="gmail_quote">On Wed, Jul 28, 2010 at 8:52 AM, Daniel
Neubert <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:daniel.neubert@solomo.de">daniel.neubert@solomo.de</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">
    <font size="-1"><font face="Verdana">Now I have a trace from
Freeswitch
log:<br>
    <br>
2010-07-28 15:49:26.630733 [ERR] mod_sofia.c:3674 Gateway is down!<br>
2010-07-28 15:49:26.630733 [NOTICE] mod_sofia.c:3984 Close Channel N/A
[CS_NEW]<br>
2010-07-28 15:49:26.640905 [DEBUG] switch_core_state_machine.c:430 ()
Running State Change CS_DESTROY<br>
2010-07-28 15:49:26.640905 [DEBUG] switch_core_state_machine.c:440
(N/A) State DESTROY<br>
2010-07-28 15:49:26.640905 [DEBUG] mod_sofia.c:358 N/A SOFIA DESTROY<br>
2010-07-28 15:49:26.640905 [DEBUG] switch_core_state_machine.c:440
(N/A) State DESTROY going to sleep<br>
2010-07-28 15:49:26.640905 [ERR] switch_ivr_originate.c:2623 Cannot
create outgoing channel of type [sofia] cause: [NETWORK_OUT_OF_ORDER]<br>
2010-07-28 15:49:26.642906 [DEBUG] switch_ivr_originate.c:3431
Originate Resulted in Error Cause: 38 [NETWORK_OUT_OF_ORDER]<br>
2010-07-28 15:49:26.642906 [INFO] mod_dptools.c:2393 Originate Failed. 
Cause: NETWORK_OUT_OF_ORDER<br>
2010-07-28 15:49:26.644905 [DEBUG] switch_channel.c:2309
(sofia/internal/test01@voip-test) Callstate Change EARLY -&gt; HANGUP<br>
2010-07-28 15:49:26.644905 [NOTICE] mod_dptools.c:2456 Hangup
sofia/internal/test01@voip-test [CS_EXECUTE] [NETWORK_OUT_OF_ORDER]<br>
    <br>
Directly after that I called in from PSTN -&gt; SS7 -&gt; Asterisk so
the gateway came up again and outbound call was possible.<br>
    <br>
    </font></font>
    <div class="im">
    <pre cols="72">Best regards / Mit freundlichen Grüßen,
Daniel 
    </pre>
    </div>
    <div>
    <div class="h5">On 28.07.2010 11:33, Daniel Neubert wrote:
    <blockquote type="cite"> The call fails because the desired gateway
is down. <br>
      <br>
Logs are not available at the moment and issue cannot be reproduced on
demand. I'll take logs as soon as this occurs again.<br>
      <pre cols="72">Best regards / Mit freundlichen Grüßen,
Daniel
  </pre>
On 28.07.2010 10:08, Steven Ayre wrote:
      <blockquote type="cite">Where &amp; why does the call fail?<br>
        <br>
Do you have any log file output?<br>
        <br>
-Steve<br>
        <br>
        <br>
        <br>
        <br>
        <div class="gmail_quote">On 28 July 2010 08:25, Daniel Neubert <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:daniel.neubert@solomo.de" target="_blank">daniel.neubert@solomo.de</a>&gt;</span>
wrote:<br>
        <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
          <br>
we've set  up a SIP trunk between Asterisk (used as MediaGateway to<br>
SS7-Network for PSTN access) and Freeswitch.<br>
          <br>
Everything works fine except one "little" issue: If there have been no<br>
calls using the SIP trunk it becomes unuseable from Freeswitch side.<br>
          <br>
PSTN &lt;- SS7/ISUP -&gt; Asterisk &lt;- SIP Trunk -&gt; Freeswitch
&lt;- SIP/RTP -&gt;<br>
VoIP Clients<br>
          <br>
If a user tries to originate the call that is routed to one of our<br>
MediaGateways while SIP trunk is "stale", the call will fail. The trunk<br>
can be made available again by calling in via PSTN -&gt; Asterisk -&gt;
SIP-Trunk<br>
          <br>
This is our gateway configuration (tried using low values for<br>
expire-seconds, ping and retry-seconds to keep the connection up:<br>
          <br>
&lt;gateway name="voip-int-test"&gt;<br>
&lt;param name="username" value="voip-ext-test"/&gt;<br>
&lt;param name="password" value="freeswitch"/&gt;<br>
&lt;param name="proxy" value="172.31.45.43"/&gt;<br>
&lt;param name="register" value="false"/&gt;<br>
&lt;param name="expire-seconds" value="15"/&gt;<br>
&lt;param name="ping" value="5"/&gt;<br>
&lt;param name="retry-seconds" value="5"/&gt;<br>
&lt;param name="context" value="default"/&gt;<br>
&lt;param name="apply-inbound-acl" value="voip-int-test"/&gt;<br>
&lt;param name="caller-id-in-from" value="true"/&gt;<br>
&lt;/gateway&gt;<br>
          <br>
          <br>
          <br>
--<br>
          <br>
Best regards / Mit freundlichen Grüßen,<br>
Daniel<br>
          <br>
          <br>
          <br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
          <a moz-do-not-send="true"
 href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
          <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
 target="_blank">http://www.freeswitch.org</a><br>
        </blockquote>
        </div>
        <br>
      </blockquote>
    </blockquote>
    </div>
    </div>
    </div>
    <br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
    <a moz-do-not-send="true" href="http://www.freeswitch.org"
 target="_blank">http://www.freeswitch.org</a><br>
    <br>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Anthony Minessale II<br>
  <br>
FreeSWITCH <a moz-do-not-send="true" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>
ClueCon <a moz-do-not-send="true" href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a moz-do-not-send="true"
 href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br>
  <br>
AIM: anthm<br>
  <a moz-do-not-send="true"
 href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a moz-do-not-send="true"
 href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a moz-do-not-send="true" href="http://irc.freenode.net">irc.freenode.net</a>
#freeswitch<br>
  <br>
FreeSWITCH Developer Conference<br>
  <a moz-do-not-send="true"
 href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
  <a moz-do-not-send="true"
 href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
  </div>
</blockquote>
</body>
</html>