I have two problems that may be connected. I had an elastix and a FreePBX Distro servers that had been connected by an IAX2 Trunk. The elastix server was connected to a PRI line, and the FreePBX server connected to the PRI line through an IAX2 trunk to the FreePBX server. Both servers are running Asterisk 13.19.1
I migrated the Elastix server to FreePBX distro. Now the IAX2 trunk will not let calls through - I get a congestion message. IAX2 peers shows that the status of the IAX peer is OK on each server.On the server with the PRI, I get a lot of log entries like this:
[2018-04-27 09:33:30] VERBOSE[5878] chan_iax2.c: Timestamp: 00011ms SCall: 03705 DCall: 00000 192.168.0.253:4569
[2018-04-27 09:33:30] VERBOSE[5878] chan_iax2.c:
[2018-04-27 09:33:30] VERBOSE[5878] chan_iax2.c: Tx-Frame Retry[ No] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG
[2018-04-27 09:33:30] VERBOSE[5878] chan_iax2.c: Timestamp: 00011ms SCall: 00001 DCall: 03705 192.168.0.253:4569
[2018-04-27 09:33:30] VERBOSE[5873] chan_iax2.c: Rx-Frame Retry[ No] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
[2018-04-27 09:33:30] VERBOSE[5873] chan_iax2.c: Timestamp: 00011ms SCall: 03705 DCall: 00001 192.168.0.253:4569
[2018-04-27 09:33:39] VERBOSE[5869] chan_iax2.c: Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE,
followed by this:
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: VERSION : 2
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: CALLED NUMBER : zzz
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: CODEC_PREFS : (ulaw|g722|alaw|gsm)
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: CALLING NUMBER : xxxxxxxx
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: CALLING PRESNTN : 0
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: CALLING TYPEOFN : 0
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: CALLING TRANSIT : 0
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: CALLING NAME :
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: LANGUAGE : en
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: USERNAME : xxxxxx
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: FORMAT : 4
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: FORMAT2 : ulaw
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: CAPABILITY : 4110
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: CAPABILITY2 : Unknown
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: ADSICPE : 2
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: DATE TIME : 2018-04-27 09:35:28
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: CALLTOKEN : 51 bytes
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c:
[2018-04-27 09:35:40] WARNING[5874] chan_iax2.c: Too much delay in IAX2 calltoken timestamp from address 192.168.0.253:4569
[2018-04-27 09:35:40] VERBOSE[5874] chan_iax2.c: Tx-Frame Retry[ No] – OSeqno: 000 ISeqno: 002 Type: IAX Subclass: REJECT.
On the sender, I see this:
[2018-04-27 09:35:28] VERBOSE[19311][C-00000012] app_dial.c: Called IAX2/yyyyyy/zzz
[2018-04-27 09:36:00] WARNING[27063] chan_iax2.c: Max retries exceeded to host 192.168.0.250 on IAX2/yyyyyyyy-16970 (type = 6, subclass = 1, ts=31, seqno=0)
[2018-04-27 09:36:00] VERBOSE[19311][C-00000012] chan_iax2.c: Hungup ‘IAX2/yyyyyyy-16970’
[2018-04-27 09:36:00] VERBOSE[19311][C-00000012] app_dial.c: Everyone is busy/congested at this time (1:0/0/1).
Additionally, I noticed that my CDR reports on the server without the PRI have no data in the time/date field. I don’t know if this is related to my IAX problem.
I have already placed calltokenoptional=yes into my trunk definitions, but still no connection
Any other ideas out there?
I have replaced it with a SIP trunk for now, but if i could get IAX to work that would be great.