<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>RE: [Asterisk-Users] Troubleshooting Asterisk</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">></FONT></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">Great :-)</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">></FONT></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">If you use context=from-sip in sip.conf, you should include the [voiptalk]</FONT></SPAN><SPAN LANG="en-gb"> <FONT SIZE=2 FACE="Courier New">></FONT></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">context into your [from-sip] context. (in the extension.conf)</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">></FONT></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">eg.</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">></FONT></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">[from-sip]</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">></FONT></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">include => 2001</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">></FONT></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">include => 2002</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">></FONT></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">include => voiptalk</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">></FONT></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">This way the Cisco's can call eachother, and dialout using the dial-</FONT></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">></FONT></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">patterns defined in [voiptalk]</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Done. D</FONT></SPAN><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">oesn’t</FONT></SPAN><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> want to work (bearing in mind that</FONT></SPAN><SPAN LANG="en-gb"> <FONT COLOR="#000000" SIZE=2 FACE="Courier New">I</FONT></SPAN><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">'</FONT></SPAN><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">m behind a NAT,</FONT></SPAN><SPAN LANG="en-gb"> <FONT COLOR="#000000" SIZE=2 FACE="Courier New">I</FONT></SPAN><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> presume</FONT></SPAN><SPAN LANG="en-gb"> <FONT COLOR="#000000" SIZE=2 FACE="Courier New">I</FONT></SPAN><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> need to activate the NAT=yes settings. Also are there any ports that need to be allowed through the NAT firewall at all? I could always just DMZ the box...</FONT></SPAN><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">.</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Called number is 01934830055.</FONT></SPAN><SPAN LANG="en-gb"> <FONT COLOR="#000000" SIZE=2 FACE="Courier New">The trace</FONT></SPAN><SPAN LANG="en-gb"> <FONT COLOR="#000000" SIZE=2 FACE="Courier New">I</FONT></SPAN><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">'m seeing is as follows...</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Using latest request as basis request</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Sending to 192.168.1.151 : 5060 (non-NAT)</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Found RTP audio format 0</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Found RTP audio format 8</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Found RTP audio format 18</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Found RTP audio format 101</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Peer audio RTP is at port 192.168.1.151:17084</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Found description format PCMU</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Found description format PCMA</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Found description format G729</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Found description format telephone-event</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Capabilities: us - 0x8000e (gsm|ulaw|alaw|h263), peer - audio=0x10c (ulaw|alaw|g729)/video=0x0 (nothing), combined - 0xc (ulaw|alaw)</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Non-codec capabilities: us - 0x1 (g723), peer - 0x1 (g723), combined - 0x1 (g723)</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Found user '2001'</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Looking for 01934830055 in from-sip</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Reliably Transmitting (no NAT):</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">SIP/2.0 404 Not Found</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.1.151:5060;branch=z9hG4bK6bd504eb</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">From: "2001" <sip:2001@192.168.1.150>;tag=000e833cb157000b51278729-524afec6</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">To: <sip:01934830055@192.168.1.150>;tag=as582ddfdc</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Call-ID: 000e833c-b157000c-280d19df-5ea7d02f@192.168.1.151</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">CSeq: 102 INVITE</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">User-Agent: Asterisk PBX</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Contact: <sip:01934830055@192.168.1.150></FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Content-Length: 0</FONT></I></SPAN></P>
<BR>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New"> to 192.168.1.151:5060</FONT></I></SPAN></P>
<BR>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Sip read:</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">ACK sip:01934830055@192.168.1.150 SIP/2.0</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.1.151:5060;branch=z9hG4bK6bd504eb</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">From: "2001" <sip:2001@192.168.1.150>;tag=000e833cb157000b51278729-524afec6</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">To: <sip:01934830055@192.168.1.150>;tag=as582ddfdc</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Call-ID: 000e833c-b157000c-280d19df-5ea7d02f@192.168.1.151</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Date: Tue, 21 Dec 2004 11:11:01 GMT</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">CSeq: 102 ACK</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Content-Length: 0</FONT></I></SPAN></P>
<BR>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">8 headers, 0 lines</FONT></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><I><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Destroying call '000e833c-b157000c-280d19df-5ea7d02f@192.168.1.151'</FONT></I></SPAN><SPAN LANG="en-gb"><I></I></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Any thoughts? I've for the [voiptalk] Iax information in iax.conf..</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">[voiptalk]</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">type=peer</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">username=username</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">secret=password</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">host=217.14.132.162 ;ip addr for voiptalk</FONT></SPAN></P>
<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT COLOR="#000000" SIZE=2 FACE="Courier New">Paul</FONT></SPAN><SPAN LANG="en-gb"></SPAN></P>
</BODY>
</HTML>