[Asterisk-Users] IAX2: Connection rejected

2005-02-16 Thread Sergey Kuznetsov
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: [EMAIL PROTECTED]
Business phone: (416) 548-9700 x 37
 Mobile phone: (647) 287-8448
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] IAX2: Connection rejected

2005-02-16 Thread Peter Bowyer
On Wed, 16 Feb 2005 15:40:19 -0500, Sergey Kuznetsov
<[EMAIL PROTECTED]> wrote:
> 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

> Is there any solution?

The log is telling you that the remote server is refusing the
connection from your server because of incorrect authentication. Check
the IAX peer/friend entry in the remote server against the credentials
you're using in your friend entry or in the dial string.

Peter 


-- 
Peter Bowyer
Email: [EMAIL PROTECTED]
Tel: +44 1296 768003
VoIP: sip:[EMAIL PROTECTED]
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] IAX2: Connection rejected

2005-02-16 Thread Steve Totaro
not a permanent solution according to many on the list but try type=friend
in your iax.conf


- Original Message - 
From: "Sergey Kuznetsov" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"

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: [EMAIL PROTECTED]
> Business phone: (416) 548-9700 x 37
>   Mobile phone: (647) 287-8448
>
> ___
> Asterisk-Users mailing list
> Asterisk-Users@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@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


Re: [Asterisk-Users] IAX2: Connection rejected

2005-02-16 Thread Sergey Kuznetsov




They are the same. That's what I've checked first.


Peter Bowyer wrote:

  On Wed, 16 Feb 2005 15:40:19 -0500, Sergey Kuznetsov
<[EMAIL PROTECTED]> wrote:
  
  
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

  
  
  
  
Is there any solution?

  
  
The log is telling you that the remote server is refusing the
connection from your server because of incorrect authentication. Check
the IAX peer/friend entry in the remote server against the credentials
you're using in your friend entry or in the dial string.

Peter 


  



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

   Web: http://www.hitcalls.com
E-mail: [EMAIL PROTECTED]
Business phone: (416) 548-9700
  Mobile phone: (647) 287-8448


___
Asterisk-Users mailing list
Asterisk-Users@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

Re: [Asterisk-Users] IAX2: Connection rejected

2005-02-16 Thread Sergey Kuznetsov




Thats what I already have.

Here is the entry:

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


the user's iax.conf has:

register => user:[EMAIL PROTECTED]

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


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" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"

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: [EMAIL PROTECTED]
Business phone: (416) 548-9700 x 37
  Mobile phone: (647) 287-8448

___
Asterisk-Users mailing list
Asterisk-Users@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@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: [EMAIL PROTECTED]
Business phone: (416) 548-9700
  Mobile phone: (647) 287-8448


___
Asterisk-Users mailing list
Asterisk-Users@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

Re: [Asterisk-Users] IAX2: Connection rejected

2005-02-16 Thread Steve Totaro



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=friendaccountcode=XXamaflags=billinghost=dynamicsecret=mostsecretauth=md5,plaintextcontext=iax_outdisallow=allallow=gsmallow=ulawallow=alawallow=adpcmcallerid="User" 
  <416XXX>trunk=nojitterbuffer=yesdropcount=5tod=lowdelaythe 
  user's iax.conf has:register => user:[EMAIL PROTECTED][myserver.com]type=friendhost=voip.myserver.comsecret=mostsecrettrunk=nocontext=defaultauth=md5,plaintextcallerid=<416XXX>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" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"

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: [EMAIL PROTECTED]
Business phone: (416) 548-9700 x 37
  Mobile phone: (647) 287-8448

___
Asterisk-Users mailing list
Asterisk-Users@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@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: [EMAIL PROTECTED]
Business phone: (416) 548-9700
  Mobile phone: (647) 287-8448
  
  

  ___Asterisk-Users 
  mailing 
  listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  UNSUBSCRIBE or update options visit:   
  http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@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

Re: [Asterisk-Users] IAX2: Connection rejected

2005-02-18 Thread Martijn van Oosterhout
On Wed, Feb 16, 2005 at 04:10:17PM -0500, Sergey Kuznetsov wrote:
> They are the same. That's what I've checked first.

Have you restarted Asterisk? Not all changes picked up with a reload,
sometimes you have unload/reload the module or do a full restart for
all changes to take effect...

Hope this helps,

> Peter Bowyer wrote:
> 
> >On Wed, 16 Feb 2005 15:40:19 -0500, Sergey Kuznetsov
> ><[EMAIL PROTECTED]> wrote:
> > 
> >
> >>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
> >>   
> >>
-- 
Martijn van Oosterhout
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] IAX2: Connection rejected

2005-02-21 Thread Wessel de Roode
carrier via a PRI, they will dictate what
the DID looks like.  Some will be the last 4 digits, others
will be all 10. (assuming US).  They do this, because it would
be to difficult to maintain your extension mapping on their side.

You purchase a DID.  When a call comes in it says, "This is the
number they were calling, you do your own matching to whatever
extension you want."
>
> Now, what about the folks who are trying to call other
> countries, and potentially be called by other DIDs
> themselves? I'm assuming this sort of thing is very
> likely.
Did you set a username?
On some weired reason that is needed in 1.0.5 for IAX to work.

Wessel


___
Asterisk-Users mailing list
Asterisk-Users@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