[asterisk-users] 10.2.0-rc2: permitted contact can't register.

Paul Belanger pabelanger at digium.com
Wed Feb 29 09:29:17 CST 2012


On 12-02-29 10:15 AM, sean darcy wrote:
>
> On 02/29/2012 02:30 AM, Zohair Raza wrote:
>> You want to allow single IP or whole subnet ?
>>
>>
>>
>> Regards,
>> Zohair Raza
>>
>>
>>
>> On Wed, Feb 29, 2012 at 4:44 AM, sean darcy <seandarcy2 at gmail.com
>> <mailto:seandarcy2 at gmail.com>> wrote:
>>
>> An outside device can't register:
>>
>> WARNING: getnameinfo(): ai_family not supported
>> WARNING: chan_sip.c:14456 parse_register_contact: Domain
>> '69.xxx.yyy.zzz:5060' disallowed by contact ACL (violating IP )
>>
>> sip.conf:
>> [general]
>> .......
>> alwaysreject=yes
>> dynamic_exclude_static = yes
>> allowguest=no
>> contactdeny=0.0.0.0/0.0.0.0 <http://0.0.0.0/0.0.0.0>
>> contactpermit=69.0.0.0/255.0.__0.0 <http://69.0.0.0/255.0.0.0>
>>
>> I've also tried without any "contactdeny". Same result.
>>
>> I'm completely puzzled. Any help appreciated.
>>
>> sean
>>
>
> I don't care. Single ip, subnet, or nothing at all, nothing allows
> registration.
>
Showing us the problem would be helpful too, please attach a debug[1] log.

[1] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information


-- 
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-users mailing list