Device & user mode

Hi, I have configured asterisk for device & user mode, I would like to know if its possible to ring the device when a user is logged in ? Thanks

Device and user mode should work as advertised by asterisk, but it is ‘unsupported’ by FreePBX. If you don’t push it too far then IMHO it is likely no problem

Thanks for your reply, the scenario is: I have say device configure as 105 adhoc, I am able to call that device by dialing 105 when no user is logged, as soon as a user logs in, if I try to call device 105 I get VM, is there a way to make device receive the call whe a user is logged in?

In my experience, it works just like that, but as stated, you are on your own trouble shooting it.

This seems to resolve issue:
exten => _2XX,1,NoOp(Check user)
exten => _2XX,n,Set(USEREXIST=$[${DB(DEVICE/${EXTEN}/user)}])
exten => _2XX,n,GotoIf($[${USEREXIST}=${EXTEN}]?endit)
exten => _2XX,n,Goto(ext-local,${USEREXIST},1)
exten => _2XX,n(endit),Goto(ext-local,${EXTEN},1)
in extensions_override_freepbx.conf

1 Like

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