Configuré mi Asterisk para registrarse con IAXTEL. Marco desde mi cuenta de FWD y pasa lo siguiente:
-- Accepting AUTHENTICATED call from 69.73.19.178, requested format = 2, actual format = 2
-- Executing Wait("IAX2[iaxtel@69.73.19.178:4569]/3", "1") in new stack
-- Executing Answer("IAX2[iaxtel@69.73.19.178:4569]/3", "") in new stack
-- Executing DigitTimeout("IAX2[iaxtel@69.73.19.178:4569]/3", "5") in new stack
-- Set Digit Timeout to 5
-- Executing ResponseTimeout("IAX2[iaxtel@69.73.19.178:4569]/3", "10") in new stack
-- Set Response Timeout to 10
-- Executing BackGround("IAX2[iaxtel@69.73.19.178:4569]/3", "demo-congrats") in new stack
-- Playing 'demo-congrats' (language 'en')
[b]Jun 15 19:59:58 WARNING[-1221243984]: file.c:539 ast_readaudio_callback: Failed to write frame[/b] == Spawn extension (default, s, 5) exited non-zero on 'IAX2[iaxtel@69.73.19.178:4569]/3'
-- Hungup 'IAX2[iaxtel@69.73.19.178:4569]/3'
Activando el iax2 debug, obtengo esto:
*CLI>
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00004ms SCall: 00246 DCall: 00000 [69.73.19.178:4569]
VERSION : 2
CALLED NUMBER : s
CALLING NUMBER : 290208
CALLING NAME : CCR Escritorio
LANGUAGE : en
USERNAME : iaxtel
FORMAT : 2
CAPABILITY : 258
ADSICPE : 2
DATE TIME : 147825359
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00016ms SCall: 00001 DCall: 00246 [69.73.19.178:4569]
AUTHMETHODS : 4
CHALLENGE : 73190333
USERNAME : iaxtel
Rx-Frame Retry[No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00197ms SCall: 00246 DCall: 00001 [69.73.19.178:4569]
RSA RESULT : ffPgrfDs1IuWoUPNP+C9Ne96Pg0obblwP/uFZXWCVr/PPJHrBjMPyj9qIA4fZRUQ1YblDdZ0uHbnJCd
-- Accepting AUTHENTICATED call from 69.73.19.178, requested format = 2, actual format = 2
-- Executing Wait("IAX2[iaxtel@69.73.19.178:4569]/1", "1") in new stack
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACCEPT
Timestamp: 00209ms SCall: 00001 DCall: 00246 [69.73.19.178:4569]
FORMAT : 2
Rx-Frame Retry[No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00209ms SCall: 00246 DCall: 00001 [69.73.19.178:4569]
-- Executing Answer("IAX2[iaxtel@69.73.19.178:4569]/1", "") in new stack
-- Executing DigitTimeout("IAX2[iaxtel@69.73.19.178:4569]/1", "5") in new stack
-- Set Digit Timeout to 5
-- Executing ResponseTimeout("IAX2[iaxtel@69.73.19.178:4569]/1", "10") in new stack
-- Set Response Timeout to 10
-- Executing BackGround("IAX2[iaxtel@69.73.19.178:4569]/1", "demo-congrats") in new stack
-- Playing 'demo-congrats' (language 'en')
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: CONTROL Subclass: ANSWER
Timestamp: 01232ms SCall: 00001 DCall: 00246 [69.73.19.178:4569]
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 002 Type: VOICE Subclass: 2
Timestamp: 01232ms SCall: 00001 DCall: 00246 [69.73.19.178:4569]
Rx-Frame Retry[No] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 01232ms SCall: 00246 DCall: 00001 [69.73.19.178:4569]
Rx-Frame Retry[No] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: TXREQ
Timestamp: 01325ms SCall: 00246 DCall: 00001 [69.73.19.178:4569]
APPARENT ADDRES : IPV4 65.39.205.121:4569
CALL NUMBER : 313
TRANSFER ID : 1328095455
Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 01325ms SCall: 00001 DCall: 00246 [69.73.19.178:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: TXCNT
Timestamp: 01333ms SCall: 00001 DCall: 00313 [65.39.205.121:4569]
TRANSFER ID : 1328095455
Rx-Frame Retry[No] -- OSeqno: 002 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 01232ms SCall: 00246 DCall: 00001 [69.73.19.178:4569]
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: TXCNT
Timestamp: 01361ms SCall: 00313 DCall: 00001 [65.39.205.121:4569]
TRANSFER ID : 1328095455
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: TXACC
Timestamp: 01402ms SCall: 00001 DCall: 00313 [65.39.205.121:4569]
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: TXACC
Timestamp: 01490ms SCall: 00313 DCall: 00001 [65.39.205.121:4569]
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 003 Type: IAX Subclass: TXREADY
Timestamp: 01503ms SCall: 00001 DCall: 00246 [69.73.19.178:4569]
CALL NUMBER : 1
Rx-Frame Retry[No] -- OSeqno: 003 ISeqno: 004 Type: IAX Subclass: HANGUP
Timestamp: 01751ms SCall: 00246 DCall: 00001 [69.73.19.178:4569]
Tx-Frame Retry[-01] -- OSeqno: 004 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 01751ms SCall: 00001 DCall: 00246 [69.73.19.178:4569]
Jun 15 20:04:12 WARNING[-1221735504]: file.c:539 ast_readaudio_callback: Failed to write frame
== Spawn extension (default, s, 5) exited non-zero on 'IAX2[iaxtel@69.73.19.178:4569]/1'
-- Hungup 'IAX2[iaxtel@69.73.19.178:4569]/1'
Rx-Frame Retry[No] -- OSeqno: 003 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 01503ms SCall: 00246 DCall: 00001 [69.73.19.178:4569]
*CLI>
*CLI>
Las llamadas se cortan antes de escucharse cualquier cosa. A veces, y digo, A VECES, las llamadas siguen normalmente y sin problemas, pero la mayoría de las veces se cortan.
Alguien conoce el motivo?