one-way audio problem on some inbound gateways, but not others (and no outbound gateways)
I'm getting a one-way-audio problem on 2 of my inbound gateways. I have 3 gateways (1800 numbers), all directing into the same dialplan, which then directs the caller to an extn (answered by a softphone.) One of the gateways works fine, the other two do not (they used to several months ago, I'm not exactly sure when they stopped working.) One of the gateways that doesn't work is used for outbound calls without any problem. The pstn caller's audio arrives at the softphone, but the softphone's audio doesn't make it to the caller. It also doesn't show up in call-recordings. I've tried 3 different softphones to make sure it wasn't a problem with that. (The microphone indicators on them indicate they're picking up audio. Sending a dtmf does go through.) I've just upgraded to the latest version of freeswitch to make sure it wasn't that. Any ideas of what to try? Cheers, Fraser
Thanks Brian, I'd appreciate you looking - I don't know what to look for in the sip traces (could be worth documenting some pointers in the wiki?) The sip trace is here: http://pastebin.freeswitch.org/16136 I pressed enter a few times in the console before and after it connected to the extension, so about lines 490-600 is the relevant part. I also captured a pcap, in case that is of interest - let me know and I'll email it directly. Thanks, Fraser On Sun, Apr 17, 2011 at 12:39 AM, Brian Weat <brian@freeswitch.org> wrote:
have a sip trace?
Sent from my iPhone
On Apr 16, 2011, at 11:34 PM, Fraser Redmond <fraserredmond@gmail.com> wrote:
Any ideas of what to try?
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
firewall issue? mic doesn't work? can you get a pcap of all traffic? /b On Apr 20, 2011, at 3:04 PM, Fraser Redmond wrote:
Thanks Brian, I'd appreciate you looking - I don't know what to look for in the sip traces (could be worth documenting some pointers in the wiki?)
The sip trace is here: http://pastebin.freeswitch.org/16136
I pressed enter a few times in the console before and after it connected to the extension, so about lines 490-600 is the relevant part.
I also captured a pcap, in case that is of interest - let me know and I'll email it directly.
Thanks, Fraser
No, I tried turning off the firewall, and as I said in the OP it works with one of our other gateways. Mic works on that one gateway, and during the calls where the audio isn't transmitted the mic-indicator goes up and down. Cheers, Fraser On Wed, Apr 20, 2011 at 5:46 PM, Brian West <brian@freeswitch.org> wrote:
firewall issue? mic doesn't work? can you get a pcap of all traffic?
/b
On Apr 20, 2011, at 3:04 PM, Fraser Redmond wrote:
Thanks Brian, I'd appreciate you looking - I don't know what to look for in the sip traces (could be worth documenting some pointers in the wiki?)
The sip trace is here: http://pastebin.freeswitch.org/16136
I pressed enter a few times in the console before and after it connected to the extension, so about lines 490-600 is the relevant part.
I also captured a pcap, in case that is of interest - let me know and I'll email it directly.
Thanks, Fraser
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Brian, Here's the pcap file. BTW, your iphone email has your name spelt wrong ("Brian Weat"), made me wonder if there was a new Brian at Freeswitch :-) Cheers, Fraser On Wed, Apr 20, 2011 at 7:30 PM, Fraser Redmond <fraserredmond@gmail.com>wrote:
No, I tried turning off the firewall, and as I said in the OP it works with one of our other gateways.
Mic works on that one gateway, and during the calls where the audio isn't transmitted the mic-indicator goes up and down.
Cheers, Fraser
On Wed, Apr 20, 2011 at 5:46 PM, Brian West <brian@freeswitch.org> wrote:
firewall issue? mic doesn't work? can you get a pcap of all traffic?
/b
On Apr 20, 2011, at 3:04 PM, Fraser Redmond wrote:
Thanks Brian, I'd appreciate you looking - I don't know what to look for in the sip traces (could be worth documenting some pointers in the wiki?)
The sip trace is here: http://pastebin.freeswitch.org/16136
I pressed enter a few times in the console before and after it connected to the extension, so about lines 490-600 is the relevant part.
I also captured a pcap, in case that is of interest - let me know and I'll email it directly.
Thanks, Fraser
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
No outgoing audio? Usually this happens if SIP ALG is enabled in your router. On Wednesday 20 April 2011, Fraser Redmond wrote:
No, I tried turning off the firewall, and as I said in the OP it works with one of our other gateways.
Mic works on that one gateway, and during the calls where the audio isn't transmitted the mic-indicator goes up and down.
Cheers, Fraser
On Wed, Apr 20, 2011 at 5:46 PM, Brian West <brian@freeswitch.org> wrote:
firewall issue? mic doesn't work? can you get a pcap of all traffic?
/b
On Apr 20, 2011, at 3:04 PM, Fraser Redmond wrote:
Thanks Brian, I'd appreciate you looking - I don't know what to look for in the sip traces (could be worth documenting some pointers in the wiki?)
The sip trace is here: http://pastebin.freeswitch.org/16136
I pressed enter a few times in the console before and after it connected to the extension, so about lines 490-600 is the relevant part.
I also captured a pcap, in case that is of interest - let me know and I'll email it directly.
Thanks, Fraser
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
But it's odd that it's only happening with some gateways, but other gateways get two-way audio fine. That's what really has me puzzled. It's definitely not a problem at the extension side, as it happens with multiple phones, and multiple locations. (So not mic, firewall, router) Cheers, Fraser On Wed, Apr 20, 2011 at 7:42 PM, Sergey Okhapkin <sos@sokhapkin.dyndns.org>wrote:
No outgoing audio? Usually this happens if SIP ALG is enabled in your router.
On Wednesday 20 April 2011, Fraser Redmond wrote:
No, I tried turning off the firewall, and as I said in the OP it works with one of our other gateways.
Mic works on that one gateway, and during the calls where the audio isn't transmitted the mic-indicator goes up and down.
Cheers, Fraser
On Wed, Apr 20, 2011 at 5:46 PM, Brian West <brian@freeswitch.org> wrote:
firewall issue? mic doesn't work? can you get a pcap of all traffic?
/b
On Apr 20, 2011, at 3:04 PM, Fraser Redmond wrote:
Thanks Brian, I'd appreciate you looking - I don't know what to look for in the sip traces (could be worth documenting some pointers in the wiki?)
The sip trace is here: http://pastebin.freeswitch.org/16136
I pressed enter a few times in the console before and after it connected to the extension, so about lines 490-600 is the relevant part.
I also captured a pcap, in case that is of interest - let me know and I'll email it directly.
Thanks, Fraser
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Any possibility that the faulty gateways have changed their architecture to hide media relays behind NAT, and that you have rtp-auto-adjust disabled or not correctly configured on your SIP profile ? You may see that in the logs. Another way to check this is to look the IP advertised by the gateway in the SDP, and to see if your FS is trying to send traffic to that IP. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 21/04/2011 à 03:16, Fraser Redmond a écrit :
But it's odd that it's only happening with some gateways, but other gateways get two-way audio fine. That's what really has me puzzled.
It's definitely not a problem at the extension side, as it happens with multiple phones, and multiple locations. (So not mic, firewall, router)
Cheers, Fraser
On Wed, Apr 20, 2011 at 7:42 PM, Sergey Okhapkin <sos@sokhapkin.dyndns.org> wrote: No outgoing audio? Usually this happens if SIP ALG is enabled in your router.
On Wednesday 20 April 2011, Fraser Redmond wrote:
No, I tried turning off the firewall, and as I said in the OP it works with one of our other gateways.
Mic works on that one gateway, and during the calls where the audio isn't transmitted the mic-indicator goes up and down.
Cheers, Fraser
On Wed, Apr 20, 2011 at 5:46 PM, Brian West <brian@freeswitch.org> wrote:
firewall issue? mic doesn't work? can you get a pcap of all traffic?
/b
On Apr 20, 2011, at 3:04 PM, Fraser Redmond wrote:
Thanks Brian, I'd appreciate you looking - I don't know what to look for in the sip traces (could be worth documenting some pointers in the wiki?)
The sip trace is here: http://pastebin.freeswitch.org/16136
I pressed enter a few times in the console before and after it connected to the extension, so about lines 490-600 is the relevant part.
I also captured a pcap, in case that is of interest - let me know and I'll email it directly.
Thanks, Fraser
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks David - it's more than one gateway though (different companies, different countries), so unlikely that both changed things at around the same time. Because it was different gateways (and not all gateways), and different softphones (in different locations), the only common denominator was freeswitch. Only one other thing is consistent: the gateway that works is geographically close to our server (both in California), but the 2 gateways that don't work are both overseas. Otherwise the only common link is Freeswitch. Cheers, Fraser On Fri, Apr 22, 2011 at 4:26 AM, David Ponzone <david.ponzone@ipeva.fr>wrote:
Any possibility that the faulty gateways have changed their architecture to hide media relays behind NAT, and that you have rtp-auto-adjust disabled or not correctly configured on your SIP profile ? You may see that in the logs. Another way to check this is to look the IP advertised by the gateway in the SDP, and to see if your FS is trying to send traffic to that IP.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
*Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. **IPeva** décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.* * *
Le 21/04/2011 à 03:16, Fraser Redmond a écrit :
But it's odd that it's only happening with some gateways, but other gateways get two-way audio fine. That's what really has me puzzled.
It's definitely not a problem at the extension side, as it happens with multiple phones, and multiple locations. (So not mic, firewall, router)
Cheers, Fraser
On Wed, Apr 20, 2011 at 7:42 PM, Sergey Okhapkin <sos@sokhapkin.dyndns.org
wrote:
No outgoing audio? Usually this happens if SIP ALG is enabled in your router.
On Wednesday 20 April 2011, Fraser Redmond wrote:
No, I tried turning off the firewall, and as I said in the OP it works with one of our other gateways.
Mic works on that one gateway, and during the calls where the audio isn't transmitted the mic-indicator goes up and down.
Cheers, Fraser
On Wed, Apr 20, 2011 at 5:46 PM, Brian West <brian@freeswitch.org> wrote:
firewall issue? mic doesn't work? can you get a pcap of all traffic?
/b
On Apr 20, 2011, at 3:04 PM, Fraser Redmond wrote:
Thanks Brian, I'd appreciate you looking - I don't know what to look for in the sip traces (could be worth documenting some pointers in the wiki?)
The sip trace is here: http://pastebin.freeswitch.org/16136
I pressed enter a few times in the console before and after it connected to the extension, so about lines 490-600 is the relevant part.
I also captured a pcap, in case that is of interest - let me know and I'll email it directly.
Thanks, Fraser
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
If you have access to the clients machine, you can install a network monitoring tool there (Wireshark will be fine) and check OUTGOING RTP stream during the call. Make sure that RTP is sent to the port described in FreeSWITCH's OK reply (for example 17252, from pcap file you provided, line #10). Also check on the FS server, if it receives packets to this stream - use "ngrep port xxxxx" command. If data arrives, then problem is in FreeSWITCH (almost unlikely). If not, then you will check further at the routers in between. Maybe some router is doing some manipulations with the port number, so data is lost before arriving to FS. Vitalie 2011/4/24 Fraser Redmond <fraserredmond@gmail.com>
Thanks David - it's more than one gateway though (different companies, different countries), so unlikely that both changed things at around the same time.
Because it was different gateways (and not all gateways), and different softphones (in different locations), the only common denominator was freeswitch.
Only one other thing is consistent: the gateway that works is geographically close to our server (both in California), but the 2 gateways that don't work are both overseas. Otherwise the only common link is Freeswitch.
Cheers, Fraser
On Fri, Apr 22, 2011 at 4:26 AM, David Ponzone <david.ponzone@ipeva.fr>wrote:
Any possibility that the faulty gateways have changed their architecture to hide media relays behind NAT, and that you have rtp-auto-adjust disabled or not correctly configured on your SIP profile ? You may see that in the logs. Another way to check this is to look the IP advertised by the gateway in the SDP, and to see if your FS is trying to send traffic to that IP.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
*Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. **IPeva** décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.* * *
Le 21/04/2011 à 03:16, Fraser Redmond a écrit :
But it's odd that it's only happening with some gateways, but other gateways get two-way audio fine. That's what really has me puzzled.
It's definitely not a problem at the extension side, as it happens with multiple phones, and multiple locations. (So not mic, firewall, router)
Cheers, Fraser
On Wed, Apr 20, 2011 at 7:42 PM, Sergey Okhapkin < sos@sokhapkin.dyndns.org> wrote:
No outgoing audio? Usually this happens if SIP ALG is enabled in your router.
On Wednesday 20 April 2011, Fraser Redmond wrote:
No, I tried turning off the firewall, and as I said in the OP it works with one of our other gateways.
Mic works on that one gateway, and during the calls where the audio isn't transmitted the mic-indicator goes up and down.
Cheers, Fraser
On Wed, Apr 20, 2011 at 5:46 PM, Brian West <brian@freeswitch.org> wrote:
firewall issue? mic doesn't work? can you get a pcap of all traffic?
/b
On Apr 20, 2011, at 3:04 PM, Fraser Redmond wrote:
Thanks Brian, I'd appreciate you looking - I don't know what to look for in the sip traces (could be worth documenting some pointers in the wiki?)
The sip trace is here: http://pastebin.freeswitch.org/16136
I pressed enter a few times in the console before and after it connected to the extension, so about lines 490-600 is the relevant part.
I also captured a pcap, in case that is of interest - let me know and I'll email it directly.
Thanks, Fraser
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (6)
-
Brian Weat
-
Brian West
-
David Ponzone
-
Fraser Redmond
-
Sergey Okhapkin
-
Vitalie Colosov