I can't believe I fixed the problem, but here's what I did:<br><br>1. Checked the "Use Media Termination Point" in the profile for the SIP trunk in Call Manager.<br>2. Split the SIP config for Call Manager into separate inbound and outbound settings like so:<br>
3. Added the "insecure=very" to the "callmanout" section.<br><br>[callmanout]<br>type=peer<br>context=incoming<br>insecure=very<br>host=(ip of server)<br>disallow=all<br>allow=ulaw<br>allow=alaw<br>nat=no<br>
canreinvite=yes<br>qualify=yes<br><br>[callmanin]<br>host=(ip of server)<br>type=user<br>context=incoming<br><br>And suddenly it's working great!<br><br>Aaron<br><br><div class="gmail_quote">On Thu, Mar 6, 2008 at 9:54 AM, Aaron Fransen <<a href="mailto:aaron.fransen@gmail.com">aaron.fransen@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I have Asterisk 1.4 tied via SIP to a Cisco Callmanager 6.1 system. Calls between the systems (ie. extension to extension) work perfectly.<br>
<br>However when I attempt to make an outside call from an Asterisk extension through Call Manager to the outside world, it connects but only for a few seconds, and on the Asterisk console I get:<br>
<br>Got SIP response 503 "Service Unavailable" back from (ip of call manager)<br><br>Coming the other way, if I call into the Call Manager system (from my cell to be exact), then transfer my call to the Asterisk SIP phone (an Aastra 57i), on the cell I can hear the voice on the Aastra, but the Aastra can only hear the Asterisk music on hold! As I mentioned though, going the other way and calling out from Asterisk to my cell works perfectly...for between 5 and 10 seconds (it varies), then disconnects with the above error.<br>
<br>My sip.conf looks like this:<br><br>[callman]<br>type=friend<br>context=incoming<br>host=(ip of call manager)<br>disallow=all<br>allow=ulaw<br>allow=alaw<br>nat=yes<br>canreinvite=yes<br>qualify=yes<br><br>I've tried experimenting with the "externip" and "localnet" parameters to no effect.<br>
<br>Any ideas?<br><br>
</blockquote></div><br>