I'm getting 403 forbidden errors when attempting to register to a certain provider. I've tried just about every combination of configuration settings I can think of with no luck. Following is what I would think should work (and one of the settings I have tried). Rather then list every combinaton I've tried, what are the common causes of a 403 forbidden on a register attempt? Other providers work fine using the same syntax. And the provider that I am having sip registration problems with works fine with iax. register => username:password@voip.provider.com/provider-context [provider] type = friend context = provider-context host = host.provider.com username = username secret = password disallow = all allow = all
Hi, On 12:52, Tue 21 Jun 05, snacktime wrote:> I'm getting 403 forbidden errors when attempting to register to a > certain provider. I've tried just about every combination of > configuration settings I can think of with no luck. Following is what > I would think should work (and one of the settings I have tried). > Rather then list every combinaton I've tried, what are the common > causes of a 403 forbidden on a register attempt? > > Other providers work fine using the same syntax. And the provider > that I am having sip registration problems with works fine with iax. > > > register => username:password@voip.provider.com/provider-context > > [provider] > type = friend > context = provider-context > host = host.provider.com > username = username > secret = password > disallow = all > allow = allThis should work, taken in account the username/pass are correct and the hostnome is the one they provided you as SIP registry server. What looks odd to me is the last two lines. Why are you first disallowing all codecs and in the next line allowing them all again ? You should either disallow=all and allow some codecs or just go with the allow=all without the disallow line. Just my 2 cents. -- Michiel van Baak http://michiel.vanbaak.info michiel@vanbaak.info GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D "Why is it drug addicts and computer afficionados are both called users?"
> I'm getting 403 forbidden errors when attempting to register to a > certain provider. I've tried just about every combination of > configuration settings I can think of with no luck. Following is what > I would think should work (and one of the settings I have tried). > Rather then list every combinaton I've tried, what are the common > causes of a 403 forbidden on a register attempt? > > Other providers work fine using the same syntax. And the provider > that I am having sip registration problems with works fine with iax. > > > register => username:password@voip.provider.com/provider-context > > [provider] > type = friend > context = provider-context > host = host.provider.com > username = username > secret = password > disallow = all > allow = allmd5 instead of plaintext? Also, I think I just seen a change in the last day or two that had something to do with 403's, and if I recall correctly, it also addressed upper/lower case something or another. Can you use ethereal or sip debug to determine the exact item that was sent that might be causing the 403? Either one should at least provide a hint.