IVR audio quality

Status
Not open for further replies.

michelerizzo88

New Member
Mar 11, 2019
15
0
1
35
Hi, i'm testing an IVR welcome audio, with ".wav 8000Hz" format and if i listen this file in recordings it's ok, but when i check to call from cellular i have a noisy audio. Why? If i check with another voip number the audio is ok.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,038
556
113
Do a siptrace on the calls with sngrep and see what codecs they are using.
 

michelerizzo88

New Member
Mar 11, 2019
15
0
1
35
This is the INVITE from my phone to ivr. ( I hide phone number and ip address for privacy)

xINVITE sip:gw+e22a8bea-f86f-460e-bf89-bba07315f787@X.Y.W.Z:5080;transport=udp;gw=e22a8bea-f86f-460e-bf89-bba07315f787 SIP/2.0
xVia: SIP/2.0/UDP X.Y.W.Z:5060;branch=z9hG4bK18ceed58;rport
qqqqqqqqqqwqqqqqqqqq qqqqqqqqqqwqqqqqqqqqxMax-Forwards: 70
13:08:44.569887 x INVITE (SDP) x xFrom: <sip:346xxxxxxx4@X.Y.W.Z>;tag=as676ae139
+0.003249 x qqqqqqqqqqqqqqqqqqqqqqqqqq> x xTo: <sip:gw+e22a8bea-f86f-460e-bf89-bba07315f787@X.Y.W.Z:5080;transport=udp;gw=e22a8bea-f86f-460e-bf89-bba07315f787>
13:08:44.573136 x 100 Trying x xContact: <sip:346xxxxxxx4@X.Y.W.Z:5060>
+0.061214 x <qqqqqqqqqqqqqqqqqqqqqqqqqq x xCall-ID: 2d6343ec24877cae2bea834303839508@X.Y.W.Z:5060
13:08:44.634350 x 200 OK (SDP) x xCSeq: 102 INVITE
+0.017500 x <qqqqqqqqqqqqqqqqqqqqqqqqqq x
13:08:44.651850 x ACK x xDate: Mon, 04 May 2020 11:08:44 GMT
+8.326186 x qqqqqqqqqqqqqqqqqqqqqqqqqq> x xAllow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
13:08:52.978036 x BYE x xSupported: replaces, timer
+0.015184 x qqqqqqqqqqqqqqqqqqqqqqqqqq> x xRemote-Party-ID: "346xxxxxxx4" <sip:346xxxxxxx4@X.Y.W.Z>;party=calling;privacy=off;screen=no
13:08:52.993220 x 200 OK x xContent-Type: application/sdp
x <qqqqqqqqqqqqqqqqqqqqqqqqqq x xContent-Length: 307
x x x
x x xv=0
x x xm=audio 10610 RTP/AVP 0 18 8 101
x x xa=rtpmap:0 PCMU/8000
x x xa=rtpmap:18 G729/8000
x x xa=fmtp:18 annexb=no
x x xa=rtpmap:8 PCMA/8000
x x xa=rtpmap:101 telephone-event/8000
x x xa=fmtp:101 0-16
x x xa=ptime:20
x x xa=maxptime:150
x x xa=sendrecv
 

michelerizzo88

New Member
Mar 11, 2019
15
0
1
35
Sorry, i attach 2 SIP/2.0 200 OK

SIP/2.0 200 OK
X.Y.W.Z:5060 X.Y.W.Z:5080 xVia: SIP/2.0/UDP X.Y.W.Z:5060;branch=z9hG4bK3442fb80;rport=5060
qqqqqqqqqqwqqqqqqqqq qqqqqqqqqqwqqqqqqqqqxFrom: <sip:34.......4@X.Y.W.Z>;tag=as50a088a5
15:16:38.201127 x INVITE (SDP) x xTo: <sip:gw+e22a8bea-f86f-460e-bf89-bba07315f787@X.Y.W.Z:5080;transport=udp;gw=e22a8bea-f86f-460e-bf89-bba07315f787>;tag=Uc3jejcU7NXXa
+0.002660 x qqqqqqqqqqqqqqqqqqqqqqqqqq> x xCall-ID: 5616ed2f1be4a21a2ac650dd2bd8ecf4@X.Y.W.Z:5060
15:16:38.203787 x 100 Trying x xCSeq: 102 INVITE
+0.050639 x <qqqqqqqqqqqqqqqqqqqqqqqqqq x xContact: <sip:gw+e22a8bea-f86f-460e-bf89-bba07315f787@X.Y.W.Z:5080;transport=udp>
15:16:38.254426 x 200 OK (SDP) x xUser-Agent: FreeSWITCH
+0.017698 x <qqqqqqqqqqqqqqqqqqqqqqqqqq x xAccept: application/sdp
15:16:38.272124 x ACK x xAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
+44.662281 x qqqqqqqqqqqqqqqqqqqqqqqqqq> x xSupported: timer, path, replaces
15:17:22.934405 x BYE x xAllow-Events: talk, hold, conference, refer
+0.020390 x qqqqqqqqqqqqqqqqqqqqqqqqqq> x xContent-Type: application/sdp
15:17:22.954795 x 200 OK x xContent-Disposition: session
x <qqqqqqqqqqqqqqqqqqqqqqqqqq x xContent-Length: 220
x x xRemote-Party-ID: "0832......." <sip:0832.......@X.Y.W.Z>;party=calling;privacy=off;screen=no
x x x
x x xv=0
x x xo=FreeSWITCH 1588578458 1588578459 IN IP4 X.Y.W.Z
x x xs=FreeSWITCH
x x xc=IN IP4 X.Y.W.Z
x x xt=0 0
x x xm=audio 19740 RTP/AVP 0 101
x x xa=rtpmap:0 PCMU/8000
x x xa=rtpmap:101 telephone-event/8000
x x xa=fmtp:101 0-16
x x xa=ptime:20
x x x



SIP/2.0 200 OK
X.Y.W.Z:5060 X.Y.W.Z:5080 xVia: SIP/2.0/UDP X.Y.W.Z:5060;branch=z9hG4bK50172250;rport=5060
qqqqqqqqqqwqqqqqqqqq qqqqqqqqqqwqqqqqqqqqxFrom: <sip:34.......4@X.Y.W.Z>;tag=as50a088a5
15:16:38.201127 x INVITE (SDP) x xTo: <sip:gw+e22a8bea-f86f-460e-bf89-bba07315f787@X.Y.W.Z:5080;transport=udp;gw=e22a8bea-f86f-460e-bf89-bba07315f787>;tag=Uc3jejcU7NXXa
+0.002660 x qqqqqqqqqqqqqqqqqqqqqqqqqq> x xCall-ID: 5616ed2f1be4a21a2ac650dd2bd8ecf4@X.Y.W.Z:5060
15:16:38.203787 x 100 Trying x xCSeq: 103 BYE
+0.050639 x <qqqqqqqqqqqqqqqqqqqqqqqqqq x xUser-Agent: FreeSWITCH
15:16:38.254426 x 200 OK (SDP) x xAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
+0.017698 x <qqqqqqqqqqqqqqqqqqqqqqqqqq x xSupported: timer, path, replaces
15:16:38.272124 x ACK x xContent-Length: 0
+44.662281 x qqqqqqqqqqqqqqqqqqqqqqqqqq> x x
 

DGI

New Member
Mar 1, 2021
9
1
3
46
Hi, i'm testing an IVR welcome audio, with ".wav 8000Hz" format and if i listen this file in recordings it's ok, but when i check to call from cellular i have a noisy audio. Why? If i check with another voip number the audio is ok.


Once you have recorded the audio convert it it the correct WAV format using this website:

The settings you want are:
Bit Resolution - 16 BIT
Sampling Rate - 8,000 Hz
Audio Channels - Mono

This should do the trick,

If it doesn't then also try and disable all codecs in FusionPBX with the exceptionof PCMU and PCMA
 
Status
Not open for further replies.