well what i wanted to do is let the phone register first before it can dial through my box is that possible? <br><br><br>something like this<br><br> -- Accepting AUTHENTICATED call from <a href="http://192.168.0.3">192.168.0.3
</a>:<br> > requested format = gsm,<br> > requested prefs = (),<br> > actual format = ulaw,<br> > host prefs = (g729|ulaw|alaw),<br> > priority = mine<br><br>is it possible on asterisk to reject unauthenticated calls or not registered phones to call?
<br><br><br><br><div><span class="gmail_quote">On 10/13/06, <b class="gmail_sendername">Alex Robar</b> <<a href="mailto:alex.robar@gmail.com">alex.robar@gmail.com</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;">
The way that I've done it is to set the context= line under [general] in sip.conf to a context that just gives the congestion command and hangs up the call, something like this:<br><br>exten => s,1,Answer<br>exten => s,n,Wait(2)
<br>exten => s,n,Congestion<br>exten => s,n,Hangup<br><br>I suppose you could really just use Hangup instead, but this seems to work for me.<br><br>Alex<br><br><br><div><div><span class="e" id="q_10e3e4b4eadbb8e5_1">
<span class="gmail_quote">On 10/12/06, <b class="gmail_sendername">
Mark Quitoriano</b> <<a href="mailto:markquitoriano@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">markquitoriano@gmail.com</a>> wrote:</span></span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span class="e" id="q_10e3e4b4eadbb8e5_3">
Hi list,<br><br>i noticed from the cli my asterisk box is accepting unauthenticated calls how can i prevent this?<br><br><br>CLI:<br><br> -- Accepting UNAUTHENTICATED call from <a href="http://192.168.0.2" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.0.2</a>:
<br> > requested format = gsm,<br> > requested prefs = (),<br> > actual format = ulaw,<br> > host prefs = (g729|ulaw|alaw),<br> > priority = mine<br><br>
<br></span></div>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com
</a> --<br><br>
asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Alex Robar<br><a href="mailto:alex.robar@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">alex.robar@gmail.com</a>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --<br><br>
asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Mark Quitoriano, CCNA<br><br>Fan the flame...<br><a href="http://www.spreadfirefox.com/?q=user/register&r=19441">http://www.spreadfirefox.com/?q=user/register&r=19441
</a>