Ah - no, I didn't do that. I have added the asterisk box as a sip peer and that seems to have taken care of the authentication issue. Now the proxy log shows the following. <div><br><div><div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Call from PSTN - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Load peer preferences for peer host '4' - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Load dialplan IDs for peer host '4' - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Fetched dialplan IDs caller_in='<null>', callee_in='<null>' - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Dialog set mark total - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Dialog set mark peer to '4' - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: IP authorization for caller not provisioned, allow call - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: User-Provided CLI '412' taken from From-User - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Network-Provided CLI '412' taken from From-User - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Setting '<a href="mailto:412@196.41.124.44">412@196.41.124.44</a>' as initiating user-provided CLI - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Setting '<a href="mailto:412@196.41.124.44">412@196.41.124.44</a>' as initiating network-provided CLI - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Searching for callee - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Clear callee preferences - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Callee is not local - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Check Administrative NCOS level - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Check User NCOS level - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Checking URI '<a href="mailto:410@196.41.123.113">410@196.41.123.113</a>' and CLI '410' against block out lists - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Admin caller block mode is 'open' - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Caller block mode is 'open' - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Call to unknown user - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Accounting failed request for uuid '0' - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Setting acc source-leg for uuid '0': '0|412|196.41.124.44|412|||<null>|||0|call|<null>|1360762109.002407' - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>: Setting acc destination-leg for uuid '0': '0|||<null>|410|0|410|196.41.123.113|410|196.41.123.113' - R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 ID=<a href="http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060">0e1a56675252333336a766f30307c35e@196.41.124.44:5060</a></div>
<div>Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2141]: INFO: <script>: New request - M=ACK R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 F=<a href="mailto:sip%3A412@196.41.124.44">sip:412@196.41.124.44</a> T=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123 IP=<a href="http://196.41.124.44:5060">196.41.124.44:5060</a> (<a href="http://127.0.0.1:5060">127.0.0.1:5060</a>) ID=0e1a5667525233</div>
<br><div class="gmail_quote">On Wed, Feb 13, 2013 at 3:18 PM, Jon Bonilla <span dir="ltr"><<a href="mailto:jbonilla@sipwise.com" target="_blank">jbonilla@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
El Wed, 13 Feb 2013 15:07:42 +0200<br>
<div class="im">African Axess African Axess <<a href="mailto:axessofficetheo@gmail.com">axessofficetheo@gmail.com</a>> escribió:<br>
<br>
> Hi<br>
><br>
</div><div class="im">> Yes, both are registered - calls from TO the one directly registered to<br>
> asterisk work.<br>
><br>
> From the proxy log:<br>
><br>
> NFO: <script>: Authentication failed, no credentials -<br>
> R=sip:410@196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123<br>
> ID=2b30b57016c4b5ed1883006563fe9674@196.xx.xx.xx:5060<br>
><br>
> and from ngrep-sip a similar message:<br>
><br>
> U 2013/02/13 15:00:35.284349 <a href="http://127.0.0.1:5062" target="_blank">127.0.0.1:5062</a> -> <a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a><br>
> SIP/2.0 407 Proxy Authentication Required'<br>
> Via: SIP/2.0/UDP<br>
> 127.0.0.1;branch=z9hG4bK1656.9380421a794a31f26f603fe5fb55b4e9.0'<br>
> Via: SIP/2.0/UDP 196.xx.xx.xx:5060;rport=5060;branch=z9hG4bK503395dd'<br>
> From: "412" <sip:412@196.xx.xx.xx>;tag=as2a6593ec'<br>
> To: <<a href="http://sip:410@196.41.123.113:5060" target="_blank">sip:410@196.41.123.113:5060</a><br>
> ;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.73c2'<br>
> Call-ID: <a href="http://6a1fb34558dcdf286d35b00a1e981e71@196.41.124.44:5060" target="_blank">6a1fb34558dcdf286d35b00a1e981e71@196.41.124.44:5060</a>'<br>
> CSeq: 102 INVITE'<br>
> Proxy-Authenticate: Digest realm="196.xx.xx.xx,<br>
> nonce="URuPnVEbjnG3vmSb3KJqhWPMev0ZbjkM"'<br>
> Server: Sipwise NGCP Proxy 2.X'<br>
> Content-Length: 0'<br>
><br>
><br>
<br>
</div>Did you add the asterisk box as a peer? I'd need something else to check what<br>
happened. I don't know what 407 that is.<br>
</blockquote></div><br></div></div>