<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Both boxes are on the outside of nats (public IPs for both). So I don't
think that would be the case. Right?<br>
<br>
Rob<br>
<br>
<br>
C F wrote:
<blockquote
 cite="mid:81000b5a0712111621r3e5b10f7rd4f8c20943f1ad24@mail.gmail.com"
 type="cite">
  <pre wrap="">nat

On 12/11/07, Rob Schall <a class="moz-txt-link-rfc2396E" href="mailto:rschall@callone.net">&lt;rschall@callone.net&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">We're trying to get a SIP peer going between our asterisk box and our
provider. It should then ring our phone.

The call does come in and it does execute the extension in the dial
plan. But the provider says they never get a 200 OK back and therefore
they send another INVITE and then after a few seconds drop the call.

Here's our setup:

sip.conf
[ngt-trunk]
type=peer
qualify=yes
port=5060
context=from-trunk
fromuser=603XXXXXXX
host=onecps.onvoip.net
registersip=no
username=WebSolutions
secret=603XXXXXXX
dtmfmode=inband
insecure=very


extensions.conf
[from-trunk]
exten =&gt; _6035467131,1,Wait(1)
exten =&gt; _6035467131,2,Dial(SIP/4610)
;exten =&gt; _6035467131,3,Playback(ws-ivr)
;exten =&gt; _6035467131,4,Hangup


The debug looks like:
    -- Executing [6035467131@from-trunk:1] Wait("SIP/wsol-00820870",
"1") in new stack
    -- Executing [6035467131@from-trunk:2] Dial("SIP/wsol-00820870",
"SIP/4610") in new stack
    -- Called 4610
    -- SIP/4610-00838160 is ringing
[Dec 11 12:18:38] NOTICE[2624]: chan_sip.c:13753 handle_request_invite:
Call from '' to extension '6035467131' rejected because extension not found.
    -- SIP/4610-00838160 answered SIP/wsol-00820870
Really destroying SIP dialog
'<a class="moz-txt-link-abbreviated" href="mailto:08c6697823d4542917eaaf607babc786@10.100.0.1">08c6697823d4542917eaaf607babc786@10.100.0.1</a>' Method: NOTIFY
    -- Executing [6035467131@from-trunk:1] Wait("SIP/wsol-00845fe0",
"1") in new stack
    -- Executing [6035467131@from-trunk:2] Dial("SIP/wsol-00845fe0",
"SIP/4610") in new stack
    -- Called 4610
    -- SIP/4610-0084a310 is ringing
[Dec 11 12:18:49] WARNING[2624]: chan_sip.c:1939 retrans_pkt: Maximum
retries exceeded on transmission
<a class="moz-txt-link-abbreviated" href="mailto:BW1118323791112071484076745@63.123.133.46">BW1118323791112071484076745@63.123.133.46</a> for seqno 624360222 (Critical
Response)
[Dec 11 12:18:49] WARNING[2624]: chan_sip.c:1963 retrans_pkt: Hanging up
call <a class="moz-txt-link-abbreviated" href="mailto:BW1118323791112071484076745@63.123.133.46">BW1118323791112071484076745@63.123.133.46</a> - no reply to our
critical packet.
  == Spawn extension (from-trunk, 6035467131, 2) exited non-zero on
'SIP/wsol-00820870'
Really destroying SIP dialog '<a class="moz-txt-link-abbreviated" href="mailto:BW1118323791112071484076745@63.123.133.46">BW1118323791112071484076745@63.123.133.46</a>'
Method: INVITE
Really destroying SIP dialog
'<a class="moz-txt-link-abbreviated" href="mailto:70b229a97f4c4ef260c10e6c6965c52e@70.42.88.212">70b229a97f4c4ef260c10e6c6965c52e@70.42.88.212</a>' Method: INVITE
    -- SIP/4610-0084a310 answered SIP/wsol-00845fe0
[Dec 11 12:18:51] NOTICE[2624]: chan_sip.c:13753 handle_request_invite:
Call from '' to extension '603XXXXXXX' rejected because extension not found.
  == Spawn extension (from-trunk, 603XXXXXXX, 2) exited non-zero on
'SIP/wsol-00845fe0'
Really destroying SIP dialog
'<a class="moz-txt-link-abbreviated" href="mailto:462aeb5a7b7f52466d86e3bc76522cd4@70.42.88.212">462aeb5a7b7f52466d86e3bc76522cd4@70.42.88.212</a>' Method: BYE
[Dec 11 12:18:58] WARNING[2624]: chan_sip.c:1939 retrans_pkt: Maximum
retries exceeded on transmission
<a class="moz-txt-link-abbreviated" href="mailto:BW111838430111207-1062853444@204.11.119.46">BW111838430111207-1062853444@204.11.119.46</a> for seqno 624363248 (Critical
Response)
Really destroying SIP dialog
'<a class="moz-txt-link-abbreviated" href="mailto:BW111838430111207-1062853444@204.11.119.46">BW111838430111207-1062853444@204.11.119.46</a>' Method: INVITE
Really destroying SIP dialog
'<a class="moz-txt-link-abbreviated" href="mailto:14759432128ecc917770dfe13b04d62e@70.42.88.212">14759432128ecc917770dfe13b04d62e@70.42.88.212</a>' Method: OPTIONS
Really destroying SIP dialog
'<a class="moz-txt-link-abbreviated" href="mailto:38f98144458b6d447752590f0018c287@10.100.0.1">38f98144458b6d447752590f0018c287@10.100.0.1</a>' Method: OPTIONS
[Dec 11 12:19:01] WARNING[2624]: chan_sip.c:1939 retrans_pkt: Maximum
retries exceeded on transmission
<a class="moz-txt-link-abbreviated" href="mailto:BW1118457001112071270417812@63.123.133.46">BW1118457001112071270417812@63.123.133.46</a> for seqno 624366883 (Critical
Response)
Really destroying SIP dialog '<a class="moz-txt-link-abbreviated" href="mailto:BW1118457001112071270417812@63.123.133.46">BW1118457001112071270417812@63.123.133.46</a>'
Method: INVITE
Really destroying SIP dialog
'<a class="moz-txt-link-abbreviated" href="mailto:4b2d0bc83371a9cc331c07c37ec1e5a9@70.42.88.212">4b2d0bc83371a9cc331c07c37ec1e5a9@70.42.88.212</a>' Method: OPTIONS
Really destroying SIP dialog
'<a class="moz-txt-link-abbreviated" href="mailto:08ce62a265986f4d6229a78d74503092@70.42.88.212">08ce62a265986f4d6229a78d74503092@70.42.88.212</a>' Method: OPTIONS


_______________________________________________
--Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</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>
  <pre wrap=""><!---->
_______________________________________________
--Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</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>
<br>
</body>
</html>