you add your openser and asterisk ip&#39;s in trusted tables and then start openser again.<br><br><div><span class="gmail_quote">On 10/26/07, <b class="gmail_sendername">Max Lock</b> &lt;<a href="mailto:max.lock@gingo.co.uk">
max.lock@gingo.co.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&nbsp;&nbsp;Hi Folks,<br><br>&nbsp;&nbsp;I hope someone can help. I&#39;m using openser 
1.1.1-notls with<br>mediaproxy, an asterisk&nbsp;&nbsp;PSTN gateway, an asterisk voicemail/features<br>server and a trixbox (asterisk) client. I&#39;m also very new to openser<br>which doesn&#39;t help :)<br><br>&nbsp;&nbsp;I&#39;ve setup the openser database with subscribers,domains,aliases, and
<br>gateways etc.<br><br>mysql&gt; select * from dbaliases;<br>| alias_username | alias_domain | username | domain<br><br>| nnnnnn2099 | <a href="http://lhc-asterisk-pstn.yyy.com">lhc-asterisk-pstn.yyy.com</a> | lhc-trixbox1 |
<br><a href="http://lhc-openser.yyy.com">lhc-openser.yyy.com</a><br><br>&nbsp;&nbsp;then I generated an openser.cfg file using the sip:wise sipwizard tool<br>a copy is here <a href="http://pastebin.com/m46ba88d2">http://pastebin.com/m46ba88d2
</a><br><br>&nbsp;&nbsp;My asterisk PSTN gateway (nnn.nnn.nnn.190) is able to pass inbound<br>calls to openser (nnn.nnn.nnn.189), which should then pass them onto<br>trixbox(nnn.nnn.nnn.187). however the calls are failing. On the PSTN
<br>gateway I get the following...<br><br>&nbsp;&nbsp;&nbsp;&nbsp; -- Accepting call from &#39;nnnnnnn1275&#39; to &#39;nnnnnnn2099&#39; on channel<br>0/1, span 1<br>&nbsp;&nbsp;&nbsp;&nbsp; -- Executing Dial(&quot;Zap/1-1&quot;,<br>&quot;SIP/nnnnnnn2099@lhc-openser.isrighthere.com
|30|tTr&quot;) in new stack<br>&nbsp;&nbsp;&nbsp;&nbsp; -- Called <a href="mailto:nnnnnnn2099@lhc-openser.isrighthere.com">nnnnnnn2099@lhc-openser.isrighthere.com</a><br>Oct 26 15:22:05 NOTICE[10325]: chan_sip.c:9822 handle_response_invite:<br>
Failed to authenticate on INVITE to &#39;&quot;nnnnnnn1275&quot;<br>&lt;<a href="mailto:sip:nnnnnnn1275@nnn.nnn.nnn.190">sip:nnnnnnn1275@nnn.nnn.nnn.190</a>&gt;;tag=as37c13b61&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp; -- SIP/lhc-openser.isrighthere.com-0074cce0
 is circuit-busy<br>&nbsp;&nbsp; == Everyone is busy/congested at this time (1:0/1/0)<br>&nbsp;&nbsp;&nbsp;&nbsp; -- Executing Hangup(&quot;Zap/1-1&quot;, &quot;&quot;) in new stack<br>&nbsp;&nbsp; == Spawn extension (from-pstn, nnnnnnn2099, 2) exited non-zero on
<br>&#39;Zap/1-1&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp; -- Hungup &#39;Zap/1-1&#39;<br>lhc-asterisk-pstn*CLI&gt;<br><br>in the Openser log I get the following (full log in<br><a href="http://pastebin.com/m46ba88d2">http://pastebin.com/m46ba88d2</a>
):<br>Oct 26 15:22:05 lhc-openser /usr/sbin/openser[24693]: route[12] Request<br>leaving server, D-URI=&#39;&#39; - M=INVITE RURI=<a href="mailto:sip:s@nnn.nnn.nnn.187">sip:s@nnn.nnn.nnn.187</a><br>F=<a href="mailto:sip:nnnnnnn1275@nnn.nnn.nnn.190">
sip:nnnnnnn1275@nnn.nnn.nnn.190</a> T=<a href="mailto:sip:nnnnnnn2099@lhc-openser.yyy.com">sip:nnnnnnn2099@lhc-openser.yyy.com</a><br>IP=nnn.nnn.nnn.190 ID=<a href="mailto:182fb36c7aa5a14f5d31406b63671897@nnn.nnn.nnn.190">
182fb36c7aa5a14f5d31406b63671897@nnn.nnn.nnn.190</a><br>Oct 26 15:22:05 lhc-openser /usr/sbin/openser[24692]: onreply_route[1]<br>Reply - S=407 D=Proxy Authentication Required<br>F=<a href="mailto:sip:nnnnnnn1275@nnn.nnn.nnn.190">
sip:nnnnnnn1275@nnn.nnn.nnn.190</a> T=<a href="mailto:sip:nnnnnnn2099@lhc-openser.yyy.com">sip:nnnnnnn2099@lhc-openser.yyy.com</a><br>IP=nnn.nnn.nnn.187 ID=<a href="mailto:182fb36c7aa5a14f5d31406b63671897@nnn.nnn.nnn.190">
182fb36c7aa5a14f5d31406b63671897@nnn.nnn.nnn.190</a><br><br>So is this is authentication error from openser or my trixbox client?<br>and if so whereabouts should I be looking?<br><br>&nbsp;&nbsp;-Thanks in advance Max.<br><br>_______________________________________________
<br>Serusers mailing list<br><a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br><a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br></blockquote>
</div><br>