CRM
CRM
📄️ Originate
Independently dials an internal extension and a customer number and bridges them once both answer. `originate_order` picks which side is dialed first (`if` = extension first, `of` = customer first).
📄️ Originate
Independently dials an internal extension and a customer number and bridges them once both answer. `originate_order` picks which side is dialed first (`if` = extension first, `of` = customer first).
📄️ Linkup
Bridges two free-form numbers (`caller` and `called`) over a trunk. Unlike `originate`, either side may be an outside number.
📄️ Linkup
Bridges two free-form numbers (`caller` and `called`) over a trunk. Unlike `originate`, either side may be an outside number.
📄️ Local
Dials two internal extensions of the same PBX against each other (no trunk involved).
📄️ Local
Dials two internal extensions of the same PBX against each other (no trunk involved).
📄️ Dynamic redirect
Dials `called` and bridges the call into the target named by `redirect_type` + `redirect_menu`. The full target name is derived upstream: `queue` -> `{hizmetNumarasi}-queue-{redirect_menu}`, `announcement` -> `{hizmetNumarasi}-announcement-{redirect_menu}`, `ivr` -> `{redirect_menu}-{hizmetNumarasi}`. If the target or trunk is not defined on the PBX, the response has `code: '70'`. If `brandcode` and `filter` are both sent, an IYS (İleti Yönetim Sistemi) permission check runs first; a number without permission returns `code: '50'` (IYS RED) and the call is not placed.
📄️ Dynamic redirect
Dials `called` and bridges the call into the target named by `redirect_type` + `redirect_menu`. The full target name is derived upstream: `queue` -> `{hizmetNumarasi}-queue-{redirect_menu}`, `announcement` -> `{hizmetNumarasi}-announcement-{redirect_menu}`, `ivr` -> `{redirect_menu}-{hizmetNumarasi}`. If the target or trunk is not defined on the PBX, the response has `code: '70'`. If `brandcode` and `filter` are both sent, an IYS (İleti Yönetim Sistemi) permission check runs first; a number without permission returns `code: '50'` (IYS RED) and the call is not placed.
📄️ Hangup
Hangs up the call identified by `unique_id`. netcrm first tries the last channel of the call, then falls back to the first channel if that fails.
📄️ Hangup
Hangs up the call identified by `unique_id`. netcrm first tries the last channel of the call, then falls back to the first channel if that fails.
📄️ Xfer
Blind-transfers the active call to `exten` without consulting the other party first.
📄️ Xfer
Blind-transfers the active call to `exten` without consulting the other party first.
📄️ Atxfer
Attended-transfers the active call to `exten`, consulting the target extension before completing the transfer.
📄️ Atxfer
Attended-transfers the active call to `exten`, consulting the target extension before completing the transfer.
📄️ Muteaudio
Mutes or unmutes one audio direction of the given call.
📄️ Muteaudio
Mutes or unmutes one audio direction of the given call.
📄️ Playdtmf
Sends `digit` as DTMF tones to the call, one digit at a time. If any digit fails to send, the operation aborts mid-way and returns an error naming that digit.
📄️ Playdtmf
Sends `digit` as DTMF tones to the call, one digit at a time. If any digit fails to send, the operation aborts mid-way and returns an error naming that digit.
📄️ Queuestats
Returns live status and statistics for the given queues. When `queue` is omitted, every queue on the PBX is listed. Queue names are given in their short form and are resolved upstream as `{hizmetNumarasi}-queue-{queue}`; if one of them does not exist, the response has `code: '70'`. If the AMI connection to the PBX cannot be established, `code: '90'` is returned. Unlike every other command, the success body has no `status`/`message` fields — on failure a CrmBaseResponse is returned instead.
📄️ Queuestats
Returns live status and statistics for the given queues. When `queue` is omitted, every queue on the PBX is listed. Queue names are given in their short form and are resolved upstream as `{hizmetNumarasi}-queue-{queue}`; if one of them does not exist, the response has `code: '70'`. If the AMI connection to the PBX cannot be established, `code: '90'` is returned. Unlike every other command, the success body has no `status`/`message` fields — on failure a CrmBaseResponse is returned instead.
📄️ Agentlogin
Adds one or more extensions (`exten`) as members of one or more queues (`queue`). Both fields accept a comma-separated list.
📄️ Agentlogin
Adds one or more extensions (`exten`) as members of one or more queues (`queue`). Both fields accept a comma-separated list.
📄️ Agentlogoff
Removes one or more extensions (`exten`) as members of one or more queues (`queue`).
📄️ Agentlogoff
Removes one or more extensions (`exten`) as members of one or more queues (`queue`).
📄️ Agentpause
Pauses or unpauses an agent on one or more queues. `paused` = `1` pauses the agent, `0` unpauses. Turkish characters in `reason` are ASCII-folded upstream.
📄️ Agentpause
Pauses or unpauses an agent on one or more queues. `paused` = `1` pauses the agent, `0` unpauses. Turkish characters in `reason` are ASCII-folded upstream.
📄️ Conferencelist
Queries whether the named conference room exists/is active over AMI. The participant list itself is not returned in the response, only the query result.
📄️ Conferencelist
Queries whether the named conference room exists/is active over AMI. The participant list itself is not returned in the response, only the query result.