extensions.conf
[globals]
INTERNAL_DIAL_OPT=,90,KktTU(sub-record-call,s,1)
[internal-routes]
exten => _XXXX,1,ExecIf($[ “${ATTENDEDTRANSFER}x” != “x” ]?Set(CALLERID(num)=${MASTER_CHANNEL(CALLERID(num))}))
same => n,NoOp(from internal: from ${CALLERID(num)} to ${EXTEN})
same => n,ExecIf($[ “${ATTENDEDTRANSFER}x” != “x” | “${BLINDTRANSFER}x” != “x” ]?Set(__isRecordCall=${ODBC_IS_RECORD_CALL(${EXTEN})})?Set(__isRecordCall=$
{ODBC_IS_RECORD_CALL(${CALLERID(num)})}))
same => n,Set(CDR(direction)=internal)
same => n,GoSub(sub-dial-users,s,1(${EXTEN}))
[sub-dial-users]
exten => s,1,ExecIf($[ “${ATTENDEDTRANSFER}x” != “x” ]?Set(CALLERID(num)=${MASTER_CHANNEL(CALLERID(num))}))
same => n,Verbose(1, User ${CALLERID(num)} dialed ${ARG1})
same => n,Set(CDR(called_number)=${ARG1})
same => n,Set(__DYNAMIC_FEATURES=custom_park_call)
same => n,GotoIf($[ “${ARG1:0:1}” = “*” ]?park,s,1:${DIALSTATUS})
same => n,Dial(PJSIP/${ARG1}${INTERNAL_DIAL_OPT})
same => n,GoSub(sub-no-answered-call-finished,s-${DIALSTATUS},1)
[applicationmap]
custom_park_call => #73,self,Park(800)
Good morning.
I have a problem, maybe you have some thoughts. I’ve configured the system so that using #73 sends the call to a parking lot (the reason for this setup is that it allows linking as many parking lots as needed). If I deliberately specify an invalid parking lot, such as 900, I receive a DTMF notification that the parking lot is incorrect. However, if I use a valid parking lot, the call simply drops without any errors.
When using [featuremap] for parking, everything works fine.
Can you help figure out why the call drops when parking through [applicationmap]?