[Asterisk-Users] IAX2: Connection rejected

Steve Totaro asterisk at totarotechnologies.com
Wed Feb 16 14:39:18 MST 2005


I would eliminate everything that is not necessary, like the amaflags and the auth=, account code stuff.  I would also use IP address rather than domain and get it working.  Then I would start adding the extras back in. 
  ----- Original Message ----- 
  From: Sergey Kuznetsov 
  To: Asterisk Users Mailing List - Non-Commercial Discussion 
  Sent: Wednesday, February 16, 2005 4:19 PM
  Subject: Re: [Asterisk-Users] IAX2: Connection rejected


  Thats what I already have.

  Here is the entry:

  [user]
  type=friend
  accountcode=XXXXXX
  amaflags=billing
  host=dynamic
  secret=mostsecret
  auth=md5,plaintext
  context=iax_out
  disallow=all
  allow=gsm
  allow=ulaw
  allow=alaw
  allow=adpcm
  callerid="User" <416XXXXXXX>
  trunk=no
  jitterbuffer=yes
  dropcount=5
  tod=lowdelay


  the user's iax.conf has:

  register => user:mostsecret at voip.myserver.com

  [myserver.com]
  type=friend
  host=voip.myserver.com
  secret=mostsecret
  trunk=no
  context=default
  auth=md5,plaintext
  callerid=<416XXXXXXX>


  Steve Totaro wrote: 
not a permanent solution according to many on the list but try type=friend
in your iax.conf


----- Original Message ----- 
From: "Sergey Kuznetsov" <asterisk_biz at deeptown.org>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Wednesday, February 16, 2005 3:40 PM
Subject: [Asterisk-Users] IAX2: Connection rejected


  Hi there,


I am having a problem. It looks like this:

Feb 16 15:01:10 WARNING[11122]: chan_iax2.c:5546 socket_read: Call
rejected by XXX.XXX.XXX.XXX: No authority found
Feb 16 15:01:10 NOTICE[11122]: chan_iax2.c:1375 iax2_destroy: Avoiding
IAX destroy deadlock
    -- Hungup 'IAX2/user/1'


Even I have entry in iax.conf for this user as a friend, and * server of
this user is already registered with my * server.
I can't register with his box because:
    1. his IP is semi-dynamic.
    2. this is nonsense - His box already registered with mine.


Is there any solution?


Thanks a lot in advance!


-- 
All the Best!
Sergey.
=========================
Sergey Kuznetsov
President/CEO
         High Intellectual Technologies, Inc.

           Web: http://www.hitcalls.com
        E-mail: sergey.kuznetsov at highintellect.com
Business phone: (416) 548-9700 x 37
  Mobile phone: (647) 287-8448

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
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
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
  


-- 
All the Best!
Sergey.
=========================
Sergey Kuznetsov
President/CEO
         High Intellectual Technologies, Inc.

           Web: http://www.hitcalls.com
        E-mail: sergey.kuznetsov at highintellect.com
Business phone: (416) 548-9700
  Mobile phone: (647) 287-8448

------------------------------------------------------------------------------


  _______________________________________________
  Asterisk-Users mailing list
  Asterisk-Users at lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  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/20050216/c9fa9f60/attachment.htm


More information about the asterisk-users mailing list