<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>i've got * and phones in small home network all behind NAT. Outbound to
iconnect proxy works great. Now to get in/out working with another carrier.
Carrier2, Commpartners, i have working with one of the phones and a soft phone
without * just fine. <br>
<br>
Next I register the phone with * fine. Create a trunk, but it the trunk fails
to register... help <br>
<br>
I'm getting the following msg during registration: <br>
to 66.218.79.147:5060 <br>
Retransmitting #5 (no NAT): <br>
REGISTER sip:xxxxx.net SIP/2.0 <br>
<br>
SIP.CONF= <br>
; Note: If your SIP devices are behind a NAT and your Asterisk <br>
; server isn't, try adding "nat=1" to each peer definition to <br>
; solve translation problems. <br>
<br>
[general] <br>
<br>
; 2005-03-14 <br>
externip={external ip} <br>
localnet=192.168.2.0 ;(i.e.192.168.1.0) <br>
localmask=255.255.255.0 ;(or whatever your localnet mask) <br>
nat=yes <br>
<br>
port = 5060 ; Port to bind to (SIP is 5060) <br>
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine) <br>
disallow=all <br>
allow=ulaw <br>
allow=alaw <br>
context = from-sip-external ; Send unknown SIP callers to this context <br>
callerid = Unknown <br>
<br>
#include sip_nat.conf <br>
#include sip_additional.conf <br>
<br>
<br>
register={userid}:{password}@{domain}.net <br>
<br>
[200] <br>
username=200 <br>
type=friend <br>
secret=??? <br>
qualify=no <br>
port=5060 <br>
pickupgroup= <br>
nat=never <br>
mailbox= <br>
host=dynamic <br>
dtmfmode=rfc2833 <br>
disallow= <br>
context=from-internal <br>
canreinvite=no <br>
callgroup= <br>
callerid="Demo" <200> <br>
allow= <br>
<br>
[CP 9929] <br>
username={username} <br>
type=peer <br>
secret={password} <br>
host={host} <br>
<br>
[cp-in-01] <br>
type=user <br>
context=from-pstn <o:p></o:p></span></font></p>
</div>
</body>
</html>