GV forwarded to PRI problems

Hi guys,
Since GV is not working anymore in Asterisk, I forwarded the GV number to 1 of my PRI numbers
I created a Inbound Route, and here is my problem, if the Inbound Route points to an extension, the call goes through, but if it is pointing to a IVR “The google subsciber you have called is not available”
But the call does get to the PBX
Forwarded to extension:

asterisk -vvvvvvvvvvvr | grep 2039
– Accepting call from ‘MY-NUMBER’ to ‘2039’ on channel 0/3, span 1
– Executing [[email protected]:1] Set(“DAHDI/i1/MY-NUMBER-ecf”, “__DIRECTION=INBOUND”) in new stack
– Executing [[email protected]:2] Gosub(“DAHDI/i1/MY-NUMBER-ecf”, “sub-record-check,s,1(in,2039,dontcare)”) in new stack
– Executing [[email protected]:1] NoOp(“DAHDI/i1/MY-NUMBER-ecf”, “Inbound Recording Check to 2039”) in new stack
– Executing [[email protected]:4] Gosub(“DAHDI/i1/MY-NUMBER-ecf”, “recordcheck,1(dontcare,in,2039)”) in new stack
– Executing [[email protected]:3] Set(“DAHDI/i1/MY-NUMBER-ecf”, “CHANNEL(tonezone)=us”) in new stack
– Executing [[email protected]:4] Set(“DAHDI/i1/MY-NUMBER-ecf”, “__FROM_DID=2039”) in new stack
– Executing [[email protected]:5] Set(“DAHDI/i1/MY-NUMBER-ecf”, “returnhere=1”) in new stack
– Executing [[email protected]:6] Gosub(“DAHDI/i1/MY-NUMBER-ecf”, “app-blacklist-check,s,1()”) in new stack
– Executing [[email protected]:7] Set(“DAHDI/i1/MY-NUMBER-ecf”, “CDR(did)=2039”) in new stack
– Executing [[email protected]:8] GotoIf(“DAHDI/i1/MY-NUMBER-ecf”, “0?”) in new stack
– Executing [[email protected]:9] ExecIf(“DAHDI/i1/MY-NUMBER-ecf”, “0 ?Set(CALLERID(name)=MY-NUMBER)”) in new stack
– Executing [[email protected]:10] Set(“DAHDI/i1/MY-NUMBER-ecf”, “__MOHCLASS=”) in new stack
– Executing [[email protected]:11] Set(“DAHDI/i1/MY-NUMBER-ecf”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [[email protected]:12] GotoIf(“DAHDI/i1/MY-NUMBER-ecf”, “1?post-reverse-charge”) in new stack
– Goto (from-digital,2039,14)
– Executing [[email protected]:14] NoOp(“DAHDI/i1/MY-NUMBER-ecf”, “”) in new stack
– Executing [[email protected]:15] Set(“DAHDI/i1/MY-NUMBER-ecf”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [[email protected]:16] Set(“DAHDI/i1/MY-NUMBER-ecf”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [[email protected]:17] Set(“DAHDI/i1/MY-NUMBER-ecf”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [[email protected]:18] Set(“DAHDI/i1/MY-NUMBER-ecf”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [[email protected]:19] NoOp(“DAHDI/i1/MY-NUMBER-ecf”, “CallerID Entry Point”) in new stack
– Executing [[email protected]:20] Goto(“DAHDI/i1/MY-NUMBER-ecf”, “from-did-direct,1000,1”) in new stack

Forwarded to IVR:

asterisk -vvvvvvvvvvvr | grep 2039
– Accepting call from ‘MY-NUMBER’ to ‘2039’ on channel 0/3, span 1
– Executing [[email protected]:1] Set(“DAHDI/i1/MY-NUMBER-ece”, “__DIRECTION=INBOUND”) in new stack
– Executing [[email protected]:2] Gosub(“DAHDI/i1/MY-NUMBER-ece”, “sub-record-check,s,1(in,2039,dontcare)”) in new stack
– Executing [[email protected]:1] NoOp(“DAHDI/i1/MY-NUMBER-ece”, “Inbound Recording Check to 2039”) in new stack
– Executing [[email protected]:4] Gosub(“DAHDI/i1/MY-NUMBER-ece”, “recordcheck,1(dontcare,in,2039)”) in new stack
– Executing [[email protected]:3] Set(“DAHDI/i1/MY-NUMBER-ece”, “CHANNEL(tonezone)=us”) in new stack
– Executing [[email protected]:4] Set(“DAHDI/i1/MY-NUMBER-ece”, “__FROM_DID=2039”) in new stack
– Executing [[email protected]:5] Set(“DAHDI/i1/MY-NUMBER-ece”, “returnhere=1”) in new stack
– Executing [[email protected]:6] Gosub(“DAHDI/i1/MY-NUMBER-ece”, “app-blacklist-check,s,1()”) in new stack
– Executing [[email protected]:7] Set(“DAHDI/i1/MY-NUMBER-ece”, “CDR(did)=2039”) in new stack
– Executing [[email protected]:8] GotoIf(“DAHDI/i1/MY-NUMBER-ece”, “0?”) in new stack
– Executing [[email protected]:9] ExecIf(“DAHDI/i1/MY-NUMBER-ece”, “0 ?Set(CALLERID(name)=MY-NUMBER)”) in new stack
– Executing [[email protected]:10] Set(“DAHDI/i1/MY-NUMBER-ece”, “__MOHCLASS=”) in new stack
– Executing [[email protected]:11] Set(“DAHDI/i1/MY-NUMBER-ece”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [[email protected]:12] GotoIf(“DAHDI/i1/MY-NUMBER-ece”, “1?post-reverse-charge”) in new stack
– Goto (from-digital,2039,14)
– Executing [[email protected]:14] NoOp(“DAHDI/i1/MY-NUMBER-ece”, “”) in new stack
– Executing [[email protected]:15] Set(“DAHDI/i1/MY-NUMBER-ece”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [[email protected]:16] Set(“DAHDI/i1/MY-NUMBER-ece”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [[email protected]:17] Set(“DAHDI/i1/MY-NUMBER-ece”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [[email protected]:18] Set(“DAHDI/i1/MY-NUMBER-ece”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [[email protected]:19] NoOp(“DAHDI/i1/MY-NUMBER-ece”, “CallerID Entry Point”) in new stack
– Executing [[email protected]:20] Goto(“DAHDI/i1/MY-NUMBER-ece”, “ivr-2,s,1”) in new stack

Anyone had this problem?
Thanks

Isn’t there some stupid restriction about GV calls being answered too quickly? Try adding a ‘pause before answer’ of a few seconds to the inbound route.

1 Like

You might also try adding “Signal RINGING” to your inbound route to your IVR

Thanks for the reply

This fixed it, and btw GV minimum pause before answer = 2

I don’t know what this does, but it doesn’t seem to affect it in any way… (Signal RINGING = Yes and pause before answer = nothing, it is not working, but I left it on)

Thanks again for the reply

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.