[Asterisk-Users] iaxmodem

Miguel Soto msoto at customautomation.com
Wed Nov 30 11:45:41 MST 2005


The "Remote hangup" messages disappear if I set qualify=no in the
iax.conf file. But is this correct? 

Miguel
-----Original Message-----
From: Miguel Soto [mailto:msoto at customautomation.com] 
Sent: Wednesday, November 30, 2005 10:31
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] iaxmodem

Here is the example
The output of asterisk:

-- Registered IAX2 '4000' (AUTHENTICATED) at 127.0.0.1:33384 

The output of iaxmodem: 


[root at localhost iaxmodem-0.0.5]# ./iaxmodem ttyIAX
Setting device = '/dev/ttyIAX' 
Setting port = 4569
Setting refresh = 300 
Setting server = '127.0.0.1' 
Setting peername = '4000' 
Setting secret = 'password' 
Setting cidname = 'faxnameconfig' 
Setting cidnumber = '4000' 
Setting codec = slinear 
Opened pty, slave device: /dev/pts/7 
Created /dev/ttyIAX symbolic link

Tx-Frame Retry[010] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
REGREQ
   Timestamp: 00003ms  SCall: 28154  DCall: 00000 [127.0.0.1:4569]
   USERNAME        : 4000
   REFRESH         : 300

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
REGAUTH
   Timestamp: 00002ms  SCall: 00003  DCall: 28154 [127.0.0.1:4569]
   AUTHMETHODS     : 3
   CHALLENGE       : 137050741
   USERNAME        : 4000

Tx-Frame Retry[010] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: 
REGREQ
   Timestamp: 00009ms  SCall: 28154  DCall: 00003 [127.0.0.1:4569]
   USERNAME        : 4000
   MD5 RESULT      : 7d5bc6839f3e8f7d931493ed3a029214
   REFRESH         : 300

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
POKE
   Timestamp: 00019ms  SCall: 00006  DCall: 00000 [127.0.0.1:4569]
Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
ACK
   Timestamp: 00019ms  SCall: 28155  DCall: 00006 [127.0.0.1:4569]
Tx-Frame Retry[010] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
PONG
   Timestamp: 00019ms  SCall: 28155  DCall: 00006 [127.0.0.1:4569]
   Unknown IE 046  : Present

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: 
REGACK
   Timestamp: 00021ms  SCall: 00003  DCall: 28154 [127.0.0.1:4569]
   USERNAME        : 4000
   DATE TIME       : 192826213
   REFRESH         : 300
   APPARENT ADDRES : IPV4 127.0.0.1:33384
   MESSAGE COUNT   : 0
   CALLING NUMBER  : 4000
   CALLING NAME    : modem4000

Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass:
ACK
   Timestamp: 00021ms  SCall: 28154  DCall: 00003 [127.0.0.1:4569]
Registration completed successfully.
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass:
ACK
   Timestamp: 00019ms  SCall: 00006  DCall: 28155 [127.0.0.1:4569]
Tx-Frame Retry[010] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass:
PING
   Timestamp: 02000ms  SCall: 28155  DCall: 00006 [127.0.0.1:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
INVAL
   Timestamp: 00000ms  SCall: 00006  DCall: 28155 [127.0.0.1:4569] 

Remote hangup.
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
POKE
   Timestamp: 00002ms  SCall: 00007  DCall: 00000 [127.0.0.1:4569]
Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
ACK
   Timestamp: 00002ms  SCall: 28156  DCall: 00007 [127.0.0.1:4569]
Tx-Frame Retry[010] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
PONG
   Timestamp: 00002ms  SCall: 28156  DCall: 00007 [127.0.0.1:4569]
   Unknown IE 046  : Present

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass:
ACK
   Timestamp: 00002ms  SCall: 00007  DCall: 28156 [127.0.0.1:4569]
Tx-Frame Retry[010] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass:
PING
   Timestamp: 02001ms  SCall: 28156  DCall: 00007 [127.0.0.1:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
INVAL
   Timestamp: 00000ms  SCall: 00007  DCall: 28156 [127.0.0.1:4569] 

Remote hangup.
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
POKE
   Timestamp: 00014ms  SCall: 00004  DCall: 00000 [127.0.0.1:4569]
Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
ACK
   Timestamp: 00014ms  SCall: 28157  DCall: 00004 [127.0.0.1:4569]
Tx-Frame Retry[010] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
PONG
   Timestamp: 00014ms  SCall: 28157  DCall: 00004 [127.0.0.1:4569]
   Unknown IE 046  : Present

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass:
ACK
   Timestamp: 00014ms  SCall: 00004  DCall: 28157 [127.0.0.1:4569]
Tx-Frame Retry[010] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass:
PING
   Timestamp: 02001ms  SCall: 28157  DCall: 00004 [127.0.0.1:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
INVAL
   Timestamp: 00000ms  SCall: 00004  DCall: 28157 [127.0.0.1:4569] 

Remote hangup.
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
POKE
   Timestamp: 00007ms  SCall: 00003  DCall: 00000 [127.0.0.1:4569]
Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
ACK
   Timestamp: 00007ms  SCall: 28158  DCall: 00003 [127.0.0.1:4569]
Tx-Frame Retry[010] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
PONG
   Timestamp: 00007ms  SCall: 28158  DCall: 00003 [127.0.0.1:4569]
   Unknown IE 046  : Present

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass:
ACK
   Timestamp: 00007ms  SCall: 00003  DCall: 28158 [127.0.0.1:4569]
Tx-Frame Retry[010] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass:
PING
   Timestamp: 02001ms  SCall: 28158  DCall: 00003 [127.0.0.1:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
INVAL
   Timestamp: 00000ms  SCall: 00003  DCall: 28158 [127.0.0.1:4569] 
Remote hangup. 



-----Original Message-----
From: Lee Howard [mailto:faxguy at howardsilvan.com] 
Sent: Tuesday, November 29, 2005 12:12
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] iaxmodem

Miguel Soto wrote:

>Is the right behavior of the IAXmodem to display
>"Registration completed successfully" and "remote hangup" many times?
>  
>

You'd have to show me an example for me to say for certain, but my guess

is that if it looks wrong to you then it probably is wrong.  This output

should look like your Asterisk CLI output mostly.

Lee.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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