I have just set up my first Asterisk, and I have the basics up an running. I have set it up with two SIP phones only. I can call between them, and I can call out to FWD phones. However, on receiving calls from FWD, my Asterisk blocks the calls with the following message: May 30 20:19:24 NOTICE[180236]: chan_sip.c:6397 handle_request: Failed to authenticate user <user> <sip:fwduser@fwd.pulver.com>. Obviously, I want FWD users to be able to call me without my registering them first. Any suggestions would be appreciated. Thor
Am 30.05.2004 um 21:35 schrieb Thor Atle Rustad:> However, on receiving calls from FWD, my Asterisk blocks the calls > with the following message: > > May 30 20:19:24 NOTICE[180236]: chan_sip.c:6397 handle_request: Failed > to authenticate user <user> <sip:fwduser@fwd.pulver.com>. Obviously, I > want FWD users to be able to call me without my registering them > first.Have you installed the current CVS Head version? I have the same problem with the current CVS Head version but with Stable or an older CVS Head version it works fine. Mike
At 21:51 30.05.2004, you wrote:>Am 30.05.2004 um 21:35 schrieb Thor Atle Rustad: > >>However, on receiving calls from FWD, my Asterisk blocks the calls with >>the following message: >> >>May 30 20:19:24 NOTICE[180236]: chan_sip.c:6397 handle_request: Failed to >>authenticate user <user> <sip:fwduser@fwd.pulver.com>. Obviously, I want >>FWD users to be able to call me without my registering them first. > >Have you installed the current CVS Head version? > >I have the same problem with the current CVS Head version but with Stable >or an older CVS Head version it works fine.I downloaded asterisk today with the command "cvs checkout asterisk" from cvs.digium.com. Show version gives me CVS-HEAD-05/30/04-17:41:53. I downloaded this version because it says on that page it is the best way to get Asterisk. Thor
Hi! Thor, you are right here, the problem has crept back into CVS! :-( In between it had been fixed, though. Cheers, Philipp> >>However, on receiving calls from FWD, my Asterisk blocks the calls with > >>the following message: > >> > >>May 30 20:19:24 NOTICE[180236]: chan_sip.c:6397 handle_request: Failed to > >>authenticate user <user> <sip:fwduser@fwd.pulver.com>. Obviously, I want > >>FWD users to be able to call me without my registering them first. > > > >Have you installed the current CVS Head version? > > > >I have the same problem with the current CVS Head version but with Stable > >or an older CVS Head version it works fine. > > I downloaded asterisk today with the command "cvs checkout asterisk" from > cvs.digium.com. Show version gives me CVS-HEAD-05/30/04-17:41:53. I > downloaded this version because it says on that page it is the best way to > get Asterisk. > > Thor > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >
Add "insecure=very" to your FWD peer context in sip.conf. The "in-between fix" really wasn't a fix. Chan_sip was modified some time ago (5/24 or so) to require authentication for inbound calls also. To turn this required authentication off, you need to add "insecure=very" to your peer definition. Kai-Uwe> Hi! > > Thor, you are right here, the problem has crept back into CVS! :-( > In between it had been fixed, though. > > Cheers, Philipp > > >> >>However, on receiving calls from FWD, my Asterisk blocks the calls with>> >>the following message: >> >> >> >>May 30 20:19:24 NOTICE[180236]: chan_sip.c:6397 handle_request: Failedto>> >>authenticate user <user> <sip:fwduser@fwd.pulver.com>. Obviously, Iwant>> >>FWD users to be able to call me without my registering them first. >> > >> >Have you installed the current CVS Head version? >> > >> >I have the same problem with the current CVS Head version but withStable>> >or an older CVS Head version it works fine. >> >> I downloaded asterisk today with the command "cvs checkout asterisk" from>> cvs.digium.com. Show version gives me CVS-HEAD-05/30/04-17:41:53. I >> downloaded this version because it says on that page it is the best wayto>> get Asterisk. >> >> Thor
On 30/05/2004 at 21:35 Thor Atle Rustad wrote:>I have just set up my first Asterisk, and I have the basics up an >running. >I have set it up with two SIP phones only. I can call between them, and I >can call out to FWD phones. However, on receiving calls from FWD, my >Asterisk blocks the calls with the following message: > >May 30 20:19:24 NOTICE[180236]: chan_sip.c:6397 handle_request: Failed to >authenticate user <user> <sip:fwduser@fwd.pulver.com>. Obviously, I want >FWD users to be able to call me without my registering them first. > >Any suggestions would be appreciated. > >ThorThor, this is because some oh so clever person decided that the default 'security' option for sip should be to reject anything that's not in sip.conf put : insecure=very in your fwd definition in sip.conf It was basically that everything had to authenticate... which the fwd number couldn;t because it wasn;t defined in sip.conf. Anything that's added to * that breaks how protocols work should be by default OFF not ON, but that's just IMO... Of course I find it quite funny that it's insecure=very, perhaps it should be: make-SIP-work-how-it-is-supposed-to=yes ;) Blah blah moo! Andy