GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from

Home » GFI User Forums » Kerio Operator » No audio in call diversion - solved (Calls from extern, re-routed to another extern number, often have no audio)
No audio in call diversion - solved [message #148332] Sat, 20 June 2020 22:04 Go to next message
Eberhard is currently offline  Eberhard
Messages: 93
Registered: October 2008
Location: Bochum, Germany
The purpose of "call diversion" is forwarding an incoming call to another number. When the source is an extern call, and the destination is another extern number e.g. a mobile, the call rings but very often has no audio.

The source of this problem is Asterisk. There is an ext_entensions.conf, sub part of extensions.conf. This file handles the call. Lets go for the extension 34 as an example:

exten => 34,1,Gosub(helper,extensionLineCommon,1(34))
exten => 34,n,GotoIf($["${EXTENSION_STATE(34@sip-locals)}" = "NOT_INUSE"]?ringExtensionDial)
exten => 34,n,Set(FIRST_DIALSTATUS=BUSY)
exten => 34,n,Goto(ringExtensionBusy)
exten => 34,n(ringExtensionDial),Dial(SIP/34,300,${dialOptions})

After many tests I found out that you have audio, when you first answer the call! Therefore I tested with the following additional line:

exten => 34,1,Gosub(helper,extensionLineCommon,1(34))
exten => 34,n,Answer()
exten => 34,n,GotoIf($["${EXTENSION_STATE(34@sip-locals)}" = "NOT_INUSE"]?ringExtensionDial)

and it worked. The question was now how to implement it, other than using the configuration hooks, which are very complicated to use, and unmanageable when you change extensions on a regular basis. The answer is "enable the fax for this (all) extension(s)". This routine does exactly this - it answers the call and then handles it. When you check the box "send incoming faxes as an email to the user" the code in the ext_extensions.conf changes automatically to:

exten => 34,1,Gosub(helper,extensionLineCommon,1(34))
exten => 34,n,Gosub(sub-faxDetect,s,1(yes,34))
exten => 34,n,Answer()
exten => 34,n,GotoIf($["${EXTENSION_STATE(34@sip-locals)}" = "NOT_INUSE"]?ringExtensionDial)

Very Happy

Re: No audio in call diversion - solved [message #148991 is a reply to message #148332] Thu, 05 November 2020 18:00 Go to previous message
Roy Batty is currently offline  Roy Batty
Messages: 50
Registered: May 2016
Location: canada
Hello Eberhard,

Your post is quite interesting.

In the past, i've tryed to figure out how to transfer specific incoming call (Skip IVR) then transfer it to specific extension.

Unfortunatly, i was not able to figure out how to do this, and have another project to run, and you are right, each time system reboot you lost any modification ;(

Asking Gfi to have some help to resolve configuration issue, but no luck ! they are Always telling that Operator was EOL.
Previous Topic: Проблема с керио оператор на KVM
Next Topic: Automatic phone provisionin
Goto Forum:

Current Time: Tue Aug 16 03:18:42 CEST 2022

Total time taken to generate the page: 0.02957 seconds