Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

What are FMPR and FMGR?

mickecarlsson's picture

Executing [s@macro-dial:7] Dial("Zap/3-1", "Local/FMPR-568@from-internal&Local/FMGL-0410720545@from-internal|25|trM(auto-blkvm)") in new stack

You are trying to call FMPR-568 and FMGL-0410720545, that cant be dialed and you receive:

logger.c: -- Executing [s@macro-dial:8] Set("Zap/3-1", "DIALSTATUS=CHANUNAVAIL") in new stack

Where are FMPR and FMGL coming from?


__________________

Mikael Carlsson
(I am off-line, tinkering with my Chevy and my radios, don't know when I will be back)


Mike I have no idea

curto's picture

I had this working last week just fine on my test extension (568) and went to roll it out for a couple of people this week and it stopped working.

The only change (no module updates etc) was some dialplan and ZAP channels last week to solve a dialout problem that i worked through with Phillipe and the support team.

I have tried to remove the Follow me from my test extension, restart asterisk and re-add it but we still get the same stuff happening.

Any ideas ?

regards

Craig


OK i have found where the code is coming from

curto's picture

Mike,

I had a look through the files on disk for some reason Extensions.conf has the following

[findmefollow-ringallv2]
exten => _FMPR-.,1,Noop(In FMPR ${FMGRP} with ${EXTEN:5})
exten => _FMPR-.,n,Set(RingGroupMethod=)
exten => _FMPR-.,n,Set(USE_CONFIRMATION=)
exten => _FMPR-.,n,Set(RINGGROUP_INDEX=)
exten => _FMPR-.,n,Macro(simple-dial,${EXTEN:5},${FMREALPRERING})
exten => _FMPR-.,n,GotoIf($["${DIALSTATUS}" != "BUSY"]?nodnd)
exten => _FMPR-.,n,Set(DB(FM/DND/${FMGRP}/${FMUNIQUE})=DND)
exten => _FMPR-.,n(nodnd),Noop(Ending FMPR ${FMGRP} with ${EXTEN:5} and dialstatus ${DIALSTATUS})
exten => _FMPR-.,n,Hangup()

exten => _FMGL-.,1,Noop(In FMGL ${FMGRP} with ${EXTEN:5})
exten => _FMGL-.,n,GotoIf($["${DB(FM/DND/${FMGRP}/${FMUNIQUE})}" = "DND"]?dodnd)
exten => _FMGL-.,n,Wait(1)
exten => _FMGL-.,n,GotoIf($["${DB(FM/DND/${FMGRP}/${FMUNIQUE})}" = "DND"]?dodnd)
exten => _FMGL-.,n,Wait(1)
exten => _FMGL-.,n,GotoIf($["${DB(FM/DND/${FMGRP}/${FMUNIQUE})}" = "DND"]?dodnd)
exten => _FMGL-.,n,Wait(${FMPRERING})
exten => _FMGL-.,n,GotoIf($["${DB(FM/DND/${FMGRP}/${FMUNIQUE})}" = "DND"]?dodnd)
exten => _FMGL-.,n,DBDel(FM/DND/${FMGRP}/${FMUNIQUE})
exten => _FMGL-.,n(dodial),Macro(dial,${FMGRPTIME},${DIAL_OPTIONS},${EXTEN:5})
exten => _FMGL-.,n,Noop(Ending FMGL ${FMGRP} with ${EXTEN:5} and dialstatus ${DIALSTATUS})
exten => _FMGL-.,n,Hangup()
exten => _FMGL-.,n+10(dodnd),DBDel(FM/DND/${FMGRP}/${FMUNIQUE})
exten => _FMGL-.,n,GotoIf($["${FMPRIME}" = "FALSE"]?dodial)
exten => _FMGL-.,n,Noop(Got DND in FMGL ${FMGRP} with ${EXTEN:5} in ${RingGroupMethod} mode, aborting)
exten => _FMGL-.,n,Hangup()

Presumably this is coming out the database each time an apply configuration is done ?

No idea how it got in there - but i would assume it has a purpose ?

Craig