Thanks for your reply.
I use Asterisk 21, and for the softmodem , the spandsl lib 3.0.0 (uploaded today to reinstall, in cqse of…)
-- General --
Name: PJSIP/ovh2-0000000d
Type: PJSIP
UniqueID: 1710513428.24
LinkedID: 1710513428.24
Caller ID: (N/A)
Caller ID Name: MiniPavi
Connected Line ID: (N/A)
Connected Line ID Name: MiniPavi
Eff. Connected Line ID: (N/A)
Eff. Connected Line ID Name: MiniPavi
DNID Digits: (N/A)
Language: en
State: Up (6)
NativeFormats: (ulaw)
WriteFormat: slin
ReadFormat: ulaw
WriteTranscode: Yes (slin@8000)->(ulaw@8000)
ReadTranscode: Yes (slin@8000)->(ulaw@8000)
Time to Hangup: 0
Elapsed Time: 0h0m47s
Bridge ID: (Not bridged)
-- PBX --
Context: extcall
Extension: 999
Priority: 9
Call Group: 0
Pickup Group: 0
Application: SoftmodemMinipavi
Data: "127.0.0.1", 8183, "TO 0358435150","9400", ft(-28)
Call Identifer: [C-0000000c]
Variables:
MIXMONITOR_FILENAME=/home/ludojoey/miniPavi/recordings/testmodem.wav
SIP_CODEC_INBOUND=alaw
SIP_CODEC=alaw
CALLED=0358435150
PID=9400
CDR Variables:
level 1: clid="MiniPavi" <>
level 1: dst=999
level 1: dcontext=extcall
level 1: channel=PJSIP/ovh2-0000000d
level 1: lastapp=SoftmodemMinipavi
level 1: lastdata="127.0.0.1", 8183, "TO 0358435150","9400", ft(-28)
level 1: start=1710513428.092623
level 1: answer=1710513429.460867
level 1: end=0.000000
level 1: duration=47
level 1: billsec=46
level 1: disposition=8
level 1: amaflags=3
level 1: uniqueid=1710513428.24
level 1: linkedid=1710513428.24
level 1: sequence=13
-- Streams --
Name: audio-0
Type: audio
State: sendrecv
Group: -1
Formats: (alaw|ulaw)
Metadata:
minipavi*CLI> pjsip show channelstats
...........Receive......... .........Transmit..........
BridgeId ChannelId ........ UpTime.. Codec. Count Lost Pct Jitter Count Lost Pct Jitter RTT....
===========================================================================================================
ovh2-0000000d 00:00:56 slin 1815 0 0 0.000 2723 0 0 0.001 0.000
And the SIP trace (really not a specialist in SIP protocol!):
<--- Received SIP request (408 bytes) from UDP:91.121.129.134:5060 --->
OPTIONS sip:s@81.36.32.190:5060;line=nhdrlrc SIP/2.0
Call-ID: 00-08040-3def79114-4b3f594a@91.121.129.134
Contact: <sip:91.121.129.134:5060>
CSeq: 1 OPTIONS
From: <sip:keepalive@91.121.129.134:5060>;tag=00-08040-3def79113-21eaeef6
Max-Forwards: 70
To: <sip:0033972101721:6909959AbC@sbc6.fr.sip.ovh>
Via: SIP/2.0/UDP 91.121.129.134:5060;rport;branch=z9hG4bK-DLAH-974ddbda-14c66d64
Content-Length: 0
<--- Transmitting SIP response (890 bytes) to UDP:91.121.129.134:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 91.121.129.134:5060;rport=5060;received=91.121.129.134;branch=z9hG4bK-DLAH-974ddbda-14c66d64
Call-ID: 00-08040-3def79114-4b3f594a@91.121.129.134
From: <sip:keepalive@91.121.129.134>;tag=00-08040-3def79113-21eaeef6
To: <sip:0033972101721:6909959AbC@sbc6.fr.sip.ovh>;tag=z9hG4bK-DLAH-974ddbda-14c66d64
CSeq: 1 OPTIONS
Accept: application/sdp, application/pidf+xml, application/xpidf+xml, application/cpim-pidf+xml, application/dialog-info+xml, application/simple-message-summary, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, 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: Asterisk PBX 21.0.0
Content-Length: 0
<--- Received SIP request (408 bytes) from UDP:91.121.129.134:5060 --->
OPTIONS sip:s@81.36.32.190:5060;line=vdjbcbg SIP/2.0
Call-ID: 00-02390-3def8248e-79300d02@91.121.129.134
Contact: <sip:91.121.129.134:5060>
CSeq: 1 OPTIONS
From: <sip:keepalive@91.121.129.134:5060>;tag=00-02390-3def8248d-45ff82a8
Max-Forwards: 70
To: <sip:0033972145674:6909959AbC@sbc6.fr.sip.ovh>
Via: SIP/2.0/UDP 91.121.129.134:5060;rport;branch=z9hG4bK-HSYW-974e4915-1702acb7
Content-Length: 0
<--- Transmitting SIP response (890 bytes) to UDP:91.121.129.134:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 91.121.129.134:5060;rport=5060;received=91.121.129.134;branch=z9hG4bK-HSYW-974e4915-1702acb7
Call-ID: 00-02390-3def8248e-79300d02@91.121.129.134
From: <sip:keepalive@91.121.129.134>;tag=00-02390-3def8248d-45ff82a8
To: <sip:0033972145674:6909959AbC@sbc6.fr.sip.ovh>;tag=z9hG4bK-HSYW-974e4915-1702acb7
CSeq: 1 OPTIONS
Accept: application/sdp, application/pidf+xml, application/xpidf+xml, application/cpim-pidf+xml, application/dialog-info+xml, applica tion/simple-message-summary, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, message/sipfrag;v ersion=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: Asterisk PBX 21.0.0
Content-Length: 0
<--- Received SIP request (408 bytes) from UDP:91.121.129.134:5060 --->
OPTIONS sip:s@81.36.32.190:5060;line=nhdrlrc SIP/2.0
Call-ID: 00-03327-3def844b3-100fa413@91.121.129.134
Contact: <sip:91.121.129.134:5060>
CSeq: 1 OPTIONS
From: <sip:keepalive@91.121.129.134:5060>;tag=00-03327-3def844b2-6ed1024c
Max-Forwards: 70
To: <sip:0033972101721:6909959AbC@sbc6.fr.sip.ovh>
Via: SIP/2.0/UDP 91.121.129.134:5060;rport;branch=z9hG4bK-EWCK-974e6189-7a84ddde
Content-Length: 0
<--- Transmitting SIP response (890 bytes) to UDP:91.121.129.134:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 91.121.129.134:5060;rport=5060;received=91.121.129.134;branch=z9hG4bK-EWCK-974e6189-7a84ddde
Call-ID: 00-03327-3def844b3-100fa413@91.121.129.134
From: <sip:keepalive@91.121.129.134>;tag=00-03327-3def844b2-6ed1024c
To: <sip:0033972101721:6909959AbC@sbc6.fr.sip.ovh>;tag=z9hG4bK-EWCK-974e6189-7a84ddde
CSeq: 1 OPTIONS
Accept: application/sdp, application/pidf+xml, application/xpidf+xml, application/cpim-pidf+xml, application/dialog-info+xml, applica tion/simple-message-summary, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, message/sipfrag;v ersion=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: Asterisk PBX 21.0.0
Content-Length: 0
<--- Transmitting SIP request (948 bytes) to UDP:91.121.129.134:5060 --->
INVITE sip:0358435150@sbc6.fr.sip.ovh SIP/2.0
Via: SIP/2.0/UDP 81.36.32.190:5060;rport;branch=z9hG4bKPj7fb01f03-b91a-4245-b5d8-915636b5e3ea
From: <sip:0033972145674@192.168.1.55>;tag=3364070e-7481-4d2b-be15-12ec7913517c
To: <sip:0358435150@sbc6.fr.sip.ovh>
Contact: <sip:0033972145674@81.36.32.190:5060>
Call-ID: e9fb88bc-a5c3-4e70-b5e6-45e4ec4aac6b
CSeq: 27970 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: Asterisk PBX 21.0.0
Content-Type: application/sdp
Content-Length: 261
v=0
o=- 1163274665 1163274665 IN IP4 81.36.32.190
s=Asterisk
c=IN IP4 81.36.32.190
t=0 0
m=audio 10002 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
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 (349 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 100 Trying
Call-ID: e9fb88bc-a5c3-4e70-b5e6-45e4ec4aac6b
CSeq: 27970 INVITE
From: <sip:0033972145674@192.168.1.55>;tag=3364070e-7481-4d2b-be15-12ec7913517c
To: <sip:0358435150@sbc6.fr.sip.ovh>
Via: SIP/2.0/UDP 81.36.32.190:5060;received=81.36.32.190;rport=5060;branch=z9hG4bKPj7fb01f03-b91a-4245-b5d8-915636b5e3ea
Content-Length: 0
<--- Received SIP response (795 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 407 authentication required
Call-ID: e9fb88bc-a5c3-4e70-b5e6-45e4ec4aac6b
Contact: <sip:0358435150@91.121.129.134:5060;user=phone>
CSeq: 27970 INVITE
From: <sip:0033972145674@192.168.1.55>;tag=3364070e-7481-4d2b-be15-12ec7913517c
Proxy-Authenticate: Digest realm="sbc6.fr.sip.ovh",nonce="3feaea593359832a28bc450c3e4baa3c",opaque="3fd519df37076b7",stale=false,algo rithm=MD5
Record-Route: <sip:91.121.129.134:5060;transport=udp;lr>;session=347951
To: <sip:0358435150@sbc6.fr.sip.ovh>;tag=00-08000-3feaf803-43d872fa0
Via: SIP/2.0/UDP 81.36.32.190:5060;received=81.36.32.190;rport=5060;branch=z9hG4bKPj7fb01f03-b91a-4245-b5d8-915636b5e3ea
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 (427 bytes) to UDP:91.121.129.134:5060 --->
ACK sip:0358435150@sbc6.fr.sip.ovh SIP/2.0
Via: SIP/2.0/UDP 81.36.32.190:5060;rport;branch=z9hG4bKPj7fb01f03-b91a-4245-b5d8-915636b5e3ea
From: <sip:0033972145674@192.168.1.55>;tag=3364070e-7481-4d2b-be15-12ec7913517c
To: <sip:0358435150@sbc6.fr.sip.ovh>;tag=00-08000-3feaf803-43d872fa0
Call-ID: e9fb88bc-a5c3-4e70-b5e6-45e4ec4aac6b
CSeq: 27970 ACK
Max-Forwards: 70
User-Agent: Asterisk PBX 21.0.0
Content-Length: 0
<--- Transmitting SIP request (1193 bytes) to UDP:91.121.129.134:5060 --->
INVITE sip:0358435150@sbc6.fr.sip.ovh SIP/2.0
Via: SIP/2.0/UDP 81.36.32.190:5060;rport;branch=z9hG4bKPjc0c950b7-b589-4f87-aaee-d9101d58c968
From: <sip:0033972145674@192.168.1.55>;tag=3364070e-7481-4d2b-be15-12ec7913517c
To: <sip:0358435150@sbc6.fr.sip.ovh>
Contact: <sip:0033972145674@81.36.32.190:5060>
Call-ID: e9fb88bc-a5c3-4e70-b5e6-45e4ec4aac6b
CSeq: 27971 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: Asterisk PBX 21.0.0
Proxy-Authorization: Digest username="0033972145674", realm="sbc6.fr.sip.ovh", nonce="3feaea593359832a28bc450c3e4baa3c", uri="sip:035 8435150@sbc6.fr.sip.ovh", response="98f029529d8fe7caadc82d397f579d8a", algorithm=MD5, opaque="3fd519df37076b7"
Content-Type: application/sdp
Content-Length: 261
v=0
o=- 1163274665 1163274665 IN IP4 81.36.32.190
s=Asterisk
c=IN IP4 81.36.32.190
t=0 0
m=audio 10002 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
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 (349 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 100 Trying
Call-ID: e9fb88bc-a5c3-4e70-b5e6-45e4ec4aac6b
CSeq: 27971 INVITE
From: <sip:0033972145674@192.168.1.55>;tag=3364070e-7481-4d2b-be15-12ec7913517c
To: <sip:0358435150@sbc6.fr.sip.ovh>
Via: SIP/2.0/UDP 81.36.32.190:5060;received=81.36.32.190;rport=5060;branch=z9hG4bKPjc0c950b7-b589-4f87-aaee-d9101d58c968
Content-Length: 0
<--- Received SIP response (920 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 180 Ringing
Call-ID: e9fb88bc-a5c3-4e70-b5e6-45e4ec4aac6b
Contact: <sip:91.121.129.134:5060>
Content-Type: application/sdp
CSeq: 27971 INVITE
From: <sip:0033972145674@192.168.1.55>;tag=3364070e-7481-4d2b-be15-12ec7913517c
Record-Route: <sip:91.121.129.134:5060;transport=udp;lr>;session=347959
To: <sip:0358435150@sbc6.fr.sip.ovh>;tag=00-08172-3feaf80e-3d4a05c94
Via: SIP/2.0/UDP 81.36.32.190:5060;received=81.36.32.190;rport=5060;branch=z9hG4bKPjc0c950b7-b589-4f87-aaee-d9101d58c968
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 171051364063 171051364064 IN IP4 91.121.129.134
s=SIP Call
c=IN IP4 91.121.129.165
t=0 0
m=audio 34296 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
<--- Received SIP response (985 bytes) from UDP:91.121.129.134:5060 --->
SIP/2.0 200 OK
Call-ID: e9fb88bc-a5c3-4e70-b5e6-45e4ec4aac6b
Contact: <sip:91.121.129.134:5060>
Content-Type: application/sdp
CSeq: 27971 INVITE
From: <sip:0033972145674@192.168.1.55>;tag=3364070e-7481-4d2b-be15-12ec7913517c
Record-Route: <sip:91.121.129.134:5060;transport=udp;lr>;session=347959
To: <sip:0358435150@sbc6.fr.sip.ovh>;tag=00-08172-3feaf80e-3d4a05c94
Via: SIP/2.0/UDP 81.36.32.190:5060;received=81.36.32.190;rport=5060;branch=z9hG4bKPjc0c950b7-b589-4f87-aaee-d9101d58c968
Allow: REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK
Server: Cirpack/v4.76 (gw_sip)
P-Asserted-Identity: <sip:0358435150@91.121.129.134:5060;user=phone>
Content-Length: 274
v=0
o=anonymous 171051364063 171051364065 IN IP4 91.121.129.134
s=SIP Call
c=IN IP4 91.121.129.165
t=0 0
m=audio 34296 RTP/AVP 0 8 101
b=AS:77
a=rtpmap:0 PCMU/8000/1
a=rtpmap:8 PCMA/8000/1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:30
a=sendrecv
<--- Transmitting SIP request (486 bytes) to UDP:91.121.129.134:5060 --->
ACK sip:91.121.129.134:5060 SIP/2.0
Via: SIP/2.0/UDP 81.36.32.190:5060;rport;branch=z9hG4bKPj07e40768-f0f4-4c51-9aa9-4ca4708f73fd
From: <sip:0033972145674@192.168.1.55>;tag=3364070e-7481-4d2b-be15-12ec7913517c
To: <sip:0358435150@sbc6.fr.sip.ovh>;tag=00-08172-3feaf80e-3d4a05c94
Call-ID: e9fb88bc-a5c3-4e70-b5e6-45e4ec4aac6b
CSeq: 27971 ACK
Route: <sip:91.121.129.134:5060;transport=udp;lr>;session=347959
Max-Forwards: 70
User-Agent: Asterisk PBX 21.0.0
Content-Length: 0