[Home]

Summary:ASTERISK-22206: No audio on Asterisk 11 when calling from Chrome to PSTN and calls go to voicemail/another call leg
Reporter:James Mortensen (jmort253)Labels:
Date Opened:2013-07-29 11:24:35Date Closed:2013-09-04 19:01:07
Priority:MajorRegression?
Status:Closed/CompleteComponents:
Versions:Frequency of
Occurrence
Constant
Related
Issues:
Environment:Server: Ubuntu 12.10 root@ip-10-188-135-200:/opt# uname -a Linux ip-10-188-135-200 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/LinuxAttachments:( 0) badCallToVM.rtf
( 1) realGoodCall.rtf
Description:When making a call from Google Chrome to Asterisk 11.5 to the PSTN, we normally get two way audio. However, if the call goes to voicemail, or if no answer call forwarding is enabled, the call has no audio either direction, but Asterisk does receive audio from the PSTN gateway and it passes it onto Chrome.

Here are the following scenarios I test:
- Call to cellphone. When I answer it, I verify two way audio.
- Call to cellphone. Let it go to VM. I don't hear the VM message and it doesn't hear me. We only see RTP flowing from PSTN to Chrome in the Asterisk RTP logs.
- On Verizon cellphone, set no answer call forwarding *71 followed by the forwarding number. Make call to cellphone and let it forward to the other number. Answer the call and verify no audio.

I looked at the 200 OK's received from the gateway and both of them look normal. Yet we consistently get no audio when calls transfer or when they go to voicemail. This happens regardless of the PSTN carrier.  What's more, the transfers also happen deep in the stack at the carrier level. For instance, Verizon handles the switch to VM; this should be a black box to us.

I've attached the Asterisk 11.5 logs from the 200 OK and beyond for a good call and for a bad call where it went to VM.  If I call from another PSTN number, I can of course verify that the voicemail message is indeed played.
Comments:By: James Mortensen (jmort253) 2013-07-29 11:26:35.324-0500

I've attached the logs from the 200 OK's and beyond.

By: Rusty Newton (rnewton) 2013-07-29 16:05:02.294-0500

Thanks for the report.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

No Audio is often not a bug, but just mis-configuration for the complexities of networking. We'll need more information. Not to mention you posted the logs in a format that is not convenient for the devs.

* Please attach your debug files in flat text format with a .txt extension (grab the Asterisk log file itself from /var/log/asterisk/ and just slap a .txt on it). Be sure the debug files include both VERBOSE and DEBUG , and if you capture from the CLI rather than grabbing the log files already generated for you in /var/log/asterisk, then turn up VERBOSE and DEBUG both to 5.
* We'll need a packet capture corresponding to each log file (capture with tcpdump or wireshark) it should include SIP and RTP, and all inbound/outbound traffic to or from Asterisk during those calls.
* For the examples of unexpected or failing behavior please indicate where the actual issue occurs (point to a particular timestamp or frame) in each file.
* For both logs and PCAPs include the entire call from the initial INVITE to the final SIP packet whatever that may be.

By: Rusty Newton (rnewton) 2013-09-04 19:01:01.148-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines