7 seconds been added to every call as PDD and TTC

Hi, I just installed the current version, and note that every call that enter in a default extension, with no custom configs is taken exactly 7 seconds to get to the Announcement… Do you guys have any idea where i should look to remove this?

Thanks

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs

thanks

I think what is causing the problem is this(i filtered the log):

Line 125: [2017-11-09 17:43:41] VERBOSE[5545][C-000063c8] pbx.c: Executing [[email protected]:13] Wait("SIP/Mera_in_2-000063c8", "6") in new stack
	Line 158: [2017-11-09 17:43:41] VERBOSE[5546][C-000063c9] pbx.c: Executing [[email protected]:13] Wait("SIP/Mera_in_1-000063c9", "6") in new stack
	Line 206: [2017-11-09 17:43:41] VERBOSE[5547][C-000063ca] pbx.c: Executing [[email protected]:13] Wait("SIP/Mera_in_2-000063ca", "6") in new stack
	Line 439: [2017-11-09 17:43:41] VERBOSE[5548][C-000063cb] pbx.c: Executing [[email protected]:13] Wait("SIP/Mera_in_2-000063cb", "6") in new stack
	Line 530: [2017-11-09 17:43:41] VERBOSE[5549][C-000063cc] pbx.c: Executing [[email protected]:13] Wait("SIP/Mera_in_1-000063cc", "6") in new stack
	Line 691: [2017-11-09 17:43:42] VERBOSE[5550][C-000063cd] pbx.c: Executing [[email protected]:13] Wait("SIP/Mera_in_1-000063cd", "6") in new stack

but i have no Wait(6) at from-trunk extensions.conf or extensions_custom.conf …

We need to see the full call trace to be sure, but that looks like a 6 second wait for fax detection.

Thanks!, considering is the fax, where should i remove it? if that does not work i will upload the log tks!

https://wiki.freepbx.org/display/FPG/Inbound+Route+User+Guide#InboundRouteUserGuide-Fax

1 Like

Awesome, thanks Igaetz, the problem was at the Pause Before Answer inside the inboud route, it was set to 6 …

By the way, do you know why the PDD and the TTC are the same? dont’s it should have at least 1 second between each other? Do you know where can I increase the difference between both?

Thanks again!!

Where are you seeing these values?

At the provider(trunk) CDR

From your first post, it looks like inbound calls go to an announcement, meaning the call is answered immediately after setup.

Exactly it goes to an Announcement, and in it, I tested the following:

[app-announcement-1]
include => app-announcement-1-custom
exten => s,1,GotoIf($["${CHANNEL(state)}" = "Up"]?begin)
exten => s,n,Set(numb=${RAND(1,18)})
exten => s,n,Wait(${numb})
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Noop(Playing announcement)
exten => s,n,Set(TIMEOUT(response)=1)
exten => s,n(play),Background(custom/RAIGN_-_Wicked_Game__Studio_Version_,nm)
exten => s,n,WaitExten(,)

exten => 9,1,Goto(s,play)

exten => t,1,Goto(app-announcement-1,s,1)

exten => i,1,Goto(app-announcement-1,s,1)

;--== end of [app-announcement-1] ==--;

I added the random wait to check if still the same, and yes, it add the same wait to the PDD and to the TTC, i thought that increase the wait before the Answer would increase only the difference between the PDD and TTC, but it’s not… do you know where I should add this wait?

Tks!

No. These look like questions for you provider.

Ok, thanks again for all the help!