Call between asterisk servers over iax - can not hear each other

Calling between two asterisk servers over IAX, I can hear the remote phone ringing but we can not hear each other.

dialing remote: asterisk

exten => 4,1,Dial(IAX2/home_server:5xxxxxxx7@${clinic_server}/${EXTEN},60,rw)
exten => 4,n,Hangup()

remote asterisk, receiving call:

exten => 4,1,Set(recordfilename=${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},MST,%C%y_%m_%d_%H%M)}.wav)
exten => 4,n,MixMonitor(${recordfilename})
exten => 4,n,Dial(SIP/4,15,trw)
exten => 4,n,GotoIf($[“${DIALSTATUS}”=“BUSY”]?vmail:line2)
exten => 4,n(line2),Dial(SIP/54,20,rw)
exten => 4,n(vmail),Voicemail(4)
exten => 4,n,Voicemail(4)
exten => 4,n,Hangup()

her is the receiving call on the remote asterisk:

-- Accepting AUTHENTICATED call from 192.168.143.7:
--        > requested format = ulaw,
--        > requested prefs = (ulaw|gsm|ilbc|speex|g729|g723|alaw),
--        > actual format = ulaw,
--        > host prefs = (ulaw|alaw),
--        > priority = mine
-- Executing [4@extensions:1] Set("IAX2/home_server-765", "recordfilename=55-4-2024_02_01_1219.wav") in new stack
-- Executing [4@extensions:2] MixMonitor("IAX2/home_server-765", "55-4-2024_02_01_1219.wav") in new stack
-- Executing [4@extensions:3] Dial("IAX2/home_server-765", "SIP/4,15,trw") in new stack

== Begin MixMonitor Recording IAX2/home_server-765
== Using SIP RTP CoS mark 5
– Called SIP/4
– SIP/4-00000008 is ringing
> 0x7fbd88017780 – Strict RTP learning after remote address set to: 10.10.0.8:6010
– SIP/4-00000008 answered IAX2/home_server-765
> 0x7fbd88017780 – Strict RTP switching to RTP remote address 10.10.0.8:6010 as source
> 0x7fbd88017780 – Strict RTP learning complete - Locking on source address 10.10.0.8:6010
== Spawn extension (extensions, 4, 3) exited non-zero on ‘IAX2/home_server-765’
– Hungup ‘IAX2/home_server-765’
== MixMonitor close filestream (mixed)
== End MixMonitor Recording IAX2/home_server-765

On a router iax2 port 4569 should it be protocol UDP, TCP or Both?

When I try to call remote asterisk over iax2
The remote phone is ringing, but the voice is not going through:

-- Accepting AUTHENTICATED call from 192.168.143.7:
--        > requested format = ulaw,
--        > requested prefs = (ulaw|gsm|ilbc|speex|g729|g723|alaw),
--        > actual format = ulaw,
--        > host prefs = (ulaw|alaw),
--        > priority = mine
-- Executing [4@extensions:1] Dial("IAX2/home_server-8404", "SIP/4,15,rw") in new stack

== Using SIP RTP CoS mark 5
– Called SIP/4
– SIP/4-00000002 is ringing
– Nobody picked up in 15000 ms
– Executing [4@extensions:2] GotoIf(“IAX2/home_server-8404”, “0?vmail:line2”) in new stack
– Goto (extensions,4,3)
– Executing [4@extensions:3] Dial(“IAX2/home_server-8404”, “SIP/54,20,rw”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/54
– SIP/54-00000003 is ringing
– Nobody picked up in 20000 ms
– Executing [4@extensions:4] VoiceMail(“IAX2/home_server-8404”, “4”) in new stack
– <IAX2/home_server-8404> Playing ‘vm-intro.gsm’ (language ‘en’)
– <IAX2/home_server-8404> Playing ‘beep.gsm’ (language ‘en’)

and I can not hear the VoiceMail announcement from the remote asterisk nor the Playing “*gsm” from the remote asterisk.

IAX uses UDP.

Antony

It’s probably best if you give some details of your network setup:

  • where are the clients trying to place and receive the calls (presumably
    using SIP, not IAX?)

  • where are the Asterisk machines talking to each other over IAX

  • what routers and NAT exist between the above

Additionally, have you done any packet captures on the traffic between the
endpoint clients (telephones) to see whether there are any obvious attempts to
communicate from A to B with no response from B back to A?

Remember that UDP has no handshake protocol - A sends to B and simply hopes
that it arrives, with no confirmation whether it did.

Antony.

On a router I have setup port forwarding:
externa: 4569 to internal: 4569 protocol Both

On calling asterisk I get:

iax2 show registry
Host dnsmgr Username Perceived Refresh State
192.168.143.1:4569 N home_serve 192.168.143.7:4569 60 Registered
1 IAX2 registrations

home: asterisk dial plan:
exten => 5,1,Dial(IAX2/home_server:5xxxxxx7@${clinic_server}/${EXTEN},60,rw)
exten => 5,n,Hangup()

iax.conf
[clinic_server]
type=friend
host=dynamic
context=internal
disallow=all
allow=ulaw
allow=alaw
requirecalltoken=no
callgroup=1
pickupgroup=1

remote asterisk dial plan:
exten => 4,1,Dial(SIP/4,15,trw)
exten => 4,n,GotoIf($[“${DIALSTATUS}”=“BUSY”]?vmail:line2)
exten => 4,n(line2),Dial(SIP/54,20,rw)
exten => 4,n(vmail),Voicemail(4)
exten => 4,n,Voicemail(4)
exten => 4,n,Hangup()

exten => 5,1,Dial(${FD_L2},25,trw)
exten => 5,n,GotoIf($[“${DIALSTATUS}”=“BUSY”]?line1)
exten => 5,n(line1),Dial(${FD_L1},20,trw)
exten => 5,n,Voicemail(4)
exten => 5,n,Hangup()

iax.conf
[home_server]
type=friend
host=dynamic
secret=5xxxxxxx7
context=extensions
disallow=all
allow=ulaw
allow=alaw
callgroup=1
pickupgroup=1

When I call from home server to remote asterisk:
on home server:
– Executing [5@internal:1] Dial(“SIP/55-00000001”, “IAX2/home_server:5xxxxxx7@192.168.143.1/5,60,rw”) in new stack
– Called IAX2/home_server:5xxxxx7@192.168.143.1/5
– Call accepted by 192.168.143.1:4569 (format ulaw)
– Format for call is (ulaw)
– IAX2/192.168.143.1:4569-8095 is ringing
– IAX2/192.168.143.1:4569-8095 is ringing
– Hungup ‘IAX2/192.168.143.1:4569-8095’
– No one is available to answer at this time (1:0/0/0)
– Executing [5@internal:2] Hangup(“SIP/55-00000001”, “”) in new stack
== Spawn extension (internal, 5, 2) exited non-zero on 'SIP/55-00000001

remote asterisk:

– Accepting AUTHENTICATED call from 192.168.143.7:
– > requested format = ulaw,
– > requested prefs = (ulaw|gsm|ilbc|speex|g729|g723|alaw),
– > actual format = ulaw,
– > host prefs = (ulaw|alaw),
– > priority = mine
– Executing [5@extensions:1] Dial(“IAX2/home_server-4355”, “SIP/54,25,trw”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/54
– SIP/54-0000000a is ringing
> 0x7fef8c013f90 – Strict RTP learning after remote address set to: 10.10.0.15:6030
– SIP/54-0000000a answered IAX2/home_server-4355
> 0x7fef8c013f90 – Strict RTP switching to RTP remote address 10.10.0.15:6030 as source
> 0x7fef8c013f90 – Strict RTP learning complete - Locking on source address 10.10.0.15:6030
== Spawn extension (extensions, 5, 1) exited non-zero on ‘IAX2/home_server-4355’
– Hungup ‘IAX2/home_server-4355’

Remote place has a camera installed, I can hear the phone ringing in a remote location but when they pick up a phone, they can not hear me nor can I hear them.

When I call a remote location over standard POT line, the calls go through normally.

I have a backup server that is running same version of asterisk and has same dial plan,
all the file in asterisk directory are the same; compare them with “meld”

On backup server asterisk calls go through without any problems.

Remote place has a camera installed, I can hear the phone ringing in a remote location but when they pick up a phone, they can not hear me nor can I hear them.

When I call a remote location over standard POT line, the calls go through normally.

You EP phone is SIP and audio problem in most cases are coming from a network problem. Check if your phone has audio working on remote location

I have to Asterisk server one at home and one in remote location.
At home i have main server and backup server. Home servers use same version of Asterisk, same dial plan.

But one is working correctly the one one can not connect, her is the output of backup server that is working:

Home-Asterisk:

== Using SIP RTP CoS mark 5
> 0x7fef4c023480 – Strict RTP learning after remote address set to: 10.0.0.110:6020
– Executing [877@internal:1] Dial(“SIP/55-00000000”, “IAX2/home_server:5xxxxxx7@192.168.143.1/877,30,rw”) in new stack
– Called IAX2/home_server:5xxxxxx7@192.168.143.1/877
– Call accepted by 192.168.143.1:4569 (format ulaw)
– Format for call is (ulaw)
– IAX2/192.168.143.1:4569-1894 is ringing
– IAX2/192.168.143.1:4569-1894 is ringing
– IAX2/192.168.143.1:4569-1894 answered SIP/55-00000000
– Channel IAX2/192.168.143.1:4569-1894 joined ‘simple_bridge’ basic-bridge <2e8c7579-0455-4847-a57a-1955e00a83d8>
– Channel SIP/55-00000000 joined ‘simple_bridge’ basic-bridge <2e8c7579-0455-4847-a57a-1955e00a83d8>
> 0x7fef4c023480 – Strict RTP switching to RTP target address 10.0.0.110:6020 as source
> 0x7fef4c023480 – Strict RTP learning complete - Locking on source address 10.0.0.110:6020
– Channel SIP/55-00000000 left ‘simple_bridge’ basic-bridge <2e8c7579-0455-4847-a57a-1955e00a83d8>
– Channel IAX2/192.168.143.1:4569-1894 left ‘simple_bridge’ basic-bridge <2e8c7579-0455-4847-a57a-1955e00a83d8>
== Spawn extension (internal, 877, 1) exited non-zero on ‘SIP/55-00000000’
– Hungup ‘IAX2/192.168.143.1:4569-1894’

Remote-Asterisk:

– Accepting AUTHENTICATED call from 192.168.143.7:
– > requested format = ulaw,
– > requested prefs = (ulaw|gsm|ilbc|speex|g729|g723|alaw),
– > actual format = ulaw,
– > host prefs = (ulaw|alaw),
– > priority = mine
– Executing [877@extensions:1] Set(“IAX2/home_server-2819”, “recordfilename=55-877-2024_02_01_2101.wav”) in new stack
– Executing [877@extensions:2] MixMonitor(“IAX2/home_server-2819”, “55-877-2024_02_01_2101.wav”) in new stack
– Executing [877@extensions:3] Dial(“IAX2/home_server-2819”, “SIP/877,25,trw”) in new stack
== Begin MixMonitor Recording IAX2/home_server-2819
== Using SIP RTP CoS mark 5
– Called SIP/877
– SIP/877-0000001f is ringing
– Nobody picked up in 25000 ms
– Executing [877@extensions:4] Playback(“IAX2/home_server-2819”, “beep”) in new stack
– <IAX2/home_server-2819> Playing ‘beep.gsm’ (language ‘en’)
– Executing [877@extensions:5] VoiceMail(“IAX2/home_server-2819”, “877”) in new stack
– <IAX2/home_server-2819> Playing ‘vm-intro.gsm’ (language ‘en’)
== Spawn extension (extensions, 877, 5) exited non-zero on ‘IAX2/home_server-2819’
– Hungup ‘IAX2/home_server-2819’
== MixMonitor close filestream (mixed)
== End MixMonitor Recording IAX2/home_server-2819

==========================================

Same dial-plan same Asterisk version NOT on from home main computer.

== Using SIP RTP CoS mark 5
> 0x7fe0e00339a0 – Strict RTP learning after remote address set to: 10.0.0.110:6000
– Executing [877@internal:1] Dial(“SIP/55-00000005”, “IAX2/home_server:5xxxxxx7@192.168.143.1/877,30,rw”) in new stack
– Called IAX2/home_server:5xxxxxx7@192.168.143.1/877
– Call accepted by 192.168.143.1:4569 (format ulaw)
– Format for call is (ulaw)
– IAX2/192.168.143.1:4569-6413 is ringing
– IAX2/192.168.143.1:4569-6413 is ringing
– Nobody picked up in 30000 ms
– Hungup ‘IAX2/192.168.143.1:4569-6413’
– Executing [877@internal:2] Hangup(“SIP/55-00000005”, “”) in new stack
== Spawn extension (internal, 877, 2) exited non-zero on ‘SIP/55-00000005’

Remote-Asterisk:

– Accepting AUTHENTICATED call from 192.168.143.7:
– > requested format = ulaw,
– > requested prefs = (ulaw|gsm|ilbc|speex|g729|g723|alaw),
– > actual format = ulaw,
– > host prefs = (ulaw|alaw),
– > priority = mine
– Executing [877@extensions:1] Set(“IAX2/home_server-3394”, “recordfilename=55-877-2024_02_01_2048.wav”) in new stack
– Executing [877@extensions:2] MixMonitor(“IAX2/home_server-3394”, “55-877-2024_02_01_2048.wav”) in new stack
– Executing [877@extensions:3] Dial(“IAX2/home_server-3394”, “SIP/877,25,trw”) in new stack
== Begin MixMonitor Recording IAX2/home_server-3394
== Using SIP RTP CoS mark 5
– Called SIP/877
– SIP/877-0000001e is ringing
– Nobody picked up in 25000 ms
– Executing [877@extensions:4] Playback(“IAX2/home_server-3394”, “beep”) in new stack
– <IAX2/home_server-3394> Playing ‘beep.gsm’ (language ‘en’)
– Executing [877@extensions:5] VoiceMail(“IAX2/home_server-3394”, “877”) in new stack
– <IAX2/home_server-3394> Playing ‘vm-intro.gsm’ (language ‘en’)
== Spawn extension (extensions, 877, 5) exited non-zero on ‘IAX2/home_server-3394’
– Hungup ‘IAX2/home_server-3394’
== MixMonitor close filestream (mixed)
== End MixMonitor Recording IAX2/home_server-3394

Can anybody tell me what is the difference, why one is working/connecting i get a voice mail and if nobody answers it goes to voicemail ( joined ‘simple_bridge’ basic-bridge)

The other one it give me,
Nobody picked up in 30000 ms
– Hungup

No, the remote phone is standard phone, connected to AudioCode unit.
If I connect to the remote location from my home-backup asterisk (that has same settings, same extension.conf, same iax.conf etc) it works OK. When I connect my main home-asterisk server the audio is not going through.

Can anybody with more asterisk experience take a look at blow enclosed call “with debug set to ON”
and pinpoint reason why remote asterisk is not processing voice:

This debug from receiving asterisk server;

i5*CLI> iax2 set debug on
IAX2 Debugging Enabled
Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00018ms SCall: 12891 DCall: 00000 [192.168.143.7:4569]
USERNAME : home_server
REFRESH : 60

Tx-Frame Retry[ No] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: CTOKEN
Timestamp: 00018ms SCall: 00001 DCall: 12891 [192.168.143.7:4569]
CALLTOKEN : 51 bytes

Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00027ms SCall: 12891 DCall: 00000 [192.168.143.7:4569]
USERNAME : home_server
REFRESH : 60
CALLTOKEN : 51 bytes

Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH
Timestamp: 00013ms SCall: 03601 DCall: 12891 [192.168.143.7:4569]
AUTHMETHODS : 3
CHALLENGE : \x31\x30\x35\x34\x34\x34\x32\x38\x38
USERNAME : home_server

Rx-Frame Retry[ No] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ
Timestamp: 00038ms SCall: 12891 DCall: 03601 [192.168.143.7:4569]
USERNAME : home_server
REFRESH : 60
MD5 RESULT : 408d45d46904c6c482347b076dafa70e

Tx-Frame Retry[000] – OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK
Timestamp: 00023ms SCall: 03601 DCall: 12891 [192.168.143.7:4569]
USERNAME : home_server
DATE TIME : 2024-02-02 23:56:20
REFRESH : 60
APPARENT ADDRES : IPV4 192.168.143.7:4569

Rx-Frame Retry[ No] – OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00023ms SCall: 12891 DCall: 03601 [192.168.143.7:4569]
i5CLI>
i5
CLI>
i5CLI>
i5
CLI>
Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00009ms SCall: 06809 DCall: 00000 [192.168.143.7:4569]
VERSION : 2
CALLED NUMBER : 877
CODEC_PREFS : (ulaw|gsm|ilbc|speex|g729|g723|alaw)
CALLING NUMBER : 55
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
Unknown IE 057 : Present
CALLING NAME : Joseph
LANGUAGE : en
USERNAME : home_server
FORMAT : 4
FORMAT2 : ulaw
CAPABILITY : 1807
CAPABILITY2 : Unknown
ADSICPE : 2
DATE TIME : 2024-02-02 23:56:32

Ignoring unknown information element ‘Unknown IE’ (57) of length 4
Tx-Frame Retry[ No] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: CTOKEN
Timestamp: 00009ms SCall: 00001 DCall: 06809 [192.168.143.7:4569]
CALLTOKEN : 51 bytes

Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00019ms SCall: 06809 DCall: 00000 [192.168.143.7:4569]
VERSION : 2
CALLED NUMBER : 877
CODEC_PREFS : (ulaw|gsm|ilbc|speex|g729|g723|alaw)
CALLING NUMBER : 55
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
Unknown IE 057 : Present
CALLING NAME : Joseph
LANGUAGE : en
USERNAME : home_server
FORMAT : 4
FORMAT2 : ulaw
CAPABILITY : 1807
CAPABILITY2 : Unknown
ADSICPE : 2
DATE TIME : 2024-02-02 23:56:32
CALLTOKEN : 51 bytes

Ignoring unknown information element ‘Unknown IE’ (57) of length 4
Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00004ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
AUTHMETHODS : 3
CHALLENGE : \x31\x30\x34\x37\x35\x34\x33\x33\x39
USERNAME : home_server

Rx-Frame Retry[ No] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00029ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
MD5 RESULT : e0f9db3405e467d1b1c78718bde48ae9

-- Accepting AUTHENTICATED call from 192.168.143.7:
--        > requested format = ulaw,
--        > requested prefs = (ulaw|gsm|ilbc|speex|g729|g723|alaw),
--        > actual format = ulaw,
--        > host prefs = (ulaw|alaw),
--        > priority = mine

Tx-Frame Retry[000] – OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACCEPT
Timestamp: 00015ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
FORMAT : 4
FORMAT2 : ulaw

-- Executing [877@extensions:1] Set("IAX2/home_server-3672", "recordfilename=55-877-2024_02_02_2356.wav") in new stack
-- Executing [877@extensions:2] MixMonitor("IAX2/home_server-3672", "55-877-2024_02_02_2356.wav") in new stack
-- Executing [877@extensions:3] Dial("IAX2/home_server-3672", "SIP/877,25,trw") in new stack

== Begin MixMonitor Recording IAX2/home_server-3672
== Using SIP RTP CoS mark 5
– Called SIP/877
Tx-Frame Retry[000] – OSeqno: 002 ISeqno: 002 Type: CONTROL Subclass: RINGING
Timestamp: 00018ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00015ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 002 ISeqno: 003 Type: IAX Subclass: ACK
Timestamp: 00018ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
– SIP/877-00000002 is ringing
Tx-Frame Retry[000] – OSeqno: 003 ISeqno: 002 Type: CONTROL Subclass: RINGING
Timestamp: 00021ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 002 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 00021ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 002 ISeqno: 004 Type: IAX Subclass: LAGRQ
Timestamp: 10008ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Tx-Frame Retry[000] – OSeqno: 004 ISeqno: 003 Type: IAX Subclass: LAGRP
Timestamp: 10008ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 003 ISeqno: 005 Type: IAX Subclass: ACK
Timestamp: 10008ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Tx-Frame Retry[000] – OSeqno: 005 ISeqno: 003 Type: IAX Subclass: LAGRQ
Timestamp: 10004ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 003 ISeqno: 006 Type: IAX Subclass: LAGRP
Timestamp: 10004ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Tx-Frame Retry[-01] – OSeqno: 006 ISeqno: 004 Type: IAX Subclass: ACK
Timestamp: 10004ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 004 ISeqno: 006 Type: IAX Subclass: LAGRQ
Timestamp: 20007ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Tx-Frame Retry[000] – OSeqno: 006 ISeqno: 005 Type: IAX Subclass: LAGRP
Timestamp: 20007ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 005 ISeqno: 007 Type: IAX Subclass: ACK
Timestamp: 20007ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Tx-Frame Retry[000] – OSeqno: 007 ISeqno: 005 Type: IAX Subclass: LAGRQ
Timestamp: 20003ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 005 ISeqno: 008 Type: IAX Subclass: LAGRP
Timestamp: 20003ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Tx-Frame Retry[-01] – OSeqno: 008 ISeqno: 006 Type: IAX Subclass: ACK
Timestamp: 20003ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 006 ISeqno: 008 Type: IAX Subclass: PING
Timestamp: 21008ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Tx-Frame Retry[000] – OSeqno: 008 ISeqno: 007 Type: IAX Subclass: PONG
Timestamp: 21008ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
RR_JITTER : 0
RR_LOSS : 0
RR_PKTS : 1
RR_DELAY : 40
RR_DROPPED : 0
RR_OUTOFORDER : 0

Rx-Frame Retry[ No] – OSeqno: 007 ISeqno: 009 Type: IAX Subclass: ACK
Timestamp: 21008ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Tx-Frame Retry[000] – OSeqno: 009 ISeqno: 007 Type: IAX Subclass: PING
Timestamp: 21004ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 007 ISeqno: 010 Type: IAX Subclass: PONG
Timestamp: 21004ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
RR_JITTER : 0
RR_LOSS : 0
RR_PKTS : 2
RR_DELAY : 40
RR_DROPPED : 0
RR_OUTOFORDER : 0

Tx-Frame Retry[-01] – OSeqno: 010 ISeqno: 008 Type: IAX Subclass: ACK
Timestamp: 21004ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
– Nobody picked up in 25000 ms
Tx-Frame Retry[000] – OSeqno: 010 ISeqno: 008 Type: CONTROL Subclass: (255?)
Timestamp: 25036ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
– Executing [877@extensions:4] Playback(“IAX2/home_server-3672”, “beep”) in new stack
Tx-Frame Retry[000] – OSeqno: 011 ISeqno: 008 Type: CONTROL Subclass: ANSWER
Timestamp: 25039ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Tx-Frame Retry[000] – OSeqno: 012 ISeqno: 008 Type: CONTROL Subclass: (255?)
Timestamp: 25042ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 008 ISeqno: 011 Type: IAX Subclass: ACK
Timestamp: 25036ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 008 ISeqno: 012 Type: IAX Subclass: ACK
Timestamp: 25039ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 008 ISeqno: 013 Type: IAX Subclass: ACK
Timestamp: 25042ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
– <IAX2/home_server-3672> Playing ‘beep.gsm’ (language ‘en’)
Tx-Frame Retry[000] – OSeqno: 013 ISeqno: 008 Type: VOICE Subclass: 4
Timestamp: 25540ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 008 ISeqno: 014 Type: IAX Subclass: ACK
Timestamp: 25540ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
– Executing [877@extensions:5] VoiceMail(“IAX2/home_server-3672”, “877”) in new stack
– <IAX2/home_server-3672> Playing ‘vm-intro.gsm’ (language ‘en’)
Rx-Frame Retry[ No] – OSeqno: 008 ISeqno: 014 Type: IAX Subclass: LAGRQ
Timestamp: 30006ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Tx-Frame Retry[000] – OSeqno: 014 ISeqno: 009 Type: IAX Subclass: LAGRP
Timestamp: 30006ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 009 ISeqno: 014 Type: IAX Subclass: HANGUP
Timestamp: 30009ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
CAUSE CODE : 0

Tx-Frame Retry[-01] – OSeqno: 014 ISeqno: 010 Type: IAX Subclass: ACK
Timestamp: 30009ms SCall: 03672 DCall: 06809 [192.168.143.7:4569]
== Spawn extension (extensions, 877, 5) exited non-zero on ‘IAX2/home_server-3672’
– Hungup ‘IAX2/home_server-3672’
== MixMonitor close filestream (mixed)
== End MixMonitor Recording IAX2/home_server-3672
Rx-Frame Retry[ No] – OSeqno: 009 ISeqno: 015 Type: IAX Subclass: ACK
Timestamp: 30006ms SCall: 06809 DCall: 03672 [192.168.143.7:4569]
Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00007ms SCall: 03936 DCall: 00000 [192.168.143.7:4569]
USERNAME : home_server
REFRESH : 60

Tx-Frame Retry[ No] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: CTOKEN
Timestamp: 00007ms SCall: 00001 DCall: 03936 [192.168.143.7:4569]
CALLTOKEN : 51 bytes

Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00016ms SCall: 03936 DCall: 00000 [192.168.143.7:4569]
USERNAME : home_server
REFRESH : 60
CALLTOKEN : 51 bytes

Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH
Timestamp: 00001ms SCall: 00230 DCall: 03936 [192.168.143.7:4569]
AUTHMETHODS : 3
CHALLENGE : \x31\x36\x32\x30\x35\x35\x36\x35\x30
USERNAME : home_server

Rx-Frame Retry[ No] – OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ
Timestamp: 00024ms SCall: 03936 DCall: 00230 [192.168.143.7:4569]
USERNAME : home_server
REFRESH : 60
MD5 RESULT : 95672bad52507605985e8befc64ba06c

Tx-Frame Retry[000] – OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGACK
Timestamp: 00011ms SCall: 00230 DCall: 03936 [192.168.143.7:4569]
USERNAME : home_server
DATE TIME : 2024-02-02 23:57:10
REFRESH : 60
APPARENT ADDRES : IPV4 192.168.143.7:4569

Rx-Frame Retry[ No] – OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00011ms SCall: 03936 DCall: 00230 [192.168.143.7:4569]

Again, your problem is not IAX but SIP, your logs show that everything
is working onIAX side.

Set debug on endpoint 877 which is called by home_server --Called
SIP/877 and check the output.

I think I was able to solve it, I disabled “jitterbuffer” in iax.conf
After making a call to remote asterisk I can hear voicemail announcement and all beeps from remote asterisk, where as before I couldn’t hear them, I will know for sure on Monday.

Question.
Is IAX2 gone in newer versions of Asterisk 18+ ?

No. The chan_iax2 module remains in Asterisk.