Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: removed v1 notifications

...

...

...

...

...

Create Call:

The notifications for the call being joined come back via Redis LIST as, you will use BRPOP or RPOP to retrieve 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: <ext> agent extension/number
  • callee: <callee> number to dial
  • outbound_id: <outbound_id> number to use as caller ID
  • call_ref: <custom_call_ref>  your custom call reference

...

Key

...

enigma:notifications:c2d (deprecated)

...

Payload

DEPRECATED

...

  • , (in the dialer this is the contact_ref, but call_ref is kept for backwards compatibility)

Values:

<ext>

The agent extension number or the first number connected to the call

  • 3-4 digit extension
  • or same as <callee>

Agent Regex

<callee>

The number to dial:

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>

Number to use as caller ID:

One of the following:

  • 'random' for Random CLID (Needs Teleforge configuration)
  • 0820001234
    • Length: 10 digits
    • Must start with 0
  • 27820001234
    • Length: 11 digits
    • Must start with 27

Outbound Caller ID Regex

<custom_call_ref> 

Your custom call reference specified for this call

Alphanumeric and .-_~:

Call Reference Regex

...

Unique Recording reference for call

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

...

titleDEPRECATED

The enigma:notifications:c2d redis notification is deprecated.

...