[asterisk-users] NOTICE[]: chan_iax2.c:5686 register_verify: No registration for peer 'jonaskellens' (from 192.168.4.169)

jonas kellens jonas.kellens at telenet.be
Sat Apr 18 08:12:23 CDT 2009


[root at asterisk asterisk]# cat iax.conf
[general]
autokill=yes
bindport=4569
bindaddr=0.0.0.0

[jonaskellens]
type=friend
host=dynamic
;auth=md5
username=jonaskellens
password=zoiper
callerid="Jonas Kellens" <100>
context=intern
disallow=all
allow=gsm
allow=speex
allow=alaw


asterisk*CLI> iax2 reload
  == Parsing '/etc/asterisk/iax.conf': Found
[Apr 18 15:05:50] NOTICE[4179]: chan_iax2.c:10124 set_config: Ignoring
bindport on reload
[Apr 18 15:05:50] NOTICE[4179]: chan_iax2.c:10183 set_config: Ignoring
bindaddr on reload
  == Parsing '/etc/asterisk/users.conf': Found
  == Loaded firmware 'iaxy.bin'
  == Parsing '/etc/asterisk/iaxprov.conf': Found
    -- Loaded provisioning template 'default'
asterisk*CLI> iax2 show peers
Name/Username    Host                 Mask             Port
Status    
jonaskellens/jo  (Unspecified)   (D)  255.255.255.255  0
Unmonitored
1 iax2 peers [0 online, 0 offline, 1 unmonitored]
    -- Registered IAX2 'jonaskellens' (UNAUTHENTICATED) at
192.168.4.169:4569
[Apr 18 15:06:29] NOTICE[3596]: chan_iax2.c:6406 update_registry:
Restricting registration for peer 'jonaskellens' to 60 seconds
(requested 3600)

asterisk*CLI> iax2 show peers
Name/Username    Host                 Mask             Port
Status    
jonaskellens/jo  192.168.4.169   (D)  255.255.255.255  4569
Unmonitored
1 iax2 peers [0 online, 0 offline, 1 unmonitored]


So my username always needs to be the same as the one between brackets
[] ???
This is not the case with SIP, but it needs to be like that with IAX ???

I want to understand...

Thanks for your reply !

Jonas.


On Sat, 2009-04-18 at 07:41 -0500, Cary Fitch wrote:
> Perhaps make [Jonas]:    [jonaskellens}
> 
>  
> 
> Cary Fitch
> 
>  
> 
> 
>                                    
> ______________________________________________________________________
> 
> From:asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of jonas
> kellens
> Sent: Saturday, April 18, 2009 7:28 AM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] NOTICE[]: chan_iax2.c:5686 register_verify:
> No registration for peer 'jonaskellens' (from 192.168.4.169)
> 
> 
> 
>  
> 
> The Asterisk CLI gets spammed with the following when I launch the
> Zoiper-softphone on my laptop :
> 
> ...
> [Apr 18 14:07:23] NOTICE[3221]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> [Apr 18 14:07:23] NOTICE[3228]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> [Apr 18 14:07:23] NOTICE[3222]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> [Apr 18 14:07:23] NOTICE[3226]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> [Apr 18 14:07:23] NOTICE[3230]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> [Apr 18 14:07:23] NOTICE[3224]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> [Apr 18 14:07:23] NOTICE[3223]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> [Apr 18 14:07:23] NOTICE[3225]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> [Apr 18 14:07:23] NOTICE[3227]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> [Apr 18 14:07:23] NOTICE[3229]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> [Apr 18 14:07:23] NOTICE[3221]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> [Apr 18 14:07:23] NOTICE[3228]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> [Apr 18 14:07:23] NOTICE[3222]: chan_iax2.c:5686 register_verify: No
> registration for peer 'jonaskellens' (from 192.168.4.169)
> ...
> 
> My iax.conf-file :
> 
> [root at asterisk asterisk]# cat iax.conf
> [general]
> autokill=yes
> bindport=4569
> bindaddr=0.0.0.0
> 
> [Jonas]
> type=friend
> host=dynamic
> ;auth=md5
> username=jonaskellens
> password=zoiper
> callerid="Jonas Kellens" <100>
> context=intern
> disallow=all
> allow=gsm
> allow=speex
> allow=alaw
> 
> On the CLI :
> 
> Verbosity is at least 20
> asterisk*CLI> iax2 reload
>   == Parsing '/etc/asterisk/iax.conf': Found
> [Apr 18 14:12:49] NOTICE[3502]: chan_iax2.c:10124 set_config: Ignoring
> bindport on reload
> [Apr 18 14:12:49] NOTICE[3502]: chan_iax2.c:10183 set_config: Ignoring
> bindaddr on reload
>   == Parsing '/etc/asterisk/users.conf': Found
>   == Loaded firmware 'iaxy.bin'
>   == Parsing '/etc/asterisk/iaxprov.conf': Found
>     -- Loaded provisioning template 'default'
> asterisk*CLI> iax2 show peers
> Name/Username    Host                 Mask             Port
> Status    
> Jonas/jonaskell  (Unspecified)   (D)  255.255.255.255  0
> Unmonitored
> 1 iax2 peers [0 online, 0 offline, 1 unmonitored]
> 
> Why would Asterisk ignore the bindport ???
> 
> [root at asterisk asterisk]# netstat -anup | grep 4569
> udp        0      0 0.0.0.0:4569                0.0.0.0:*
> 3097/asterisk 
> 
> Asterisk is listening on port 4569 on all interfaces (eth0 and eth1).
> 
> 
> The log of my Zoiper-softphone tells this :
> 
> 02:26:33 PM: discover network type : Port restricted NAT
> 
> 
> I hope there's a solution for this 'problem' ?!
> 
> Google sends me to http://bugs.digium.com/view.php?id=14867 where
> there is no solution...
> 
> Jonas. 
> 
> 
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090418/72201348/attachment.htm 


More information about the asterisk-users mailing list