Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Call:

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

URL

#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
  • 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

  • notifications: Array of Objects
    • extension: <ext> agent extension
    • disposition: <disposition> how the call ended
    • call_ref: <custom_call_ref>  your custom call reference
    • end_code: <ISDN_termination_code>
    • recording_url: <recording_ref> Unique Recording reference used to fetch the recording

Values:

<ext>

The agent extension number

3-4 digits long

<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:

  • 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

<disposition>Dispositions: how the call ended
<ISDN_termination_code>ISDN termination code
<recording_ref>

Unique Recording reference for call

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

 

 

DEPRECATED

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

  • No labels