Asterisk16 ok registration ok ring, but i can't hear

hi all,
i have installed asterisk16 few days ago.
i have a asterisk over my raspberry and i try to test two client(in my LAN network; server 192.168.1.249; client1 192.168.1.100;client2 192.168.1.212).
the two client can register over asterisk and can ringing to the other client, but i can’t hear nothing.
in the statistic of the client (into the zoiper),
client1: can send the packeg but no reveice
client2: can received but no send
very strange

Blockquote
pjsip.conf
[transport-udp]
type=transport
protocol=udp ;udp,tcp,tls,ws,wss
bind=0.0.0.0
[601]
type=endpoint
transport=transport-udp
context=from-internal
disallow=all
allow=ulaw
allow=gsm
auth=601
aors=601
[601]
type=auth
auth_type=userpass
password=601
username=601
[601]
type=aor
max_contacts=1

602 has got the same configuration with user/passwd 602/602

extension.conf
[from-internal]
exten => 601,1,Dial(PJSIP/601,20)
exten => 602,1,Dial(PJSIP/602,20)

Blockquote

rtp.conf
[general]
;
; RTP start and RTP end configure start and end addresses
;
; Defaults are rtpstart=5000 and rtpend=31000
;
rtpstart=10000
rtpend=200000

rtp log, start to send packeges (continues)
Got  RTP packet from    192.168.1.212:58170 (type 00, seq 052233, ts 1663632415, len 000160)
Sent RTP P2P packet to 192.168.1.100:41734 (type 00, len 000160)
Got  RTP packet from    192.168.1.212:58170 (type 00, seq 052234, ts 1663632575, len 000160)
Sent RTP P2P packet to 192.168.1.100:41734 (type 00, len 000160)
Got  RTP packet from    192.168.1.212:58170 (type 00, seq 052235, ts 1663632735, len 000160)
Sent RTP P2P packet to 192.168.1.100:41734 (type 00, len 000160)
Got  RTP packet from    192.168.1.212:58170 (type 00, seq 052236, ts 1663632895, len 000160)
Sent RTP P2P packet to 192.168.1.100:41734 (type 00, len 000160)
Got  RTP packet from    192.168.1.212:58170 (type 00, seq 052237, ts 1663633055, len 000160)
Sent RTP P2P packet to 192.168.1.100:41734 (type 00, len 000160)
Got  RTP packet from    192.168.1.212:58170 (type 00, seq 052238, ts 1663633215, len 000160)
Sent RTP P2P packet to 192.168.1.100:41734 (type 00, len 000160)
Got  RTP packet from    192.168.1.212:58170 (type 00, seq 052239, ts 1663633375, len 000160)
Sent RTP P2P packet to 192.168.1.100:41734 (type 00, len 000160)
Got  RTP packet from    192.168.1.212:58170 (type 00, seq 052240, ts 1663633535, len 000160)
Sent RTP P2P packet to 192.168.1.100:41734 (type 00, len 000160)
Got  RTP packet from    192.168.1.212:58170 (type 00, seq 052241, ts 1663633695, len 000160)
Sent RTP P2P packet to 192.168.1.100:41734 (type 00, len 000160)
<--- Received SIP request (697 bytes) from UDP:192.168.1.100:48224 --->
BYE sip:192.168.1.249:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.100:48224;branch=z9hG4bK-524287-1---1ca6e0d363a2e678;rport
Max-Forwards: 70
Contact: <sip:601@192.168.1.100:48224;transport=UDP>
To: <sip:602@192.168.1.249>;tag=a4a4a361-10df-40b1-ba6d-e65fdd97609b
From: <sip:601@192.168.1.249>;tag=1e6de73d
Call-ID: Zhki491TtXw2W9PL05mNcQ..
CSeq: 3 BYE
User-Agent: Zoiper rv2.10.11.5-mod
Authorization: Digest username="601",realm="asterisk",nonce="1605955591/fa071ae780a69bdfc8a7b94cd7b83378",uri="sip:192.168.1.249:5060",response="333b32d4b2cc12d06e84c724436a7b4c",cnonce="d58a010f0d69fb4b689c8ff4748c13ca",nc=00000002,qop=auth,algorithm=md5,opaque="5b64c43a1a06c10e"
Content-Length: 0


<--- Transmitting SIP response (346 bytes) to UDP:192.168.1.100:48224 --->
SIP/2.0 200 OK

i dont’ have firewall active.
any suggestion?
Peter

The above line contains a value that is not supported by UDP, and therefore not supported by RTP.

hi, thanks for the answer. i have changed the value to 20000(std), but i have got the same problem, no audio and no packeg.

i have trying both confugation wiith
with out direct_media=no
and with direct_media=no

Blockquote
with out direct_media=no
Added contact ‘sip:602@192.168.1.212:51330;transport=UDP;rinstance=70a0df46a513e959’ to AOR ‘602’ with expiration of 60 seconds
== Endpoint 602 is now Reachable
== Setting global variable ‘SIPDOMAIN’ to ‘192.168.1.249’
– Executing [602@from-internal:1] Dial(“PJSIP/601-00000000”, “PJSIP/602,20”) in new stack
– Called PJSIP/602
– PJSIP/602-00000001 is ringing
– PJSIP/602-00000001 is ringing
– PJSIP/602-00000001 answered PJSIP/601-00000000
0x73d3df48 – Strict RTP learning after remote address set to: 192.168.1.212:58170
0x73d32800 – Strict RTP learning after remote address set to: 192.168.1.100:41734
– Channel PJSIP/602-00000001 joined ‘simple_bridge’ basic-bridge <6dbf8fda-1afd-40fb-95c2-fb01f7c4deb3>
0x73d3df48 – Strict RTP switching to RTP target address 192.168.1.212:58170 as source
– Channel PJSIP/601-00000000 joined ‘simple_bridge’ basic-bridge <6dbf8fda-1afd-40fb-95c2-fb01f7c4deb3>
Bridge 6dbf8fda-1afd-40fb-95c2-fb01f7c4deb3: switching from simple_bridge technology to native_rtp
Remotely bridged ‘PJSIP/601-00000000’ and ‘PJSIP/602-00000001’ - media will flow directly between them
0x73d32800 – Strict RTP switching to RTP target address 192.168.1.100:41734 as source

Blockquote
direct_media=no

RTP Debugging Enabled
== Setting global variable ‘SIPDOMAIN’ to ‘192.168.1.249’
– Executing [601@from-internal:1] Dial(“PJSIP/602-00000000”, “PJSIP/601,20”) in new stack
– Called PJSIP/601
– PJSIP/601-00000001 is ringing
– PJSIP/601-00000001 is ringing
– PJSIP/601-00000001 answered PJSIP/602-00000000
> 0x73f1cb98 – Strict RTP learning after remote address set to: 192.168.1.100:41734
> 0x73f41618 – Strict RTP learning after remote address set to: 192.168.1.212:58170
– Channel PJSIP/601-00000001 joined ‘simple_bridge’ basic-bridge
– Channel PJSIP/602-00000000 joined ‘simple_bridge’ basic-bridge
> Bridge fcff8a01-08ea-4d23-9537-cbc279c73481: switching from simple_bridge technology to native_rtp
> Locally RTP bridged ‘PJSIP/602-00000000’ and ‘PJSIP/601-00000001’ in stack
> 0x73f1cb98 – Strict RTP switching to RTP target address 192.168.1.100:41734 as source
Got RTP packet from 192.168.1.100:41734 (type 95, seq 009170, ts 1792484107, len 000001)
> 0x73f41618 – Strict RTP switching to RTP target address 192.168.1.212:58170 as source
Got RTP packet from 192.168.1.212:58170 (type 95, seq 054604, ts 297490369, len 000001)
Got RTP packet from 192.168.1.212:58170 (type 00, seq 054605, ts 297490369, len 000160)
Sent RTP P2P packet to 192.168.1.100:41734 (type 00, len 000160)
Got RTP packet from 192.168.1.212:58170 (type 00, seq 054606, ts 297490529, len 000160)
Sent RTP P2P packet to 192.168.1.100:41734 (type 00, len 000160)

but the problem is the same. always no audio.
any suggestion?
Peter

Hi all, i have reinstalled all the sipclients and now is all ok. thank for all.
Peter

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.