[asterisk-users] Unable to create channel of type 'IAX2' (cause 20 - Unknown)

Eric Wieling EWieling at nyigc.com
Sun Apr 15 11:46:38 CDT 2012


As long as Host does not contain the peer's IP address in iax2 show peers then it is not going to work and is not registered.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joseph
Sent: Sunday, April 15, 2012 12:40 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Unable to create channel of type 'IAX2' (cause 20 - Unknown)

I think that part is working correctly I see boths asterisk are connected

on "home_server":
syscon7*CLI> iax2 show registry 
Host                  dnsmgr  Username    Perceived             Refresh  State
192.168.141.1:4569    N       home_serve  192.168.141.8:4569         60  Registered

syscon7*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status    
clinic_server    (null)          (D)  255.255.255.255  0             Unmonitored


on "clinic_server":
clinic-amd*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status    
home_server      (null)          (D)  255.255.255.255  0             Unmonitored

--
Joseph

On 04/15/12 09:38, Alejandro Imass wrote:
>On Sat, Apr 14, 2012 at 7:55 PM, Joseph <syscon780 at gmail.com> wrote:
>> I forgot to add:
>>
>> clinic-amd*CLI> iax2 show peers
>> Name/Username    Host                 Mask             Port          
>> Status
>>    home_server      (null)          (D)  255.255.255.255  0 
>> Unmonitored
>> iaxy-322/iaxy-3  (null)          (D)  255.255.255.255  0 Unmonitored
>
>The two Asterisk boxes have to register to each other so home server 
>and clinic have to be on the peers list on both sides (or at min on one 
>side) and you must see the IP. Make sure you are resolving the names 
>correctly and that Asterisk is set-up to resolv DNS names or use the IP 
>instead.


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list