you add your openser and asterisk ip'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> <<a href="mailto:max.lock@gingo.co.uk">
max.lock@gingo.co.uk</a>> 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> Hi Folks,<br><br> I hope someone can help. I'm using openser
1.1.1-notls with<br>mediaproxy, an asterisk PSTN gateway, an asterisk voicemail/features<br>server and a trixbox (asterisk) client. I'm also very new to openser<br>which doesn't help :)<br><br> I've setup the openser database with subscribers,domains,aliases, and
<br>gateways etc.<br><br>mysql> 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> 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> 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> -- Accepting call from 'nnnnnnn1275' to 'nnnnnnn2099' on channel<br>0/1, span 1<br> -- Executing Dial("Zap/1-1",<br>"SIP/nnnnnnn2099@lhc-openser.isrighthere.com
|30|tTr") in new stack<br> -- 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 '"nnnnnnn1275"<br><<a href="mailto:sip:nnnnnnn1275@nnn.nnn.nnn.190">sip:nnnnnnn1275@nnn.nnn.nnn.190</a>>;tag=as37c13b61'<br> -- SIP/lhc-openser.isrighthere.com-0074cce0
is circuit-busy<br> == Everyone is busy/congested at this time (1:0/1/0)<br> -- Executing Hangup("Zap/1-1", "") in new stack<br> == Spawn extension (from-pstn, nnnnnnn2099, 2) exited non-zero on
<br>'Zap/1-1'<br> -- Hungup 'Zap/1-1'<br>lhc-asterisk-pstn*CLI><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='' - 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> -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>