<!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">
    How do I write it on my code?<br>
    <br>
    On 7/13/2011 4:04 PM, Warren Selby wrote:
    <blockquote
      cite="mid:76DE10F0-381E-4478-8EA7-DCBD71A2381D@selbytech.com"
      type="cite">
      <div>Looks like you need an 's' exten in your [internal] context. <br>
        <br>
        Thanks,
        <div>--Warren Selby, dCAP</div>
      </div>
      <div><br>
        On Jul 13, 2011, at 2:02 AM, Malvin Rito &lt;<a
          moz-do-not-send="true"
          href="mailto:mrito@mail.altcladding.com.ph">mrito@mail.altcladding.com.ph</a>&gt;
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div> Hi List,<br>
          <br>
          I have another issue on allowing outgoing calls to PSTN on
          Asterisk via Avaya Phones, I hope that anyone could help me
          fix this issue:<br>
          <br>
          <b>When I dial through Avaya phone i just here a "good bye
            message" reply from asterisk server. And here is the log:</b><br>
          <br>
           == Starting OOH323/(null)-b7db8aa0 at internal,s,1 failed so
          falling back to exten 's'<br>
            == Starting OOH323/(null)-b7db8aa0 at internal,s,1 still
          failed so falling back to context 'default'<br>
              -- Executing [s@default:1]
          Playback("OOH323/(null)-b7db8aa0", "vm-goodbye") in new stack<br>
              -- &lt;OOH323/(null)-b7db8aa0&gt; Playing
          'vm-goodbye.ulaw' (language 'en')<br>
              -- Executing [s@default:2] Macro("OOH323/(null)-b7db8aa0",
          "hangupcall") in new stack<br>
              -- Executing [s@macro-hangupcall:1]
          GotoIf("OOH323/(null)-b7db8aa0", "1?skiprg") in new stack<br>
              -- Goto (macro-hangupcall,s,4)<br>
              -- Executing [s@macro-hangupcall:4]
          GotoIf("OOH323/(null)-b7db8aa0", "1?skipblkvm") in new stack<br>
              -- Goto (macro-hangupcall,s,7)<br>
              -- Executing [s@macro-hangupcall:7]
          GotoIf("OOH323/(null)-b7db8aa0", "1?theend") in new stack<br>
              -- Goto (macro-hangupcall,s,9)<br>
              -- Executing [s@macro-hangupcall:9]
          Hangup("OOH323/(null)-b7db8aa0", "") in new stack<br>
            == Spawn extension (macro-hangupcall, s, 9) exited non-zero
          on 'OOH323/(null)-b7db8aa0' in macro 'hangupcall'<br>
            == Spawn extension (default, s, 2) exited non-zero on
          'OOH323/(null)-b7db8aa0'<br>
              -- Executing [h@default:1] Macro("OOH323/(null)-b7db8aa0",
          "hangupcall,") in new stack<br>
              -- Executing [s@macro-hangupcall:1]
          GotoIf("OOH323/(null)-b7db8aa0", "1?skiprg") in new stack<br>
              -- Goto (macro-hangupcall,s,4)<br>
              -- Executing [s@macro-hangupcall:4]
          GotoIf("OOH323/(null)-b7db8aa0", "1?skipblkvm") in new stack<br>
              -- Goto (macro-hangupcall,s,7)<br>
              -- Executing [s@macro-hangupcall:7]
          GotoIf("OOH323/(null)-b7db8aa0", "1?theend") in new stack<br>
              -- Goto (macro-hangupcall,s,9)<br>
              -- Executing [s@macro-hangupcall:9]
          Hangup("OOH323/(null)-b7db8aa0", "") in new stack<br>
            == Spawn extension (macro-hangupcall, s, 9) exited non-zero
          on 'OOH323/(null)-b7db8aa0' in macro 'hangupcall'<br>
            == Spawn extension (default, h, 1) exited non-zero on
          'OOH323/(null)-b7db8aa0'<br>
          <br>
          <b>Here is also the content of my extensions_custom.conf:</b><br>
          [general]<br>
          static=yes<br>
          autofallthrough=yes<br>
          <br>
          [internal]<br>
          exten =&gt; 1000,1,Dial(SIP/1000)<br>
          exten =&gt; 1000,2,HangUp()<br>
          <br>
          exten =&gt; _XXXX,1,Dial(H323/${EXTEN}@Avaya)<br>
          exten =&gt; _XXXXXXXXXXX,1,Dial(H323/${EXTEN}@Avaya)<br>
          exten  =&gt; _XXXXXXXXXX,1,Dial(H323/${EXTEN}@Avaya)<br>
          <br>
          <b>Here is also the content of my ooh323.conf:</b><br>
          [general]<br>
          faststart=yes<br>
          h245tunneling=yes<br>
          gatekeeper=DISABLE<br>
          bindaddr=10.1.129.231<br>
          port=1720<br>
          callerID="ALT Asterisk PBX"<br>
          progress_setup=8<br>
          progress_alert=8<br>
          disallow=all<br>
          allow=all<br>
          dtmfmode=inband<br>
          faststart=yes<br>
          context=internal<br>
          <br>
          [Avaya]<br>
          type=friend<br>
          context=internal<br>
          host=10.1.129.247<br>
          port=1720<br>
          canreinvite=no<br>
          disallow=all<br>
          allow=alaw<br>
          dtmfmode=inband<br>
          <br>
          <b>Here is also the content of sip_custom.conf:</b><br>
          [general]<br>
          context=internal<br>
          videosupport=yes<br>
          allow=h261<br>
          allow=h263<br>
          allow=h263p<br>
          bindaddr=10.1.129.231<br>
          srvlookup=yes<br>
          conreinvitte=no<br>
          <br>
          [1000]<br>
          type=friend<br>
          secret=malvin123<br>
          host=dynamic<br>
          dtmfmode=inband<br>
          disallow=all<br>
          allow=all<br>
          nat=yes<br>
          <br>
          <br>
          Thanks &amp; regards,<br>
          Malvin<br>
        </div>
      </blockquote>
      <blockquote type="cite">
        <div><span>--</span><br>
          <span>_____________________________________________________________________</span><br>
          <span>-- Bandwidth and Colocation Provided by <a
              moz-do-not-send="true" href="http://www.api-digital.com">http://www.api-digital.com</a>
            --</span><br>
          <span>New to Asterisk? Join us for a live introductory webinar
            every Thurs:</span><br>
          <span>               <a moz-do-not-send="true"
              href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a></span><br>
          <span></span><br>
          <span>asterisk-users mailing list</span><br>
          <span>To UNSUBSCRIBE or update options visit:</span><br>
          <span>   <a moz-do-not-send="true"
              href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></span></div>
      </blockquote>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
    </blockquote>
  </body>
</html>