<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Skia; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Skia; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Skia; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Palatino; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: 'TI Uni'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: 'TI Uni'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: 'TI Uni'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: 'TI Uni'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Skia; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>Hi I have searched the mailing lists and come across similar threads, but no actual solution. I am trying to use a Cisco AS5300 as a gateway for PSTNr. I have been able to configure it to take outbound calls and send them to the PSTN just fine. Inbound calls however are rejected by asterisk with "488 Not acceptable here" code.</div><div><br></div><div>here are the details:</div><div><br></div><div>AS5300:</div><div>IOS (tm) 5300 Software (C5300-JS-M), Version 12.3(23), RELEASE SOFTWARE (fc5)</div><div><br></div><div><div>Current configuration : 3939 bytes</div><div><br></div><div>version 12.3</div><div>service timestamps debug datetime msec</div><div>service timestamps log datetime msec</div><div>no service password-encryption</div><div>!</div><div>hostname K_AS5300_3</div><div>!</div><div>boot-start-marker</div><div>boot-end-marker</div><div>!</div><div>enable password ******</div><div>!</div><div>resource-pool disable</div><div>clock timezone EST -5</div><div>clock summer-time EDT recurring</div><div>!</div><div>no aaa new-model</div><div>ip subnet-zero</div><div>!</div><div>!</div><div>isdn switch-type primary-dms100</div><div>!</div><div>!</div><div>voice service voip </div><div> sip</div><div> bind all source-interface FastEthernet0</div><div><br></div><div>controller T1 0</div><div> framing esf</div><div> clock source line primary</div><div> linecode b8zs</div><div> pri-group timeslots 1-24</div><div>!</div><div><div>controller T1 1</div><div> framing esf</div><div> clock source line secondary 1</div><div> linecode b8zs</div><div> pri-group timeslots 1-24</div><div>!</div><div>controller T1 2</div><div> framing esf</div><div> linecode b8zs</div><div> pri-group timeslots 1-24</div><div>!</div><div>controller T1 3</div><div> framing esf</div><div> linecode b8zs</div><div> pri-group timeslots 1-24</div><div>!</div><div>!</div><div>!</div><div>interface Ethernet0</div><div> no ip address</div><div> shutdown</div><div>!</div><div>interface Serial0:23</div><div> no ip address</div><div> encapsulation hdlc</div><div> isdn switch-type primary-dms100</div><div> isdn incoming-voice modem 64</div><div> no cdp enable</div><div>!</div><div>interface Serial1:23</div><div> no ip address</div><div> encapsulation hdlc</div><div> isdn switch-type primary-dms100</div><div> isdn incoming-voice modem 64</div><div> no cdp enable</div><div>!</div><div>interface Serial2:23</div><div> no ip address</div><div> encapsulation hdlc</div><div> isdn switch-type primary-dms100</div><div> isdn incoming-voice modem 64</div><div> no cdp enable</div><div>!</div><div>interface Serial3:23</div><div> no ip address</div><div> encapsulation hdlc</div><div> isdn switch-type primary-dms100</div><div> isdn incoming-voice modem 64</div><div> no cdp enable</div><div>!</div><div><div>interface FastEthernet0</div><div> ip address 172.31.2.7 255.255.255.0</div><div> duplex auto</div><div> speed auto</div><div>!</div><div>ip classless</div><div>ip route 0.0.0.0 0.0.0.0 172.31.2.1</div><div>no ip http server</div><div>!</div><div>!</div><div>!</div><div>!</div><div>!</div><div>!</div><div>voice-port 0:D</div><div>!</div><div>voice-port 1:D</div><div>!</div><div>voice-port 2:D</div><div>!</div><div>voice-port 3:D</div><div>!</div><div>!</div><div>!</div><div>dial-peer voice 100 voip</div><div> application session</div><div> destination-pattern 678.......</div><div> signaling forward unconditional</div><div> session protocol sipv2</div><div> session target sip-server</div><div> session transport udp</div><div> dtmf-relay rtp-nte</div><div> codec g711ulaw</div><div> no vad</div><div>!</div><div>dial-peer voice 101 voip</div><div> destination-pattern 770.......</div><div> progress_ind setup enable 3</div><div> session protocol sipv2</div><div> session target sip-server</div><div> session transport udp</div><div> dtmf-relay rtp-nte</div><div> codec g711ulaw</div><div> no vad</div><div>!</div><div>dial-peer voice 102 voip</div><div> destination-pattern 404.......</div><div> progress_ind setup enable 3</div><div> session protocol sipv2</div><div> session target sip-server</div><div><div>session transport udp</div><div> dtmf-relay rtp-nte</div><div> codec g711ulaw</div><div> no vad</div><div>!</div><div>dial-peer voice 103 voip</div><div> destination-pattern 470.......</div><div> progress_ind setup enable 3</div><div> session protocol sipv2</div><div> session target sip-server</div><div> session transport udp</div><div> dtmf-relay rtp-nte</div><div> codec g711ulaw</div><div> no vad</div><div>!</div><div>dial-peer voice 200 pots</div><div> application session</div><div> incoming called-number .</div><div> destination-pattern 91..........</div><div> direct-inward-dial</div><div> port 0:D</div><div> prefix 1</div><div>!</div><div>dial-peer voice 201 pots</div><div> application session</div><div> incoming called-number .</div><div> destination-pattern 9..........</div><div> direct-inward-dial</div><div> port 0:D</div><div>!</div><div>dial-peer voice 202 pots</div><div> application session</div><div> incoming called-number .</div><div> destination-pattern 91..........</div><div> direct-inward-dial</div><div> port 1:D</div><div> prefix 1</div><div>!</div><div>dial-peer voice 203 pots</div><div> application session</div><div> incoming called-number .</div><div> destination-pattern 9..........</div><div> direct-inward-dial</div><div> port 1:D</div><div>!</div><div>dial-peer voice 204 pots</div><div> application session</div><div> incoming called-number .</div><div> destination-pattern 91..........</div><div> direct-inward-dial</div><div><div>dial-peer voice 204 pots</div><div> application session</div><div> incoming called-number .</div><div> destination-pattern 91..........</div><div> direct-inward-dial</div><div> port 2:D </div><div> prefix 1</div><div>!</div><div>dial-peer voice 205 pots</div><div> application session</div><div> incoming called-number .</div><div> destination-pattern 9..........</div><div> direct-inward-dial</div><div> port 2:D</div><div>!</div><div>dial-peer voice 206 pots</div><div> application session</div><div> incoming called-number .</div><div> destination-pattern 91..........</div><div> direct-inward-dial</div><div> port 3:D</div><div> prefix 1</div><div>!</div><div>dial-peer voice 207 pots</div><div> application session</div><div> incoming called-number .</div><div> destination-pattern 9..........</div><div> direct-inward-dial</div><div> port 3:D</div><div>!</div><div>sip-ua </div><div> retry invite 4</div><div> retry response 3</div><div> retry bye 2</div><div> retry cancel 2</div><div> sip-server ipv4:172.31.2.29</div><div>!</div><div>!</div><div>line con 0</div><div>line aux 0</div><div>line vty 0 4</div><div> password ****</div><div> login</div><div>!</div><div>ntp clock-period 17179848</div><div>ntp peer 192.43.244.18</div><div>end</div><div><br></div><div>Asterisk:</div><div>Asterisk 1.2.12.1 on a x86_64 running Linux</div><div><br></div><div>sip.conf:</div><div><br></div><div><div>[general]</div><div>context=default ; Default context for incoming calls</div><div>bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)</div><div>bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)</div><div>srvlookup=yes ; Enable DNS SRV lookups on outbound calls</div></div><div><br></div><div><div>[as5300_1]</div><div>type=peer</div><div>host=172.31.2.7</div><div>permit=172.31.2.7/255.255.255.255</div><div>defaultip=172.31.2.7</div><div>disallow=all</div><div>allow=ulaw</div><div>allow=gsm</div><div>allow=alaw</div><div>nat=no</div><div>canreinvite=yes</div><div>dtmfmode=rfc2833</div><div><br></div><div>I have also included links to text files containing debug from both asterisk and the as5300 for a successful outbound call as well as a failed inbound call. Any help on gettign the inbound to work would be great. Thanks in advance.</div><div><br></div><div><a href="http://www.ketema.net/">http://www.ketema.net/</a><span class="Apple-style-span" style="font-family: 'Lucida Grande'; ">outbound_asterisk_debug.rtf</span></div><div><a href="http://www.ketema.net/">http://www.ketema.net/</a><span class="Apple-style-span" style="font-family: 'Lucida Grande'; ">outbound_cisco_debug.rtf</span></div><div><a href="http://www.ketema.net/">http://www.ketema.net/</a><span class="Apple-style-span" style="font-family: 'Lucida Grande'; ">inbound_debug_asterisk.rtf</span></div><div><a href="http://www.ketema.net/">http://www.ketema.net/</a><span class="Apple-style-span" style="font-family: 'Lucida Grande'; ">inbound_debug_cisco.rtf</span></div><div></div></div></div></div></div></div></div></span></span></span></span></span></span></span></span></span></div><br><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Skia; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Skia; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Skia; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Palatino; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: 'TI Uni'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: 'TI Uni'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: 'TI Uni'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: 'TI Uni'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Skia; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><div><div><div><div><div><div></div><div><br></div></div></div></div></div></div></div></span></span></span></span></span></span></span></span></span></div></body></html>