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

Danny Nicholas danny at debsinc.com
Sun Apr 15 19:21:03 CDT 2012


One-way is ok as long as you don't have 2-way calling.  To call A->B and
B->A both must be 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 7:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Unable to create channel of type 'IAX2' (cause
20 - Unknown)

In iax.conf on "home_server" I have:
register => home_server:1234 at 192.168.141.1

On a "clinic_server" I DO NOT have any "register" entry.
Do I have to register "clinic_server" to "home_server?  I was under
impression one way regstration is enough. 
"Home_server" is aready registered to "clinic_server.

--
>Joseph

On 04/15/12 11:43, Danny Nicholas wrote:
>They are "connected" but not registered.  The "iax2 show registry" on 
>home_server should show both peers.
>
>-----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 11:40 AM
>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
>
>
>--
>_____________________________________________________________________
>-- 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

--
Joseph

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