I am using Trixbox CE 2.6.18 with the defaults (asterisk version 1.4.22). I have purchased sip service through bandwidth.com. We are connecting to bandwidth.com using an Edgewater 4500. The ping times are less than 100ms.
In my current configuration, I can receive calls with no problem. The problem I am running into, is that all outbound calls will lose audio between 30 seconds and 17 1/2 minutes. The timing seems to be random. I have no problem connecting the calls, but only with a total loss of audio in both directions at some point in that time range. Once audio fails it does not return. I have even gone so far as to try with a virtualized Trixbox 2.8 with vanilla trunk information (meaning cut and pasted from their setup guide in their forum)
I have been working with their tech support (good response times). When they changed us to using the "premium routes", the issue disappears. My support representative says that there must be something in my configuration that causes this. As I am still wet behind the ears (but learning), this is quite possible.
My sip trunk configuration is as follows:
canreinvite=yes
context=from-pstn
dtmfmode=rfc2833
host=192.168.0.200
nat=yes
externip=173.160.xxx.xxx
localnet=192.168.0.0/255.255.255.0
outboundproxy=192.168.0.200
progressinbound=yes
qualify=yes
type=peer
stunaddr=stun.zoiper.com:3478
session-timer=refuse
I ran a tcpdump on the Trixbox today during a failed call. It seems that the SIP phone (Zoiper, if it matters) sends several invite requests to Trixbox at the point where audio drops. My technician theorized that the client sending invites may be causing Trixbox to drop the audio.
I could find nothing in /var/log/messages that indicated distress.
During our traces, it seems that Trixbox would send a malformed BYE after the time the audio drops.
BYE sip:+16788170654@ot.bandwidth.com:5060 SIP/2.0 Via: SIP/2.0/UDP 173.160.xxx.xx:5060;branch=z9hG4bK489251fb;rport Record-Route:<sip:EWGW_0@173.160.173.26;lr> Route:<sip:216.82.224.202:5060;lr;ftag=as194351eb> From:"4258181587"<sip:4258181587@ot.bandwidth.com:5060>;tag=as194351eb To:<sip:+16788170654@ot.bandwidth.com:5060>;tag=gK0695b992 Call-ID: 3aa686bc601a2c8176f5a14651f104a6@192.168.0.101 CSeq: 103 BYE User-agent: Asterisk PBX Max-forwards: 70 Content-Length: 0
If I have omitted anything major that would help to point out what I have done wrong, please let me know.
Thanks for considering this.
Joshua
Member Since:
2010-01-28