<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Well, a SIP authorization does not require a registration (in
fact, registration should be primarily used to inform a registrar about
the whereabouts of a UA with dynamic IP address in order to handle incoming
calls _for_ that UA). </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>CS can just create for his Asterisk a "type=user"
entry in sip.conf containing "username" (equal to the section's title) and
"secret" both matching the remote peer's own: his Asterisk will then react
to an INVITE from that peer with a "401" reply containing a nonce
as challenge; the peer will then retry the INVITE with valid credentials
based on the shared secret and the nonce. </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Enzo</FONT></DIV>
<DIV><FONT size=2> </FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=bweschke@gmail.com href="mailto:bweschke@gmail.com">BJ Weschke</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=c.savinovich@earthlink.net
href="mailto:c.savinovich@earthlink.net">C. Savinovich</A> ; <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List -
Non-Commercial Discussion</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, September 14, 2005 2:49
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Asterisk-Users] Anyone
knows how to receive a SIP call withoutregistering gateway?</DIV>
<DIV><BR></DIV>
<DIV> What they're asking you to do is quite insecure to be doing over
public IP. At the very least, you should confirm that there is a static IP
that these calls will be coming from and only accept calls from that IP, but
that's still not quite as secure as digest authentication that would be
available via registration. </DIV>
<DIV> </DIV>
<DIV> If you know what IP the calls are coming from, you simply insert a
host=XX.XX.XX.XX instead of host=dynamic in your sip.conf for that peer and
calls should then come in as they did before without them having to register.
If they are pre-pending digits on to the front of what you're interpreting as
the dialed number/extension, you may choose to lop them off in
extensions.conf, but aside from that this is fairly straight
forward.<BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>On 9/14/05, <B class=gmail_sendername>C.
Savinovich</B> <<A
href="mailto:c.savinovich@earthlink.net">c.savinovich@earthlink.net</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><BR> Hello
everyone, I am pulling my hair here because a carrier threw me curve early
today.<BR><BR> They want to send calls to my asterisk server
using SIP. Then they said that their gateways don't have to
register with my server, that all they have to do is send a prefix for
validation. Whereas I can think of several ways to authenticate
their incoming number string, I am only used to the orthodox SIP way which
is: client registers to my proxy. Guess what, I can't find any
samples on this!!, Can anyone please help?, I will probably need a sample
sip.conf. and then, to make a test call, I can use another
asterisk box and try asterisk to asterisk sip calls (without register) via
the cli prompt. But I have no idea.... and I am
intrigued.<BR><BR> Thanks<BR> CS<BR><BR><BR>_______________________________________________<BR>--Bandwidth
and Colocation sponsored by <A href="http://Easynews.com">Easynews.com</A>
--<BR><BR>Asterisk-Users mailing list<BR><A
href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</A><BR><A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR>To
UNSUBSCRIBE or update options visit:<BR> <A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR></BLOCKQUOTE></DIV><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>--Bandwidth and
Colocation sponsored by Easynews.com --<BR><BR>Asterisk-Users mailing
list<BR>Asterisk-Users@lists.digium.com<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR>To
UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users</BLOCKQUOTE></BODY></HTML>