Used custom code in the extensions_custom.conf stoped call recordings

Hi Guys,

I write a custom code for some extension to set restriction on outbound calls.

include => app-vmmain
exten => _XXX,1,Dial(SIP/${EXTEN})
exten => _XXXX,1,Dial(SIP/${EXTEN})
exten => _03X.,1,Goto(from-internal,${EXTEN},1)

exten => _1NXXNXXXXXX,1,Playback(invalid)
exten => _+1NXXNXXXXXX,1,Playback(invalid)
exten => _NXXNXXXXXX,1,Playback(invalid)

after that the extensions with this context stopped call recordings even if it’s enabled for them.
Suggestions and expert opinion required.

I would guess you are bypassing the normal dial plan context that contains the call recording rule trigger. What are you trying to do? What is your goal?

just wanted to limit the Gate Guards extensions to dial to XXX and XXXX and some local mobile dialings.

now the custom context applied extensions are not recording the calls.


include => app-vmmain
exten => _XXX,1,Goto(from-internal,${EXTEN},1)
exten => _XXXX,1,Goto(from-internal,${EXTEN},1)
exten => _03X.,1,Goto(from-internal,${EXTEN},1)
exten => _X.,1,Playback(invalid)
exten => _X.,n,Hangup()

Modify the above to include emergency calling for the country the extensions are in.

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