Call Forwarding Connection OK but No Audio

Having a problem with routing calls to my mobile after hours or after I leave early. I have looked at other posts and have applied many of the remedies suggested.
I need to divert calls using ring group placing the mobile number with a "#" at the end along with one of the extensions. The dial out in ring gorup look like this:
2000
2001
XXXXXXXXXX# (external number)
Dial plans are correct.
Incoming calls are working fine both incoming and outgoing i can call the mobile fine using pennytel trunk, incoming calls are received fine using OZTELL. When the ring group is in play the call is connected and my mobile ring but there is no audio both ways.
I have also tried forwarding calls to a local number using another trunk with the same results.
Any possible solution to this.
SIP_NAT is configured correctly



is the firewall configured
is the firewall configured properly?
Do you have call waiting
Do you have call waiting turn on ?
firewall has been completed
firewall has been completed switched off and the router was also for a short time completely opened up as well.
I can make call through the trunk OK, and i can receives calls OK but for some reason the calls are not forwarded. It seems as though the routing internally audio is not passing though.
Any sollution ?
Hi, We have the same problem.
Did you already have a sollution for this problem?
Arjan.kroon@mobillion.nl
No I have not been able to
No I have not been able to solve it as yet, i will get back onto the problem soon as i have been busy with other things. My next step is to change the router to a different one, but haven't had much time.
4 channels
When I do a forward call to a internal line it works.
I see in the CLI that there a 2 channels.
When I forward a call to a outside line, I see in the CLI 4 channels.
I think that could be the problem.
But the sollution I haven't found yet.
In the "Ring Group" check
In the "Ring Group" check the "Confirm Calls" box and it will start working, however, you'll get a voice prompt and have to dial 1 to pick up the call, the caller will hear dead air during this time and your CDR will have a bunch or new entries per call. Have not yet found a better solution.
DTMF not working
I tried this and obviously the problem lies with Trixbox not the router as I able to hear the "Press 1" to answer the call but was unable to get a responce by pressing DTMF 1 this means Trixbox audio path to the mobile is working.
So it will be back to the drawing board on this one.
check with your trunk
check with your trunk provider as to how dtmf is being provided to you as you are out of sync with how they think you should be (dtmfmode= is the command). if can be inband, rfc2833, auto. When it's right it will work.
Checked that already
Each trunk according to the providers uses RFC 2833. Each trunk has been configured for rfc2833 as per instructions. One of my providers is a bit weird but my tests do not use their trunks for the diversion. I have 3 seperate trunk providers.
Provider A and B
In our case the following scene works.
A person calls the number from provider A to our call center,
when the call is forwarded through antoher (more expensive) provider B, it wil work.
But when the call is forwarded through provider A we don't hear any audio.
But with the dtmfmode I wil try monday.
Tried many configurations
I have tried all different configuration on mine. None provide audio through put.
Any sollution ?
Did you already have a sollution for this problem?
Arjan.kroon@mobillion.nl
Not Yet
I currently diverting from my VSP site at the moment. I have had surgery and finding it difficult to track the source of the problem mostly finding time.
Same problem here ...
Hi guys,
I have exactly the same problem here - no audio on call forward to mobile/landline phone. The only solution I have found is to tick the 'confirm calls' in the follow me settings for the extension with the call forwarding. Then the audio is connected only when I press 1 on the mobile after the call is connected.
I just want to set call forwarding and I want the call transferred without the user on the mobile phone to have to press 1 to accept the call. Also I noticed that if the call goes through to the mobile phones voicemail Asterisk actually leaves a message about 'incorrect key entry' or something and then hangsup. How strange ?
Has anyone worked out how to get the incoming caller to be call forwarded correctly to the mobile/landline without the need for me to press 1 on my mobile ?
Thanks,
Chris
Hi folks, I have the same
Hi folks,
I have the same problem here. I'm forwarding an incoming sip call to an external phone (over sip) and have no audio in both directions. If I use Follow-Me and the 'Confirm Calls'-hack, it works (but this can not be a solution). Forwarding ISDN calls makes no problems, also forwarding over ISDN is Ok.
It seems to me that there is a problem in FreePBX. Would be great if one of the developer can look at it.
Regards,
Martin
Me too!
I'm having this issue as well. It only seems to affect some numbers, but a customer of ours (a Doctor's office) is unable to forward out to their answering service. The CDR shows the call being answered properly, but the caller hears nothing but dead air. I can't use the "confirm calls" trick since sometimes the answering service picks up with a long message before the caller is placed in queue. If anyone has a solution for this issue I'd love to hear it. Thanks!
Not Sure
I have been ill over the last few weeks and never got around to check one suspect. I believe it may be the ADSL Modem/Router but never got the chance to change it. I think it may be that the modem can't work 2 audio paths in different IP Address's. I was going to change my modem until I fell ill and never got around to it. If anyone has tried doing this let everyone know.
I'm experiencing the same
I'm experiencing the same exact problem. I need the calls to go through without the Confirm checkbox being checked. Has anyone found a resolution to this?
Thanks!
Found the problem
I was experiencing this because the SIP Trunk provider. I switched to a different trunk by a different provider and it worked as planned. Not sure why my original trunk provider doesn't work though.
Same Problem sip forward no audio
With sip trunk on the system and I try to forward a call back out it will ring but no audio. It will work with zap Channel so this is a sip trunk forward back out sip trunk problem. I have been looking everywhere for a solution but all I see is person after person reporting this as an issue. I have this system in a doctors office also and they need to forward to answering service after hours so the press 1 to accept is not an option. There is no problems with calls in and out of the system except for forwarding.
"Things may come to those who wait, but only things left by those who hustle."— attributed to Abraham Lincoln
Damien
ADSL Modem possibly
Hi All,
I think myself the problem could be the ADSL modem router NAT translation may not work properly. I became sick and was never able to replace my modem and now I am closing down my office and working from home. I won't be running asterisk for a while so if anyone can try and change to a different manufacturers modem and see if this is the cause.
I used to have an fully operating diversion but noticed the problem when I changed the modem. It may be some special modem configuration too.
I have the same modem at home and found some small NAT issues but with video so my problems may be related.
SIP Diversion Header
I had this issue and still do, seems to be a Header that needs to be added. Has anyone heard more about this?
I have stopped dealing with
I have stopped dealing with VoiP due to health issues but Network has to be the problem. As some people are operating OK is must be a network related issue not software. NAT Transalation seems to be the only thing I can think but as I have decomissioned my server I can't test anymore.
Same problem
I have the same problem. (by *72)
From VoIp provider, I call an extension forwarded to an external number like 024433224545. The call ringing, answer, but no audio !
The NAT conf is ok.
I don't know why!
=[ Franck Danard - France ]=
Solution
I hit this problem last week and fortunately I can do packet captures on my router. The problem is a NAT issue.
When you initiate a call from inside to outside, you always have no way audio until the first RTP packet is sent from inside to outside. NAT routers will not allow an inbound (outside to inside) packet if it does not already have a translation created for that source, destination IP and port pair.
In the case of call forwarding from an inbound SIP call to an outbound SIP call, the call path needs to go from the calling outside phone to the called outside phone. In this case, the PBX is simply relaying RTP traffic from the inbound call to the outbound call, so the PBX will not initiate either RTP stream. Since the PBX on the inside of the NAT router does not initiate the call, it cannot receive RTP traffic from the calling or called phone.
This is why when you check the "Confirm Calls" it works. In this case, the PBX initiates one of the RTP streams to the called phone. Once you accept the call, the PBX now can initiate the second RTP stream to the calling phone.
There are two ways to fix this.
1. Use IAX - you will not see this issue since the RTP traffic uses the same source and destination ports as the control traffic.
2. Forward RTP ports to PBX - Forward the UDP port range in /etc/asterisk/rtp.conf to your PBX.
The Solution does not work for me
The solution proposed in the previous post does not work for me becuase I have FreePBX running on a Public IP with no NAT in the middle.
The problem is the same: Incoming call forward to an external phone number (mobile or land line make no difference), SIP signalling is correct, the phone rings but no audio path is availale.
I sniffed packets on the interface and I can see RTP packets coming from both the remote peers but no RTP sent by my asterisk.
I am using a SIP trunk.
I executed another test, I setup an IVR. If the caller direct dial the extension the call farward works correctly and the audio is present, but this can not be a solution.
I am working with FreePBX 2.4.1.2.
I have the same issue but
I have the same issue but when I set the "Play Music On Hold?" to "default" (it plays music instead of ringing) audio works.
--UPDATE--
I put the server on a public IP and it works.
It looks like its a NAT issue.
You have the same problem I had
When you play music on hold instead of ringings, the call is picked up by the PBX and an RTP audio stream begins. The ring is not an RTP stream.
Same problem, but some more details
We started encountering this problem today - but did not have it before we upgraded to the latest update from FreePBX (2.6.0.3).
We have SIP trunks with DIDs, terminating on extensions that are also provisioned via SIP.
Prior to the upgrade, we could use Unconditional Forwarding to send all calls to an external number and everything worked just fine.
Today, I tried to setup another user exactly the same way, and the calls go through - the external number rings and they pick up the phone, but there is no audio at all on either end, just dead air. I added a 3rd line to test it out, and it happened the same way. Just on a whim, I tried using Follow Me instead of Call Forwarding and got exactly the same results.
Following some advice I saw on another thread, I tried going into the Trunk setup for my SIP trunks and I checked the box for "Block Foreign Caller IDs" just in case that might be a problem, but that had no effect on the problem. We still had no audio on any calls being forwarded.
Here is the completely weird part:
If I call into our main number and use the auto-attendant to dial the extension number rather than calling the DID number, and the call is forwarded via that method, everything works fine! We get full audio on both ends.
In all tests, these are the only calls taking place on the server at the time - this is not an issue of capacity. There appears to be some problem within the system itself, when a call comes in via direct external DID incoming call and gets directed back out to an external number that is preventing the voice channels from being bridged together properly.
I had the same problem as
I had the same problem as solfobob. As a workaround I created an ivr with no message and a timeout of 0. I set the inbound route to this and the call forwarding works fine. I'm on asterisk 1.4.24
Unfortunately, that's just
Unfortunately, that's just not an option for multiple extensions with multiple forwarding destinations.
Getting someone to actually fix the bug instead of shrugging it off as a non-issue - THAT would be an option we could all live with.
solfobob, when you upgraded
solfobob, when you upgraded to 2.6.0.3, did you install the Asterisk SIP Settings module?
If so, did you set up the settings there to match your install?
If you don't have audio when you dial out you have a NAT issue or your RTP range is blocked in your router/firewall/iptables.
Mikael Carlsson
(I am off-line, tinkering with my Chevy and my radios, don't know when I will be back)
Actually, yes I do have the
Actually, yes I do have the SIP Settings module and yes, we do have the proper NAT settings enabled.
As I said earlier, I can call in on a DID to the auto attendant and dial my extension and it forwards out just fine - we get a connected voice path no problem.
I call my own DID number attached to that very same extension, it forwards out to the same external number, the phone connects but there is no audio.
I can even call in on a DID to an extension and have someone transfer me to an external number and have that work correctly with no problems. It is just this automatic forwarding/follow-me that seems to be the problem.
Outbound calling from any extension to the outside world does now work, and always has worked, just fine. There are no issues with our network setup or firewall unless there is something unique to the call forwarding/follow-me setup that changed with the most recent release.
Are there any updates to
Are there any updates to this problem? Right now the only way I can get it to work is by setting the music on hold to default instead of ring, although this is not ideal. I was able to fix the problem on an older trixbox installation by editing the sip_custom.conf file to include the following:
progressinband=yes
externip=(dynamic public IP)
localnet=192.168.x.x(Asterisk internal IP)/255.255.255.0
However, these same changes do not work out on my newest Asterisk box running 1.6.1 with Freepbx version 2.5.2.2. If anyone knows a real solution to this issue please let us know!
I can report that after
I can report that after making the above mentioned changes, then reloading Asterisk, my new box works just as it should. There is a bit of latency however, so I am still trying to figure that out.
Problem Solved
I can confirm that the entry:
progressinband=yes
in sip_custom.conf does fix the "no audio" issue with forwarded external call.
FWIW, I also have the appropriate externhost & localnet entries in that file as well. Running FreePBX 2.6.0.2 and Asterisk 1.4.21.2.
progressinband=yes did not work for me
I can confirm this did not work for me on a FreePBX 2.8.11 Asterisk 1.6.2.13 installation.
Identical situation with different results. Forwarding through an AA with a 1 second timeout and no loops to the off-site number creates an automatic path, but this is unfeasible for all end users to have and administer.
The box has 2 providers on it, and is only having the issue with one (whom is diligently working with me)
Thanks,
-Jake
www.voipcitadel.com
canreinvite
Also, "canreinvite=no" in the trunk settings also worked for me.
Sip server is sitting on a public IP with no firewall.
for example;
type=friend
host=x.x.x.x
dtmfmode=inband
canreinvite=no
insecure=port,invite
nat=yes
qualify=yes
allow=alaw
My solution for Callcentric.com
Hi,
I encountered the same problem with originating calls to 2 external numbers via Callcentric SIP trunk: No audio. Asterisk is behind NAT firewall.
However, after trying all the settings, it finally worked. So here is my full configuration steps, just in case someone need to verify his settings.
--------------------------------------------------
0. Open port in Router/NAT modem, point to Asterisk internal IP
UDP 5060 (This is for remote extension - If you dont have remote extension, it is strongly recommended to close this port)(*)
UDP 10000-20000 (this is for Asterisk)
UDP 50000-65535 (this is for callcentric)(**)
(*): I tried to close this port, and the audio is still good.
(**): this is one of the key things: Use "sip set debug on" and watch the SIP package returned from Callcentric or your SIP provider in response to Asterisk INVITE. Notice the port.
1. Adjust the Callcentric SIP trunk as follow (notice it is slightly different than mentioned in Callcentric support page)
TRUNK NAME: default_sip_trunk
PEER DETAILS:
context=from-trunk
fromdomain=callcentric.com
fromuser=1777XXXXXXX
authuser=1777XXXXXXX
username=1777XXXXXXX
host=callcentric.com
defaultuser=1777XXXXXXX
insecure=very
secret=******
type=friend
dtmfmode=rfc2833
qualify=yes
REGISTER: 1777XXXXXXX:******@callcentric.com/1777XXXXXXX
Make sure it is registered in Asterisk
2. Add in sip_general_custom.conf (using Trixbox Config File Editor Tool)
srvlookup=yes
session-timers=refuse ; for call-centric
session-expires=180 ; for call-centric
session-minse=90 ; for call-centric
session-refresher=uas ; for call-centric
nat=yes
externip=1.2.3.4 ; this is your public IP
localnet=192.168.0.0/255.255.255.0 ; this is Asterisk local subnet
progressinband=yes
3. Add in extension_custom.conf
[bridge-external-call]
exten => _X.,1,NoOp(Gonna make outbound call - bridge 2 external calls - nttranbao@yahoo.com - Jun 2011)
exten => _X.,n,Playback(vm-dialout) ; this is required in order to have audio. Very important
exten => _X.,n,Dial(SIP/default_sip_trunk/${EXTEN},30,)
exten => _X.,n,Hangup
4. Add in manager_custom.conf
[manager-user]
; these are for auto-bridging 2 calls
;nrtranbao - Jun 2011
secret=blablabla
deny=0.0.0.0/0.0.0.0 ; deny originate from any other hosts
permit=127.0.0.1/255.255.255.255 ; only allow originate from localhost
read=all
write=all
To originate calls, use the below command in Asterisk CLI
originate SIP/default_sip_trunk/11-digit-caller extension 11-digit-callee@bridge-external-call
Asterisk will first call the caller, and when answered, bridge to the context "bridge-external-call". This context will play a message (***), then dial 2nd number. Audio works fine.
(***)(KEY POINT - thanks to this post: http://lists.digium.com/pipermail/asterisk-users/2009-April/229699.html)
I encounted this same issue
I encounted this same issue this week using asterisk 1.6, i've installed 1.6 before and havent had an issue with this, normally the correct NAT settings and progressinband=yes always work.
Here is how i got it working tonight. in the freepbx tools > sip settings i removed the progressinband=yes and added it to sip_custom.conf. The freepbx sip settings complain about this but this seems to work so stay with me.
After that i set rtpholdtimeout to 2 seconds and bam it worked.
I doubt it was move the progressinband that solved the problem, think it was more the setting rtpholdtimeout from 0 to 2.
My 2cents.
Fixed adding answer in php code
Note: if you upgrade FreePBX in the future you may need to add these lines again, depending on if they have fixed the issue or not. This worked for me, YMMV.This is better than overriding in extensions_override_freepbx.conf in my opinion.
Follow Me Fix for DID’s
Add the code "$ext->add($contextname, $grpnum, '',new ext_answer('')); " in to /var/www/html/admin/modules/findmefollow/functions.inc.php
//
// If the followme is configured for extension dialing to go to the the extension and not followme then
// go there. This is often used in VmX Locater functionality when the user does not want the followme
// to automatically be called but only if chosen by the caller as an alternative to going to voicemail
//
$ext->add($contextname, $grpnum, '',new ext_answer(''));
$ext->add($contextname, $grpnum, '', new ext_gotoif('$[ "${DB(AMPUSER/'.$grpnum.'/followme/ddial)}" = "EXTENSION" ]', 'ext-local,'.$grpnum.',1'));
$ext->add($contextname, $grpnum, 'FM'.$grpnum, new ext_macro('user-callerid'));
$ext->add($contextname, $grpnum, '', new ext_set('__EXTTOCALL','${EXTEN}'));
$ext->add($contextname, $grpnum, '', new ext_set('__PICKUPMARK','${EXTEN}'));
// block voicemail until phone is answered at which point a macro should be called on the answering // line to clear this flag so that subsequent transfers can occur, if already set by a the caller
sip problem with 1.8, not 1.4, workaround for no-audio problem
Got it working with a "double ring group"......
I setup an asterisk 1.4 and asterisk 1.8 (both tested separately, both behind router on 192.168.2.x) and the call forwarding works fine with the 1.4 and fails with the no-audio problem on 1.8 (freepbx 2.9). I've tried the numerous suggestions (FollowMe, DMZ, RTP port forwarding, adding options to SIP_xxx.conf, etc.).
The solution I used for Asterisk 1.8/FreePBX 2.9 was a "double ring group". The first ring group rings a non-used extension for 1 second with "none" for "Play Music on Hold?"... The 2nd ring group uses the standard "ring" for "Play Music on Hold?".
The 1st ring group was routed via "destination if no answer" to the 2nd ring group (this is my usual ring group) that rings all the phones internally, except extension 500 (my cell phone: 8005551212). The "destination if no answer?" is a standard SIP extension 500 that has "Local/918005551212@outbound-allroutes" in the Device Options/dial field. (no quotes. also test dial the 500 extension to make sure it works from your internal setup...I use 9 to dial via trunk voip.ms)
Callers may hear 1 second of silence before/during the ringing and then standard asterisk ringing. my internal extensions ring. If I don't answer in XX seconds, the call is routed to my cellphone via extension 500. Caller don't know what is going on. The audio is a bit tinny since I'm going thru 1 landline and 2 voip trunks, but callerid and audio works fine. I did NOT tweak the caller ID during the call.
Had this problem also but now resolved
FreePBX 2.8.1.4
elastix 2.3.0 5
asterisk 1.8.11.0 0
on a fresh build
Was getting this problem with mobile dialing into PBX and being routed out via Follow-me to an extension that was also a mobile number. No audio in either direction going through an Oztell trunk both ways. Could see no errors in the logs and calls held until terminated. If I rang from a local extension it worked fine. just inbound calls being re-routed out that got effected.
I forwarded 5060 and ports 10,000 to 20,000 on the firewall for SIP and RTP but still no luck.
then added in NAT settings on FREEPBX under the tools/Asterisk SIP Settings
Set for using NAT on a dynamic ip (no-ip.com)
and that fixed it.
www.MBITServices.com.au
Managed IT Services & Solutions
I also recently encountered
I also recently encountered this problem on a blind transfer scenario. The only thing you need to to do remedy it for calls that you answer and then blind transfer is to correctly configure the NAT Settings section of the Asterisk SIP Settings module to show your external and internal IP Address. Forwarding ports is not needed, at least in cases where you answer the external call and then do a blind transfer.