Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Call:

The notifications for the call being joined come back via Redis LIST as, you will use BRPOP or RPOP to retreive these

URL

Code Block
themeMidnight
languagebash
#Old method: Deprecated
GET http://serverurl/call.php?agent=1000&callee=0000000000&outbound_id=0123456789&call_ref=AbC123
 
#Restful 
POST http://serverurl/click2dial/calls
  • agent: <extension>
  • callee: <number to dial>
  • outbound_id: <number to use>
  • call_ref: <the custom call ref you specified>

Key

enigma:notifications:c2d

Payload

DEPRECATED

  • notifications: Array of Objects

Values:

agentExtension: 3-4 digits long
callee

One of the following:

  • 0820001234
    • Length: 10 digits
    • Must start with 0
  • 27820001234
    • Length: 11 digits
    • Must start with 27
  • 0027820001234
    • Length: 13-16 digits
    • Must start with 00

Callee Regex

outbound_id

One of the following:

  • 0820001234
    • Length: 10 digits
    • Must start with 0
  • 27820001234
    • Length: 11 digits
    • Must start with 27

Outbound Caller ID Regex

call_ref

Alphanumeric and .-_~:

Call Reference Regex

dispositionhow the call ended
end_codeISDN termination code
recording_url

Unique Recording reference for call

http://serverurl/click2dial/recordings/<recording_url>

 

 

Warning
titleDEPRECATED

The enigma:notifications:c2d redis notification is deprecated.

It will be removed. Please ensure that you update your code to use the enigma:notifications:cdr List as described here