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  |
 |
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)

|
|
|
Re: No audio in call diversion - solved [message #148991 is a reply to message #148332] |
Thu, 05 November 2020 18:00  |
Roy Batty
Messages: 52 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.
|
|
|
Goto Forum:
Current Time: Thu Jun 08 01:59:51 CEST 2023
Total time taken to generate the page: 0.04854 seconds
|