{"id":838,"date":"2009-10-12T19:32:34","date_gmt":"2009-10-13T01:32:34","guid":{"rendered":"http:\/\/gregsowell.com\/?p=838"},"modified":"2009-10-12T19:32:51","modified_gmt":"2009-10-13T01:32:51","slug":"838","status":"publish","type":"post","link":"https:\/\/gregsowell.com\/?p=838","title":{"rendered":"Cisco \u2013 Troubleshoot T1 PRI"},"content":{"rendered":"<p>So we have been turning up a new PRI lately and had HUGE amounts of trouble with it. It all came down to the fact that the telco told us to use the wrong PRI type, but that\u2019s the fix\u2026the fun was in the journey. Here are the steps we took to resolve the issue.<\/p>\n<p>We first do a show isdn status. You want to see <strong>MULTIPLE_FRAME_ESTABLISH<\/strong>. This means that everything is hunky dory.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-839\" title=\"shisdnstat\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2009\/10\/shisdnstat.JPG\" alt=\"shisdnstat\" width=\"618\" height=\"230\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2009\/10\/shisdnstat.JPG 618w, https:\/\/gregsowell.com\/wp-content\/uploads\/2009\/10\/shisdnstat-300x111.jpg 300w\" sizes=\"auto, (max-width: 618px) 100vw, 618px\" \/><\/p>\n<p><a title=\"blocked::http:\/\/statusissingleandlookingtomingle.allisgood.\/\" href=\"http:\/\/statusissingleandlookingtomingle.allisgood.\/\"><\/a><\/p>\n<p>Next we want to check the layer 3 ISDN info, so issue the <strong>debug isdn q931<\/strong> command. Here you can see what would happen when we tried to make inbound calls.<\/p>\n<div id=\"attachment_1046\" style=\"width: 660px;\">\n<p-caption-text><\/p-caption-text>\n<p-caption-text><\/p-caption-text>\n<p-caption-text><\/p-caption-text>\n<p-caption-text><\/p-caption-text>Note the disconnect <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-840\" title=\"pri2\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2009\/10\/pri2.JPG\" alt=\"pri2\" width=\"650\" height=\"309\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2009\/10\/pri2.JPG 650w, https:\/\/gregsowell.com\/wp-content\/uploads\/2009\/10\/pri2-300x142.jpg 300w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/div>\n<p>As you can see, we were getting a disconnect message right after we received the status message from the telco. It just looks like the router no likey\u2026but it turns out it was call manager that no likey.<\/p>\n<p>If you issue the <strong>debug ccm-manager backhaul packets<\/strong> command, you would notice that the telco would send us status. Then the router would send an MGCP message to the callmanager. The callmanager would promptly reply with the disconnect message. The router would then pass this disconnect message to the telco. The line type was supposed to be NI2, so the router has the configuration set as such:<br \/>\n<!--DEVFMTCODE--><\/p>\n<pre title=\"Text\">\r\n<div>\r\n<ol>\r\n\t<li>network-clock-participate wic 1<\/li>\r\n\t<li>network-clock-select 1 T1 0\/0<\/li>\r\n\t<li>voice-card 0<\/li>\r\n\t<li> dspfarm<\/li>\r\n\t<li>isdn switch-type primary-ni<\/li>\r\n\t<li>!<\/li>\r\n\t<li>controller T1 0\/0<\/li>\r\n\t<li> framing esf<\/li>\r\n\t<li> linecode b8zs<\/li>\r\n\t<li> pri-group timeslots 1-24 service mgcp<\/li>\r\n\t<li>!<\/li>\r\n\t<li>mgcp<\/li>\r\n\t<li>mgcp call-agent 1.1.1.1 2427 service-type mgcp version 0.1<\/li>\r\n\t<li>mgcp dtmf-relay voip codec all mode out-of-band<\/li>\r\n\t<li>mgcp rtp unreachable timeout 1000 action notify<\/li>\r\n\t<li>mgcp modem passthrough voip mode nse<\/li>\r\n\t<li>mgcp package-capability rtp-package<\/li>\r\n\t<li>no mgcp package-capability res-package<\/li>\r\n\t<li>mgcp package-capability sst-package<\/li>\r\n\t<li>no mgcp package-capability fxr-package<\/li>\r\n\t<li>no mgcp timer receive-rtcp<\/li>\r\n\t<li>mgcp sdp simple<\/li>\r\n\t<li>mgcp fax t38 inhibit<\/li>\r\n\t<li>no mgcp explicit hookstate<\/li>\r\n\t<li>mgcp rtp payload-type g726r16 static<\/li>\r\n\t<li>!<\/li>\r\n\t<li>dial-peer voice 100 pots<\/li>\r\n\t<li> application mgcpapp<\/li>\r\n\t<li> port 0\/0:23<\/li>\r\n\t<li>!<\/li>\r\n\t<li>interface Serial0\/0:23<\/li>\r\n\t<li> description [CID]<\/li>\r\n\t<li> no ip address<\/li>\r\n\t<li> no logging event link-status<\/li>\r\n\t<li> isdn switch-type primary-ni !**this is for ni or ni2**<\/li>\r\n\t<li> isdn incoming-voice voice<\/li>\r\n\t<li> isdn bind-l3 ccm-manager<\/li>\r\n\t<li> no cdp enable<\/li>\r\n<\/ol>\r\n<\/div><\/pre>\n<p><!--END_DEVFMTCODE--><\/p>\n<p>The fix was to set the pri type to 5E8 in the callmanager. <strong>Device -> Gateway -> MYGateway: PRI Type 5E8<\/strong>. Originally we had it set to NI2, as the carrier told us, but it doesn\u2019t work that way. We would receive the status message which meant nothing to callmanager and we would disconnect.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So we have been turning up a new PRI lately and had HUGE amounts of trouble with it. It all came down to the\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,16,8,19],"tags":[],"class_list":["post-838","post","type-post","status-publish","format-standard","hentry","category-callmanager","category-cisco","category-networking","category-voip"],"_links":{"self":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=838"}],"version-history":[{"count":3,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/838\/revisions"}],"predecessor-version":[{"id":843,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/838\/revisions\/843"}],"wp:attachment":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}