Click2Dial vs Device&User Mode


I’ve changed my settings from extensions to device&user mode, and now (of course) all click2dial functions have stopped working.

This is an example of what I have in my Click2Dial Script (script uses AMI).

Action: Originate
Channel: SIP/123
Context: from-internal
Exten: [phonenumber]
Priority: 1
Timeout: 30000

123 was an extension and example given above used to work perfectly before.

Now I’ve moved everything to Device & User mode. And I have two set of extensions:
1xx - Users
8xx - Devices

If I use the same example given above to call to 1xx I have an error message:
Response: Error
Message: Originate failed

but if I call to 8xx - it works perfectly.

The problem is that all devices work in adhoc mode, so I don’t know where to call to reach particular user.

I have two questions:

  1. Where I can get information about what user logged to what device?
  2. Maybe I need to use different context to call to users?

Thank you!