Alberto Pastore
2006-Nov-22 07:23 UTC
[asterisk-users] iax2 - wildiax phone & myself puzzled
I know in advance maybe I'm overlooking something stupid, however I'm really lost and cannot find the solution... Situation: - asterisk-1.2.13 on a linux box with no iptables active. - one iax2 peer defined - one wildiax phone running on my laptop the soft phone is configured to connect & register on asterisk, however, I cannot get it working. What am I missing? Please help!! I'm going crazy... Here's my config: iax.conf: [general] bindport=4569 bindaddr=dynamic nochecksums=yes delayreject=yes language=it bandwidth=high disallow=all allow=alaw jitterbuffer=no forcejitterbuffer=no minregexpire=300 maxregexpire=600 tos=lowdelay autokill=yes [support] type=friend auth=plaintext,md5 username=support secret=support host=dynamic qualify=no context=incoming-iax extensions.conf (excerpt): ... [incoming-iax] exten => 1,1,Playback(congratulations-its-working) exten => 1,2,Hangup() ... The wildiax client is properly configured (ip addr of asterisk, username=support, password=support, register=yes) Here's what I get with iax2 debug + console debug active: output of "iax2 show peers": Name/Username Host Mask Port Status support/support (Unspecified) (D) 255.255.255.255 0 Unmonitored 1 iax2 peers [0 online, 0 offline, 1 unmonitored] log output: 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Timestamp: 00003ms SCall: 20971 DCall: 00000 [10.0.10.160:4569] 2006-11-22 15:14:06 VERBOSE[6863] logger.c: USERNAME : support 2006-11-22 15:14:06 VERBOSE[6863] logger.c: REFRESH : 30 2006-11-22 15:14:06 VERBOSE[6863] logger.c: 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: New max nontrunk callno is 4 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: Creating new call structure 3 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: Received packet 0, (6, 13) 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: IAX subclass 13 received 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: For call=3, set last=3 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: Sending 3 on 3/20971 to 10.0.10.160:4569 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Timestamp: 00003ms SCall: 00003 DCall: 20971 [10.0.10.160:4569] 2006-11-22 15:14:06 DEBUG[6863] acl.c: ##### Testing 10.0.10.160 with 0.0.0.0 2006-11-22 15:14:06 DEBUG[6855] chan_iax2.c: Checking device state for device support 2006-11-22 15:14:06 DEBUG[6855] chan_iax2.c: iax2_devicestate: Found peer. What's device state of support? addr=0, defaddr=0 maxms=0, lastms=0 2006-11-22 15:14:06 DEBUG[6855] devicestate.c: Changing state for IAX2/support - state 5 (Unavailable) 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: Sending 3 on 3/20971 to 10.0.10.160:4569 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Timestamp: 00003ms SCall: 00003 DCall: 20971 [10.0.10.160:4569] 2006-11-22 15:14:06 VERBOSE[6863] logger.c: AUTHMETHODS : 1 2006-11-22 15:14:06 VERBOSE[6863] logger.c: USERNAME : support 2006-11-22 15:14:06 VERBOSE[6863] logger.c: 2006-11-22 15:14:06 DEBUG[733] app_queue.c: Device 'IAX2/support' changed to state '5' (Unavailable) but we don't care because they're not a member of any queue. 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Timestamp: 00003ms SCall: 20965 DCall: 00000 [10.0.10.160:4569] 2006-11-22 15:14:06 VERBOSE[6863] logger.c: USERNAME : support 2006-11-22 15:14:06 VERBOSE[6863] logger.c: REFRESH : 30 2006-11-22 15:14:06 VERBOSE[6863] logger.c: 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: New max nontrunk callno is 5 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: Creating new call structure 4 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: Received packet 0, (6, 13) 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: IAX subclass 13 received 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: For call=4, set last=3 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: Sending 3 on 4/20965 to 10.0.10.160:4569 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Timestamp: 00003ms SCall: 00004 DCall: 20965 [10.0.10.160:4569] 2006-11-22 15:14:06 DEBUG[6863] acl.c: ##### Testing 10.0.10.160 with 0.0.0.0 2006-11-22 15:14:06 DEBUG[6855] chan_iax2.c: Checking device state for device support 2006-11-22 15:14:06 DEBUG[6855] chan_iax2.c: iax2_devicestate: Found peer. What's device state of support? addr=0, defaddr=0 maxms=0, lastms=0 2006-11-22 15:14:06 DEBUG[6855] devicestate.c: Changing state for IAX2/support - state 5 (Unavailable) 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: Sending 9 on 4/20965 to 10.0.10.160:4569 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Timestamp: 00009ms SCall: 00004 DCall: 20965 [10.0.10.160:4569] 2006-11-22 15:14:06 VERBOSE[6863] logger.c: AUTHMETHODS : 1 2006-11-22 15:14:06 VERBOSE[6863] logger.c: USERNAME : support 2006-11-22 15:14:06 VERBOSE[6863] logger.c: 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ 2006-11-22 15:14:06 VERBOSE[6863] logger.c: Timestamp: 00003ms SCall: 20966 DCall: 00000 [10.0.10.160:4569] 2006-11-22 15:14:06 VERBOSE[6863] logger.c: USERNAME : support 2006-11-22 15:14:06 DEBUG[734] app_queue.c: Device 'IAX2/support' changed to state '5' (Unavailable) but we don't care because they're not a member of any queue. 2006-11-22 15:14:06 VERBOSE[6863] logger.c: REFRESH : 30 2006-11-22 15:14:06 VERBOSE[6863] logger.c: 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: New max nontrunk callno is 6 2006-11-22 15:14:06 DEBUG[6863] chan_iax2.c: Creating new call structure 5 ... (the regreq/ack regauth sequence gets repeated many more times) then a lot of 2006-11-22 15:14:18 VERBOSE[6863] logger.c: Tx-Frame Retry[001] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: LAGRQ 2006-11-22 15:14:18 VERBOSE[6863] logger.c: Timestamp: 10011ms SCall: 00004 DCall: 20965 [10.0.10.160:4569] Thanks in advance for any lead Alberto. -- -- Alberto Pastore B-Press Srl - Gruppo MSoft P.IVA 01697420030 P.le Lombardia, 4 - 28100 Novara - Italy Tel. 0321-499508 Fax 0321-492974 http://www.msoft.it