RTP payload type on dialpeer. The Provider / Telco uses RTP payload-type 97 for Telephone Events (NTE) to relay DTMF SIP debug:

m=audio 40432 RTP/AVP 18 8 0 4 97
a=rtpmap:18 G729/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=rtpmap:97 telephone-event/8000
a=fmtp:97 0-15
a=fmtp:18 annexb=yes

Cisco normally uses 101:

m=audio 9076 RTP/AVP 18 8 0 101
c=IN IP4 10.35.32.3
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20

for the Cisco to use the correct payload:

rtp payload-type cisco-codec-fax-ack 98
rtp payload-type nte 97

the first is needed because payload-type can only be used/configured once and the 97 is in use for fax ack by default. You can check this with “show dial-peer voice xxxx”: (according to cisco documentation)

VoiceOverIpPeer101
peer type = voice, information type = voice,
description = `',
tag = 6001, destination-pattern = `6001',
answer-address = `', preference=0,
------------8<------------
req-qos video def bandwidth = 384, req-qos video max bandwidth = 0,
RTP dynamic payload type values: NTE = 101
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122
CAS=123, ClearChan=125, PCM switch over u-law=0,A-law=8
h263+=118, h264=119

RTP comfort noise payload type = 19
fax rate = fax,   payload size =  20 bytes
------------>8------------

This issue can be seen with for example a Huawei-PBX as provider device. (SIP header in INVITE: “User-Agent: Huawei SoftX3000 V300R010”).