<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); position: static; z-index: auto; ">One of the things I'm trying to do it to connect my 8x8 DTA 310 terminal adapter onto my asterisk. I have the 8x8 box connected to the Internet, and the phone line connected to an fxo port on a Cisco router:</div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); position: static; z-index: auto; "><br></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); position: static; z-index: auto; "><div>voice-port 0/2/0</div><div> connection plar opx 5000</div><div> caller-id enable</div></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); position: static; z-index: auto; "><div>dial-peer voice 200 voip</div><div> destination-pattern 5...</div><div> session protocol sipv2</div><div> session target sip-server</div><div> codec g711ulaw</div><div>! </div><div>sip-ua </div><div> sip-server ipv4:172.16.200.212 <------ Asterisk server</div></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">When I make a call from the PSTN to the 8x8 box, it does send ring back to the asterisk server and the Digium phone does ring. However, as soon as the phone rings the call disconnects yet the actual phone, extension 5000, rings two times before it hangs up, also.</div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">The following output is what I see on the Asterisk console:</div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div>asterisk*CLI> </div><div> == Using SIP RTP CoS mark 5</div><div>[Oct 18 16:27:46] NOTICE[1513]: chan_sip.c:23352 handle_request_invite: Call from '' (172.16.200.1:65451) to extension '5000' rejected because extension not found in context 'default'.</div><div> == Using SIP RTP CoS mark 5</div><div> -- Executing [5000@pstn-incoming:1] Dial("SIP/172.16.200.1-00000006", "SIP/5000,20|p") in new stack</div><div> == Using SIP RTP CoS mark 5</div><div> -- Called SIP/5000</div><div> -- SIP/5000-00000007 is ringing</div><div> == Spawn extension (pstn-incoming, 5000, 1) exited non-zero on 'SIP/172.16.200.1-00000006'</div></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">The 172.16.200.1 is my router.</div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">sip.conf excerpt:</div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div>[5000]</div><div>type=friend</div><div>context=phones</div><div>host=dynamic</div><div>disallow=all</div><div>allow=ulaw</div><div>secret=cisco123</div><div>mailbox=5000@phones</div><div><br></div><div>[172.16.200.1]</div><div>context=pstn-incoming</div><div>type=friend</div><div>host=172.16.200.1</div><div>dtmfmode=rfc2833</div><div>disallow=all</div><div>allow=ulaw</div></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div>[phones]</div><div><span style="font-size: 10pt; ">exten => 5000,1,Dial(SIP/${EXTEN},20|p)</span></div><div><span style="font-size: 10pt; ">exten => 5000,n,Hangup</span></div><div><br></div><div>[pstn-incoming]</div><div>include=phones</div></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Any help would be greatly appreciated,</div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); position: static; z-index: auto; ">Thanks,</div></body></html>