Fwd: [Asterisk-Users] IAX wireless problem

Neal Nelson neal at nelsonnet.org
Mon Oct 25 05:43:29 MST 2004


On 23 Oct 2004, at 18:03, Benjamin on Asterisk Mailing Lists wrote:

> On Sat, 23 Oct 2004 17:10:40 +0200, Neal Nelson <neal at nelsonnet.org> 
> wrote:
>> I'm using IAXComm on the Mac to connect to my Asterisk system and it
>> all seems to work well when I'm connected to my wired network. When I
>> use wireless instead, IAXComm never registers with Asterisk and when I
>> call, ASterisk seems to think it's connected but no sound comes back.
>
> did you define your client as host=dynamic in iax.conf?
>
> use "iax2 debug" on the asterisk console to get a session transcript
> when you try to register and make test calls.
>
> if there are no Rx-Frame messages coming in from the client, then you
> have some sort of connectivity problem with your wireless setup. Use
> tcpdump or ethereal to see if any traffic is coming in on port 4569.

I've got host=dynamic defined in iax.conf. I did have a deaultip entry 
as well but it seems to make no difference.

For a bit more info, I'm running Asterisk 1.0.1 on FreeBSD5.3 and I'm 
using IPSec to encrypt my wireless connection. I've tried it with a 
clear wireless connection and it still has the problem.

When I use a wired connection I get the following IAX messages:

Rx: REGREQ with username
Tx: REGAUTH with challenge
Rx: REGREQ with response
Tx: REGACK
Rx: ACK

After this I'm all registered and all works well.

With wireless I get the following:

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
REGREQ
    Timestamp: 00001ms  SCall: 18892  DCall: 00000 [10.0.1.3:4569]
    USERNAME        : xxxxxx
    REFRESH         : 300

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
REGAUTH
    Timestamp: 00003ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]
    AUTHMETHODS     : 2
    CHALLENGE       : xxxxxxxxx
    USERNAME        : xxxxxx

Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
REGREQ
    Timestamp: 00001ms  SCall: 18892  DCall: 00000 [10.0.1.3:4569]
    USERNAME        : xxxxxx
    REFRESH         : 300

Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
ACK
    Timestamp: 00001ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
REGREQ
    Timestamp: 00001ms  SCall: 18892  DCall: 00000 [10.0.1.3:4569]
    USERNAME        : xxxxxx
    REFRESH         : 300

Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
ACK
    Timestamp: 00001ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
REGREQ
    Timestamp: 00001ms  SCall: 18892  DCall: 00000 [10.0.1.3:4569]
    USERNAME        : xxxxxx
    REFRESH         : 300

Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
ACK
    Timestamp: 00001ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
REGAUTH
    Timestamp: 00003ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]
    AUTHMETHODS     : 2
    CHALLENGE       : xxxxxxxxx
    USERNAME        : xxxxxx

Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
REGREQ
    Timestamp: 00001ms  SCall: 18892  DCall: 00000 [10.0.1.3:4569]
    USERNAME        : xxxxxx
    REFRESH         : 300

Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
ACK
    Timestamp: 00001ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: 
LAGRQ
    Timestamp: 10014ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Tx-Frame Retry[002] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
REGAUTH
    Timestamp: 00003ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]
    AUTHMETHODS     : 2
    CHALLENGE       : xxxxxxxxx
    USERNAME        : xxxxxx

Tx-Frame Retry[001] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: 
LAGRQ
    Timestamp: 10014ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
REGREQ
    Timestamp: 00001ms  SCall: 18892  DCall: 00000 [10.0.1.3:4569]
    USERNAME        : xxxxxx
    REFRESH         : 300

Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
ACK
    Timestamp: 00001ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 001 Type: IAX     Subclass: 
PING
    Timestamp: 20015ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 001 Type: IAX     Subclass: 
LAGRQ
    Timestamp: 20018ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Tx-Frame Retry[001] -- OSeqno: 002 ISeqno: 001 Type: IAX     Subclass: 
PING
    Timestamp: 20015ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Tx-Frame Retry[001] -- OSeqno: 003 ISeqno: 001 Type: IAX     Subclass: 
LAGRQ
    Timestamp: 20018ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Tx-Frame Retry[003] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
REGAUTH
    Timestamp: 00003ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]
    AUTHMETHODS     : 2
    CHALLENGE       : xxxxxxxxx
    USERNAME        : xxxxxx

Tx-Frame Retry[002] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: 
LAGRQ
    Timestamp: 10014ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 001 Type: IAX     Subclass: 
LAGRQ
    Timestamp: 30015ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Tx-Frame Retry[001] -- OSeqno: 004 ISeqno: 001 Type: IAX     Subclass: 
LAGRQ
    Timestamp: 30015ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Tx-Frame Retry[002] -- OSeqno: 002 ISeqno: 001 Type: IAX     Subclass: 
PING
    Timestamp: 20015ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]

Tx-Frame Retry[002] -- OSeqno: 003 ISeqno: 001 Type: IAX     Subclass: 
LAGRQ
    Timestamp: 20018ms  SCall: 00001  DCall: 18892 [10.0.1.3:4569]




More information about the asterisk-users mailing list