<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Is the phone behind NAT ?</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=rschall@callone.net href="mailto:rschall@callone.net">Rob Schall</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List -
Non-Commercial Discussion</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 12, 2007 4:00
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [asterisk-users] Asterisk
not sending 200 OK</DIV>
<DIV><BR></DIV>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>"><rschall@callone.net></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 => _6035467131,1,Wait(1)
exten => _6035467131,2,Dial(SIP/4610)
;exten => _6035467131,3,Playback(ws-ivr)
;exten => _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>
<P>
<HR>
<P></P>_______________________________________________<BR>--Bandwidth and
Colocation Provided by http://www.api-digital.com--<BR><BR>asterisk-users
mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users</BLOCKQUOTE></BODY></HTML>