[Asterisk-Users] IAX registration refused

Chris Mason (Lists) lists at masonc.com
Wed May 11 15:01:15 MST 2005


I am trying to conenct two servers so that ServerA can make calls through
ServerB
On ServerB but I am getting registration refused. Can anyone show me the
right way to do this?

May 11 17:51:17 NOTICE[8828]: chan_iax2.c:4888 register_verify: No
registration for peer 'servera' (from 216.226.232.59)
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
REGREJ 
   Timestamp: 00003ms  SCall: 00003  DCall: 00001 [216.226.232.59:4569]
   CAUSE           : Registration Refused
   CAUSE CODE      : 29

Config on ServerB: iax.conf
[servera]
type=user
;trunk=yes
user=servera
secret=mypassword
context=from-altamer
host=dynamic

Config on ServerA: iax.conf
register => servera:mypassword at xxx.xxx.xxx.xxx

[serverb]
type=peer
username=serverb
secret=mypassword
context=from-altamer
host=216.226.232.143



Chris Mason




More information about the asterisk-users mailing list