The call would have to be from servera to serverb.   Your configuration 
doesn't allow the other way.  Try this

 Config on ServerB: iax.conf
 [servera]
 type=user
 secret=mypassword
 host=dynamic
 context=from-altamer
 
 Config on Serverb: iax.conf
 register => servera:[EMAIL PROTECTED]
 
 [serverb]
 type=peer
trunk=yes
 username=servera
 secret=mypassword
 host=216.226.232.143

----- Original Message ----- 
From: "Chris Mason (Lists)" <[EMAIL PROTECTED]>
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" 
<[email protected]>
Sent: Wednesday, May 11, 2005 5:01 PM
Subject: [Asterisk-Users] IAX registration refused


> 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
> 

> 
> 
> 
> Chris Mason
> 
> _______________________________________________
> Asterisk-Users mailing list
> [email protected]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to