<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="MSHTML 8.00.7601.18035">
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p>Simplified diagram is attached.  Lab network.</p>
<p style="PADDING-BOTTOM: 0px; MIN-HEIGHT: 8pt; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 8pt; PADDING-TOP: 0px">
</p>
<p>Scenario:  Using a 2811 router as a PSTN emulator.  Has a 2 port FXS card installed.  One port has an analog phone attached, other port is connected to a 4 port FXO card installed into a 2951 router.  2951 is H323 with CUCM 8.6.  Simple/test dial peers configured. 
 Snippets below:</p>
<p style="PADDING-BOTTOM: 0px; MIN-HEIGHT: 8pt; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 8pt; PADDING-TOP: 0px">
</p>
<p>PSTN Emulator:</p>
<p>!</p>
<p>voice-port 0/0/0</p>
<p>!</p>
<p>voice-port 0/0/1</p>
<p>!</p>
<p>!</p>
<p>!</p>
<p>!</p>
<p>dial-peer voice 1 pots</p>
<p>description Emulating legacy PATCOM number</p>
<p>destination-pattern 0999</p>
<p>port 0/0/1</p>
<p>!</p>
<p>dial-peer voice 2 pots</p>
<p>description Emulating tie line to Access Terminal</p>
<p>destination-pattern 9999</p>
<p>port 0/0/0</p>
<p style="PADDING-BOTTOM: 0px; MIN-HEIGHT: 8pt; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 8pt; PADDING-TOP: 0px">
</p>
<p>H323 Gateway Router</p>
<p>!</p>
<p>voice-port 0/1/0</p>
<p>trunk-group FXO</p>
<p>cptone PK</p>
<p>!</p>
<p>voice-port 0/1/1</p>
<p>trunk-group FXO</p>
<p>cptone PK</p>
<p>!</p>
<p>voice-port 0/1/2</p>
<p>trunk-group FXO</p>
<p>cptone PK</p>
<p>!</p>
<p>voice-port 0/1/3</p>
<p>trunk-group FXO</p>
<p>cptone PK</p>
<p>!</p>
<p>!</p>
<p>dial-peer voice 1 pots</p>
<p>description Incoming Call Routing</p>
<p>incoming called-number .</p>
<p>direct-inward-dial</p>
<p>!</p>
<p>dial-peer voice 2 voip</p>
<p>description Incoming Call Routing</p>
<p>incoming called-number .</p>
<p>voice-class codec 1  </p>
<p>dtmf-relay h245-alphanumeric</p>
<p>no vad</p>
<p>!</p>
<p>!<br>
voice-port 0/1/0<br>
trunk-group FXO<br>
cptone PK<br>
!<br>
voice-port 0/1/1<br>
trunk-group FXO<br>
cptone PK<br>
!<br>
voice-port 0/1/2<br>
trunk-group FXO<br>
cptone PK<br>
!<br>
voice-port 0/1/3<br>
trunk-group FXO<br>
cptone PK<br>
!</p>
<p>!</p>
<p>dial-peer voice 999 pots</p>
<p>description Dummy dial peer to test BYOPBX</p>
<p>destination-pattern 0999</p>
<p>port 0/1/0</p>
<p>forward-digits all</p>
<p>!</p>
<p style="PADDING-BOTTOM: 0px; MIN-HEIGHT: 8pt; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 8pt; PADDING-TOP: 0px">
</p>
<p>I have other dial-peers on this router (not shown) that will take the inbound digits.  However, Im never able to pass the digits.</p>
<p style="PADDING-BOTTOM: 0px; MIN-HEIGHT: 8pt; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 8pt; PADDING-TOP: 0px">
</p>
<p>Calls from the VoIP network to the simulated PSTN work fine.  Calls from the PSTN to the VoIP network fail. 
</p>
<p style="PADDING-BOTTOM: 0px; MIN-HEIGHT: 8pt; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 8pt; PADDING-TOP: 0px">
</p>
<p>When I pick up the analog phone, I get the expected dial tone.  I enter "9999" and the call rings to the FXS port and I hear the FXO port answer.  I get the expected secondary (2 stage) dial tone, but then before I can press any digits, the FXo port hangs
 up and I am left with the PSTN router dial tone.</p>
<p style="PADDING-BOTTOM: 0px; MIN-HEIGHT: 8pt; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 8pt; PADDING-TOP: 0px">
</p>
<p>debug voip dialpeer on the H323 router shows no results at all when I try to place the call.</p>
<p>debug voip dialpeer on the PSTN router shows the expected dial peer matching and the expected result.  File is attached.</p>
<p style="PADDING-BOTTOM: 0px; MIN-HEIGHT: 8pt; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 8pt; PADDING-TOP: 0px">
</p>
<p>Additionally, when I observe the output of show voice port summary while I place the call, I see the FXS port (the one that is tied to the FXO port) go off hook and then go back on hook (file also attached)</p>
<p style="PADDING-BOTTOM: 0px; MIN-HEIGHT: 8pt; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 8pt; PADDING-TOP: 0px">
</p>
<p>So, the FXO port appears to be looking for something from the FXS when it answers the call, doesnt get it (or doesnt like what it gets) so it hangs up.</p>
<p style="PADDING-BOTTOM: 0px; MIN-HEIGHT: 8pt; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 8pt; PADDING-TOP: 0px">
</p>
<p>Looking for help...</p>
<p style="PADDING-BOTTOM: 0px; MIN-HEIGHT: 8pt; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 8pt; PADDING-TOP: 0px">
</p>
<p>Jeff</p>
</div>
</body>
</html>