No sound during the call and it hangs up by itself

Hello,

In order to make a call from a SIP card to a phone line I got an OVH VOIP line.

However, after configuring it I have no sound during the call and it hangs up after 2 seconds. (If the option direct_media = yes the call does not hang up but there is no sound.

Here is my PJSIP.conf

[global]
type=global
keep_alive_interval=90

[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060

[trunk-ovh]
type=registration
outbound_auth=trunk-ovh
server_uri=sip:**********
client_uri=sip:*********:*********@************
retry_interval=20

[trunk-ovh]
type=identify
endpoint=trunk-ovh
match=***********

[trunk-ovh]
type = endpoint
transport = transport-udp
context = parking
disallow = all
allow = ulaw
allow = alaw
outbound_auth = trunk-ovh
aors = trunk-ovh

[060]
type = endpoint
transport = transport-udp
context = parking
allow = ulaw
allow = alaw
allow = g729
allow = g722
auth = 060
aors = 060
callerid = 060<parking>

[trunk-ovh]
type = auth
auth_type = userpass
password = *********
username = ********

[060]
type = auth
auth_type = userpass
password = *****
username = *****

[trunk-ovh]
type = aor
contact= sip:************:5060
max_contacts = 1

[060]
type = aor
max_contacts = 1

And here is my EXTENSION.conf

[parking]
exten => 0169775415,1,Background(silence/2)
exten => 0169775415,2,Dial(PJSIP/0169775415@trunk-ovh,20)
exten => 0169775415,3,Hangup

Moreover, you can see that I am well registered :

freepbx*CLI> pjsip show registration trunk-ovh 

 <Registration/ServerURI..............................>  <Auth....................>  <Status.......>
==========================================================================================

 trunk-ovh/sip:********                         trunk-ovh                   Registered        (exp. 2813s)

 ParameterName            : ParameterValue
 ==========================================================================
 auth_rejection_permanent : true
 client_uri               : sip:********:********@********
 contact_header_params    : 
 contact_user             : 
 endpoint                 : 
 expiration               : 3600
 fatal_retry_interval     : 0
 forbidden_retry_interval : 0
 line                     : false
 max_random_initial_delay : 10
 max_retries              : 10
 outbound_auth            : trunk-ovh
 outbound_proxy           : 
 retry_interval           : 20
 server_uri               : sip:********
 support_outbound         : no
 support_path             : false
 transport                : 

And here are the RTP traces:

Sent RTP packet to      91.121.129.168:35974 (type 08, seq 026253, ts 665804480, len 000160)
Got  RTP packet from    172.21.38.60:16384 (type 00, seq 000392, ts 665804640, len 000160)
Sent RTP packet to      91.121.129.168:35974 (type 08, seq 026254, ts 665804640, len 000160)
Got  RTP packet from    172.21.38.60:16384 (type 00, seq 000393, ts 665804800, len 000160)
Sent RTP packet to      91.121.129.168:35974 (type 08, seq 026255, ts 665804800, len 000160)
Got  RTP packet from    172.21.38.60:16384 (type 00, seq 000394, ts 665804960, len 000160)
Sent RTP packet to      91.121.129.168:35974 (type 08, seq 026256, ts 665804960, len 000160)
Got  RTP packet from    172.21.38.60:16384 (type 00, seq 000395, ts 665805120, len 000160)
Sent RTP packet to      91.121.129.168:35974 (type 08, seq 026257, ts 665805120, len 000160)

PJSIP trace :

  -- Executing [***************@parking:1] BackGround("PJSIP/060-0000003f", "silence/2") in new stack
<--- Transmitting SIP response (838 bytes) to UDP:172.21.38.60:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.21.38.60:5060;rport=5060;received=172.21.38.60;branch=z9hG4bK1915053633
Call-ID: 153543585
From: "060" <sip:060@172.21.38.220>;tag=1713500817
To: <sip:***************@172.21.38.220>;tag=a4559357-b7e0-4cd4-98f6-8666bcf1e870
CSeq: 21 INVITE
Server: FPBX-16.0.21.9(13.38.3)
Contact: <sip:172.21.38.125:5060>
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Content-Type: application/sdp
Content-Length:   279

v=0
o=- 123456 654323 IN IP4 172.21.38.125
s=Asterisk
c=IN IP4 172.21.38.125
t=0 0
m=audio 16664 RTP/AVP 0 8 9 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<--- Received SIP request (400 bytes) from UDP:172.21.38.60:5060 --->
ACK sip:172.21.38.125:5060 SIP/2.0
Via: SIP/2.0/UDP 172.21.38.60:5060;rport;branch=z9hG4bK573706202
From: "060" <sip:060@172.21.38.220>;tag=1713500817
To: <sip:***************@172.21.38.220>;tag=a4559357-b7e0-4cd4-98f6-8666bcf1e870
Call-ID: 153543585
CSeq: 21 ACK
Contact: <sip:060@172.21.38.60:5060;transport=UDP>
Max-Forwards: 70
User-Agent: commend SIP Series 3.9.1 Final
Content-Length: 0


    -- <PJSIP/060-0000003f> Playing 'silence/2.ulaw' (language 'en')
  == Manager 'admin' logged on from 127.0.0.1
  == Manager 'admin' logged off from 127.0.0.1
    -- Executing [***************@parking:2] Dial("PJSIP/060-0000003f", "PJSIP/***************@trunk-ovh,20") in new stack
    -- Called PJSIP/***************@trunk-ovh
<--- Transmitting SIP request (957 bytes) to UDP:91.121.129.134:5060 --->
INVITE sip:***************@***************:5060 SIP/2.0
Via: SIP/2.0/UDP 172.21.38.220:5060;rport;branch=z9hG4bKPj782aaa68-c317-4cbe-a1e3-edcb4ad50cb3
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
To: <sip:***************@***************>
Contact: <sip:asterisk@172.21.38.220:5060>
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 30465 INVITE
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub, histinfo
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-16.0.21.9(13.38.3)
Content-Type: application/sdp
Content-Length:   263

v=0
o=- 1851657227 1851657227 IN IP4 172.21.38.220
s=Asterisk
c=IN IP4 172.21.38.220
t=0 0
m=audio 13834 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<--- Received SIP response (354 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 100 Trying
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 30465 INVITE
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
To: <sip:***************@***************>
Via: SIP/2.0/UDP 172.21.38.220:5060;received=185.183.254.164;rport=5060;branch=z9hG4bKPj782aaa68-c317-4cbe-a1e3-edcb4ad50cb3
Content-Length: 0


<--- Received SIP response (800 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 407 authentication required
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
Contact: <sip:***************@91.121.129.134:5060;user=phone>
CSeq: 30465 INVITE
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
Proxy-Authenticate: Digest realm="***************",nonce="2412c1da45104e064d26ea9a1c3fe7e2",opaque="23fd3bee45c654e",stale=false,algorithm=MD5
Record-Route: <sip:91.121.129.134:5060;transport=udp;lr>;session=133047
To: <sip:***************@***************>;tag=00-07513-2412d2c4-28233ad47
Via: SIP/2.0/UDP 172.21.38.220:5060;received=185.183.254.164;rport=5060;branch=z9hG4bKPj782aaa68-c317-4cbe-a1e3-edcb4ad50cb3
Allow: REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK
Server: Cirpack/v4.76 (gw_sip)
Content-Length: 0


<--- Transmitting SIP request (438 bytes) to UDP:91.121.129.134:5060 --->
ACK sip:***************@***************:5060 SIP/2.0
Via: SIP/2.0/UDP 172.21.38.220:5060;rport;branch=z9hG4bKPj782aaa68-c317-4cbe-a1e3-edcb4ad50cb3
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
To: <sip:***************@***************>;tag=00-07513-2412d2c4-28233ad47
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 30465 ACK
Max-Forwards: 70
User-Agent: FPBX-16.0.21.9(13.38.3)
Content-Length:  0


<--- Transmitting SIP request (1207 bytes) to UDP:91.121.129.134:5060 --->
INVITE sip:***************@***************:5060 SIP/2.0
Via: SIP/2.0/UDP 172.21.38.220:5060;rport;branch=z9hG4bKPj6a347ffb-0e60-45fe-b30a-b13c462e72c6
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
To: <sip:***************@***************>
Contact: <sip:asterisk@172.21.38.220:5060>
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 30466 INVITE
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub, histinfo
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-16.0.21.9(13.38.3)
Proxy-Authorization: Digest username="***************", realm="***************", nonce="2412c1da45104e064d26ea9a1c3fe7e2", uri="sip:***************@***************:5060", response="e24ea806586f1df6ca6affbc8d6fdde1", algorithm=MD5, opaque="23fd3bee45c654e"
Content-Type: application/sdp
Content-Length:   263

v=0
o=- 1851657227 1851657227 IN IP4 172.21.38.220
s=Asterisk
c=IN IP4 172.21.38.220
t=0 0
m=audio 13834 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<--- Received SIP response (354 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 100 Trying
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 30466 INVITE
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
To: <sip:***************@***************>
Via: SIP/2.0/UDP 172.21.38.220:5060;received=185.183.254.164;rport=5060;branch=z9hG4bKPj6a347ffb-0e60-45fe-b30a-b13c462e72c6
Content-Length: 0


<--- Received SIP request (399 bytes) from UDP:91.121.129.134:5060 --->
OPTIONS sip:s@172.21.38.220:5060 SIP/2.0
Call-ID: 00-01733-2512e2d9-03efdc4d7@91.121.129.134
Contact: <sip:91.121.129.134:5060>
CSeq: 1 OPTIONS
From: <sip:keepalive@91.121.129.134:5060>;tag=00-01733-2512e2d8-670cd7a42
Max-Forwards: 70
To: <sip:***************:***************@***************>
Via: SIP/2.0/UDP 91.121.129.134:5060;rport;branch=z9hG4bK-PCWT-185cae8c-2a888876
Content-Length: 0


<--- Transmitting SIP response (904 bytes) to UDP:91.121.129.134:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 91.121.129.134:5060;rport=5060;received=91.121.129.134;branch=z9hG4bK-PCWT-185cae8c-2a888876
Call-ID: 00-01733-2512e2d9-03efdc4d7@91.121.129.134
From: <sip:keepalive@91.121.129.134>;tag=00-01733-2512e2d8-670cd7a42
To: <sip:***************:***************@***************>;tag=z9hG4bK-PCWT-185cae8c-2a888876
CSeq: 1 OPTIONS
Accept: application/xpidf+xml, application/cpim-pidf+xml, application/dialog-info+xml, application/simple-message-summary, application/pidf+xml, application/pidf+xml, application/dialog-info+xml, application/simple-message-summary, application/sdp, message/sipfrag;version=2.0
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Accept-Encoding: identity
Accept-Language: en
Server: FPBX-16.0.21.9(13.38.3)
Content-Length:  0


<--- Received SIP response (618 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 180 Ringing
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
Contact: <sip:91.121.129.134:5060>
CSeq: 30466 INVITE
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
Record-Route: <sip:91.121.129.134:5060;transport=udp;lr>;session=133048
To: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Via: SIP/2.0/UDP 172.21.38.220:5060;received=185.183.254.164;rport=5060;branch=z9hG4bKPj6a347ffb-0e60-45fe-b30a-b13c462e72c6
Allow: REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK
Server: Cirpack/v4.76 (gw_sip)
Content-Length: 0


    -- PJSIP/trunk-ovh-00000040 is ringing
<--- Received SIP response (930 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 183 Media change
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
Contact: <sip:91.121.129.134:5060>
Content-Type: application/sdp
CSeq: 30466 INVITE
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
Record-Route: <sip:91.121.129.134:5060;transport=udp;lr>;session=133048
To: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Via: SIP/2.0/UDP 172.21.38.220:5060;received=185.183.254.164;rport=5060;branch=z9hG4bKPj6a347ffb-0e60-45fe-b30a-b13c462e72c6
Allow: REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK
Server: Cirpack/v4.76 (gw_sip)
Content-Length: 274

v=0
o=anonymous 167714268438 167714268439 IN IP4 91.121.129.134
s=SIP Call
c=IN IP4 91.121.129.167
t=0 0
m=audio 36316 RTP/AVP 8 0 101
b=AS:82
a=rtpmap:8 PCMA/8000/1
a=rtpmap:0 PCMU/8000/1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

    -- PJSIP/trunk-ovh-00000040 is making progress passing it to PJSIP/060-0000003f
<--- Received SIP response (894 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 200 OK
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
Contact: <sip:91.121.129.134:5060>
Content-Type: application/sdp
CSeq: 30466 INVITE
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
Record-Route: <sip:91.121.129.134:5060;transport=udp;lr>;session=133048
To: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Via: SIP/2.0/UDP 172.21.38.220:5060;received=185.183.254.164;rport=5060;branch=z9hG4bKPj6a347ffb-0e60-45fe-b30a-b13c462e72c6
Allow: REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK
Server: Cirpack/v4.76 (gw_sip)
Content-Length: 248

v=0
o=anonymous 167714268438 167714268440 IN IP4 91.121.129.134
s=SIP Call
c=IN IP4 91.121.129.167
t=0 0
m=audio 36316 RTP/AVP 8 101
b=AS:82
a=rtpmap:8 PCMA/8000/1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

<--- Transmitting SIP request (492 bytes) to UDP:91.121.129.134:5060 --->
ACK sip:91.121.129.134:5060 SIP/2.0
Via: SIP/2.0/UDP 172.21.38.220:5060;rport;branch=z9hG4bKPje2841206-7869-40bb-a5b5-f3a6eeea255e
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
To: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 30466 ACK
Route: <sip:91.121.129.134:5060;transport=udp;lr>;session=133048
Max-Forwards: 70
User-Agent: FPBX-16.0.21.9(13.38.3)
Content-Length:  0


    -- PJSIP/trunk-ovh-00000040 answered PJSIP/060-0000003f
    -- Channel PJSIP/trunk-ovh-00000040 joined 'simple_bridge' basic-bridge <3c0671a4-a57d-4812-8d16-c1ae2199570b>
    -- Channel PJSIP/060-0000003f joined 'simple_bridge' basic-bridge <3c0671a4-a57d-4812-8d16-c1ae2199570b>
<--- Transmitting SIP request (902 bytes) to UDP:172.21.38.60:5060 --->
INVITE sip:060@172.21.38.60:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 172.21.38.125:5060;rport;branch=z9hG4bKPja2575f1f-8dd6-4d4c-9a5a-9a0b0640fdec
From: <sip:***************@172.21.38.220>;tag=a4559357-b7e0-4cd4-98f6-8666bcf1e870
To: "060" <sip:060@172.21.38.220>;tag=1713500817
Contact: <sip:172.21.38.125:5060>
Call-ID: 153543585
CSeq: 2692 INVITE
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub, histinfo
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-16.0.21.9(13.38.3)
Content-Type: application/sdp
Content-Length:   232

v=0
o=- 123456 654324 IN IP4 172.21.38.220
s=Asterisk
c=IN IP4 91.121.129.167
t=0 0
m=audio 36316 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<--- Transmitting SIP request (1018 bytes) to UDP:91.121.129.134:5060 --->
INVITE sip:91.121.129.134:5060 SIP/2.0
Via: SIP/2.0/UDP 172.21.38.220:5060;rport;branch=z9hG4bKPj7e483d44-74a2-4ec0-b6d5-54e3fc0d44d0
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
To: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Contact: <sip:asterisk@172.21.38.220:5060>
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 30467 INVITE
Route: <sip:91.121.129.134:5060;transport=udp;lr>;session=133048
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub, histinfo
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-16.0.21.9(13.38.3)
Content-Type: application/sdp
Content-Length:   238

v=0
o=- 1851657227 1851657228 IN IP4 172.21.38.220
s=Asterisk
c=IN IP4 172.21.38.60
t=0 0
m=audio 16384 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<--- Received SIP request (888 bytes) from UDP:91.121.129.134:5060 --->
INVITE sip:asterisk@172.21.38.220:5060 SIP/2.0
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
Contact: <sip:91.121.129.134:5060>
Content-Type: application/sdp
CSeq: 642580174 INVITE
From: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Max-Forwards: 69
Record-Route: <sip:91.121.129.134:5060;lr>;session=133048
To: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
Via: SIP/2.0/UDP 91.121.129.134:5060;branch=z9hG4bK-EXQM-185cb843-69cad752
Allow: REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK
User-Agent: Cirpack/v4.76 (gw_sip)
Content-Length: 248

v=0
o=anonymous 167714268438 167714268440 IN IP4 91.121.129.134
s=SIP Call
c=IN IP4 91.121.129.167
t=0 0
m=audio 36316 RTP/AVP 8 101
b=AS:82
a=rtpmap:8 PCMA/8000/1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

<--- Transmitting SIP response (500 bytes) to UDP:91.121.129.134:5060 --->
SIP/2.0 491 Another INVITE transaction in progress
Via: SIP/2.0/UDP 91.121.129.134:5060;rport=5060;received=91.121.129.134;branch=z9hG4bK-EXQM-185cb843-69cad752
Record-Route: <sip:91.121.129.134:5060;lr>;session=133048
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
From: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
To: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
CSeq: 642580174 INVITE
Server: FPBX-16.0.21.9(13.38.3)
Content-Length:  0


<--- Received SIP response (354 bytes) from UDP:172.21.38.60:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.21.38.125:5060;rport=5060;branch=z9hG4bKPja2575f1f-8dd6-4d4c-9a5a-9a0b0640fdec
From: <sip:***************@172.21.38.220>;tag=a4559357-b7e0-4cd4-98f6-8666bcf1e870
To: "060" <sip:060@172.21.38.220>;tag=1713500817
Call-ID: 153543585
CSeq: 2692 INVITE
User-Agent: commend SIP Series 3.9.1 Final
Content-Length: 0


<--- Received SIP response (386 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 100 Trying
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 30467 INVITE
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
To: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Via: SIP/2.0/UDP 172.21.38.220:5060;received=185.183.254.164;rport=5060;branch=z9hG4bKPj7e483d44-74a2-4ec0-b6d5-54e3fc0d44d0
Content-Length: 0


<--- Received SIP response (453 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 491 request pending
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 30467 INVITE
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
Record-Route: <sip:91.121.129.134:5060;transport=udp;lr>
To: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Via: SIP/2.0/UDP 172.21.38.220:5060;received=185.183.254.164;rport=5060;branch=z9hG4bKPj7e483d44-74a2-4ec0-b6d5-54e3fc0d44d0
Content-Length: 0


<--- Received SIP request (380 bytes) from UDP:91.121.129.134:5060 --->
ACK sip:asterisk@172.21.38.220:5060 SIP/2.0
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 642580174 ACK
From: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Max-Forwards: 69
To: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
Via: SIP/2.0/UDP 91.121.129.134:5060;branch=z9hG4bK-EXQM-185cb843-69cad752
Content-Length: 0


<--- Transmitting SIP request (492 bytes) to UDP:91.121.129.134:5060 --->
ACK sip:91.121.129.134:5060 SIP/2.0
Via: SIP/2.0/UDP 172.21.38.220:5060;rport;branch=z9hG4bKPj7e483d44-74a2-4ec0-b6d5-54e3fc0d44d0
From: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
To: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 30467 ACK
Route: <sip:91.121.129.134:5060;transport=udp;lr>;session=133048
Max-Forwards: 70
User-Agent: FPBX-16.0.21.9(13.38.3)
Content-Length:  0


<--- Received SIP response (650 bytes) from UDP:172.21.38.60:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.21.38.125:5060;rport=5060;branch=z9hG4bKPja2575f1f-8dd6-4d4c-9a5a-9a0b0640fdec
From: <sip:***************@172.21.38.220>;tag=a4559357-b7e0-4cd4-98f6-8666bcf1e870
To: "060" <sip:060@172.21.38.220>;tag=1713500817
Call-ID: 153543585
CSeq: 2692 INVITE
Contact: <sip:060@172.21.38.60:5060;transport=UDP>
Content-Type: application/sdp
User-Agent: commend SIP Series 3.9.1 Final
Content-Length:   213

v=0
o=060 123456 654321 IN IP4 172.21.38.60
s=A conversation
c=IN IP4 172.21.38.60
t=0 0
m=audio 16384 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000/1
a=rtpmap:101 telephone-event/8000/1
a=fmtp:101 0-11
a=ptime:20

<--- Transmitting SIP request (391 bytes) to UDP:172.21.38.60:5060 --->
ACK sip:060@172.21.38.60:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 172.21.38.125:5060;rport;branch=z9hG4bKPjf31ee56d-051c-4290-b4ed-7717e9b51a55
From: <sip:***************@172.21.38.220>;tag=a4559357-b7e0-4cd4-98f6-8666bcf1e870
To: "060" <sip:060@172.21.38.220>;tag=1713500817
Call-ID: 153543585
CSeq: 2692 ACK
Max-Forwards: 70
User-Agent: FPBX-16.0.21.9(13.38.3)
Content-Length:  0


<--- Received SIP request (602 bytes) from UDP:172.21.38.70:5060 --->
REGISTER sip:172.21.38.220:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 172.21.38.70:5060;branch=z9hG4bK72a4bb1d9a290f80;rport
Contact: <sip:070@172.21.38.70:5060>;expires=10;+sip.instance="<urn:uuid:7db9052b-c052-498e-befa-4f23cbc8164a>"
Max-Forwards: 70
Route: <sip:172.21.38.220:0;transport=udp;lr>
To: <sip:070@172.21.38.220:5060>
From: "070" <sip:070@172.21.38.220:5060>;tag=5d72701508ffbfff
Call-ID: a1e5405088bf2fb1
CSeq: 83783 REGISTER
User-Agent: commend SIP Series 4.2 Final
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
Expires: 10
Content-Length: 0


<--- Transmitting SIP response (491 bytes) to UDP:172.21.38.70:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.21.38.70:5060;rport=5060;received=172.21.38.70;branch=z9hG4bK72a4bb1d9a290f80
Call-ID: a1e5405088bf2fb1
From: "070" <sip:070@172.21.38.220>;tag=5d72701508ffbfff
To: <sip:070@172.21.38.220>;tag=z9hG4bK72a4bb1d9a290f80
CSeq: 83783 REGISTER
WWW-Authenticate: Digest realm="asterisk",nonce="1677142688/5ae6011625c4933aef380d69f42ee8b3",opaque="5ac585f866a00ba9",algorithm=MD5,qop="auth"
Server: FPBX-16.0.21.9(13.38.3)
Content-Length:  0


<--- Received SIP request (877 bytes) from UDP:172.21.38.70:5060 --->
REGISTER sip:172.21.38.220:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 172.21.38.70:5060;branch=z9hG4bK597280d13d9e9563;rport
Contact: <sip:070@172.21.38.70:5060>;expires=10;+sip.instance="<urn:uuid:7db9052b-c052-498e-befa-4f23cbc8164a>"
Max-Forwards: 70
Authorization: Digest username="070", realm="asterisk", nonce="1677142688/5ae6011625c4933aef380d69f42ee8b3", uri="sip:172.21.38.220:5060;transport=udp", response="020266596af58fefebdb69bad17557b2", opaque="5ac585f866a00ba9", cnonce="c3c6ca4a1a4751c9", qop=auth, nc=00000001
Route: <sip:172.21.38.220:0;transport=udp;lr>
To: <sip:070@172.21.38.220:5060>
From: "070" <sip:070@172.21.38.220:5060>;tag=5d72701508ffbfff
Call-ID: a1e5405088bf2fb1
CSeq: 83784 REGISTER
User-Agent: commend SIP Series 4.2 Final
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
Expires: 10
Content-Length: 0


<--- Transmitting SIP response (434 bytes) to UDP:172.21.38.70:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.21.38.70:5060;rport=5060;received=172.21.38.70;branch=z9hG4bK597280d13d9e9563
Call-ID: a1e5405088bf2fb1
From: "070" <sip:070@172.21.38.220>;tag=5d72701508ffbfff
To: <sip:070@172.21.38.220>;tag=z9hG4bK597280d13d9e9563
CSeq: 83784 REGISTER
Date: Thu, 23 Feb 2023 08:58:08 GMT
Contact: <sip:070@172.21.38.70:5060>;expires=59
Expires: 60
Server: FPBX-16.0.21.9(13.38.3)
Content-Length:  0


<--- Received SIP request (888 bytes) from UDP:91.121.129.134:5060 --->
INVITE sip:asterisk@172.21.38.220:5060 SIP/2.0
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
Contact: <sip:91.121.129.134:5060>
Content-Type: application/sdp
CSeq: 642580175 INVITE
From: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Max-Forwards: 69
Record-Route: <sip:91.121.129.134:5060;lr>;session=133048
To: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
Via: SIP/2.0/UDP 91.121.129.134:5060;branch=z9hG4bK-RQGQ-185cbd64-7b8d3b8a
Allow: REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK
User-Agent: Cirpack/v4.76 (gw_sip)
Content-Length: 248

v=0
o=anonymous 167714268438 167714268440 IN IP4 91.121.129.134
s=SIP Call
c=IN IP4 91.121.129.167
t=0 0
m=audio 36316 RTP/AVP 8 101
b=AS:82
a=rtpmap:8 PCMA/8000/1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

<--- Transmitting SIP response (567 bytes) to UDP:91.121.129.134:5060 --->
SIP/2.0 500 SDP negotiation failed
Via: SIP/2.0/UDP 91.121.129.134:5060;rport=5060;received=91.121.129.134;branch=z9hG4bK-RQGQ-185cbd64-7b8d3b8a
Record-Route: <sip:91.121.129.134:5060;lr>;session=133048
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
From: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
To: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
CSeq: 642580175 INVITE
Warning: 399 SIP "No suitable codec for remote offer (PJMEDIA_SDPNEG_NOANSCODEC)"
Server: FPBX-16.0.21.9(13.38.3)
Content-Length:  0


    -- Channel PJSIP/trunk-ovh-00000040 left 'native_rtp' basic-bridge <3c0671a4-a57d-4812-8d16-c1ae2199570b>
    -- Channel PJSIP/060-0000003f left 'native_rtp' basic-bridge <3c0671a4-a57d-4812-8d16-c1ae2199570b>
  == Spawn extension (parking, ***************, 2) exited non-zero on 'PJSIP/060-0000003f'
<--- Transmitting SIP request (901 bytes) to UDP:172.21.38.60:5060 --->
INVITE sip:060@172.21.38.60:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 172.21.38.125:5060;rport;branch=z9hG4bKPj34f6d2dc-5dc6-491a-b6ac-ea67dfc98d93
From: <sip:***************@172.21.38.220>;tag=a4559357-b7e0-4cd4-98f6-8666bcf1e870
To: "060" <sip:060@172.21.38.220>;tag=1713500817
Contact: <sip:172.21.38.125:5060>
Call-ID: 153543585
CSeq: 2693 INVITE
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub, histinfo
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-16.0.21.9(13.38.3)
Content-Type: application/sdp
Content-Length:   231

v=0
o=- 123456 654325 IN IP4 172.21.38.125
s=Asterisk
c=IN IP4 172.21.38.125
t=0 0
m=audio 16664 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

<--- Received SIP response (354 bytes) from UDP:172.21.38.60:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.21.38.125:5060;rport=5060;branch=z9hG4bKPj34f6d2dc-5dc6-491a-b6ac-ea67dfc98d93
From: <sip:***************@172.21.38.220>;tag=a4559357-b7e0-4cd4-98f6-8666bcf1e870
To: "060" <sip:060@172.21.38.220>;tag=1713500817
Call-ID: 153543585
CSeq: 2693 INVITE
User-Agent: commend SIP Series 3.9.1 Final
Content-Length: 0


<--- Received SIP request (380 bytes) from UDP:91.121.129.134:5060 --->
ACK sip:asterisk@172.21.38.220:5060 SIP/2.0
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 642580175 ACK
From: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Max-Forwards: 69
To: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
Via: SIP/2.0/UDP 91.121.129.134:5060;branch=z9hG4bK-RQGQ-185cbd64-7b8d3b8a
Content-Length: 0


<--- Received SIP request (500 bytes) from UDP:91.121.129.134:5060 --->
BYE sip:asterisk@172.21.38.220:5060 SIP/2.0
Call-ID: 8b816196-7144-48a1-87a3-6409cd4b5c97
CSeq: 642580176 BYE
From: <sip:***************@***************>;tag=00-07512-2412d2cb-76fb267a1
Max-Forwards: 69
Record-Route: <sip:91.121.129.134:5060;lr>;session=133048
To: "060" <sip:parking@172.21.38.220>;tag=6a1e73e8-cf8e-437f-902b-27aadc732ebd
Via: SIP/2.0/UDP 91.121.129.134:5060;branch=z9hG4bK-RRUB-185cbd68-0cf1766d
Reason: q.850;cause=127
User-Agent: Cirpack/v4.76 (gw_sip)
Content-Length: 0


You haven’t set your external_signalling_address and external_media_address.

I also note that you are using FreePBX, but this forum doesn’t cover the FreePBX GUI.

172/8 is a non-routeable address.

Thank you for your reply, I added the settings you gave me but it still doesn’t work

Check that the Via and Contact headers now contain the correct value and that the c= line in SDP also contains the correct value.

Make sure that your local networks list is correct.

Note that Asterisk 13 is past end of life. You need at least Asterisk 18 for a supported version. However that will not be the cause of your problem here.

I don’t know why you have redacted the service provider address.

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