Elastix 2.2 call back function.

Closed - This job posting has been filled.

Job Description

Hello Odesk.

We need someone with the skill set to assist us with the callback functions within Elastix 2.2. and asterisk

For a call back we need the system to detect a private /block caller ID number and prompt them to enter the number they wish to be called back on.

Below is what we have done for Elastix 1.6. It does not work on Elastix 2.2

the code within extensions_overide_elastix.conf so it looks now:
[callback] &n bsp;
include => callback-custom & nbsp;
exten => 1,1,Set(CALL=${CALLERID(number)}) & nbsp;
exten => 1,n,ExecIf($["${CALLERID(NUMBER)}" = ""]|Read|CALL|custom/Callback1) &nb sp; &n bsp;
exten => 1,n,Set(DESTINATION=from-did-direct.186.1)
exten => 1,n,Set(SLEEP=2) ;
exten => 1,n,System(/var/lib/asterisk/bin/callback ${CALL} ${DESTINATION} ${SLEEP} &) & nbsp;
exten => 1,n,Hangup

We need it to also play a message after a call back with a know number.

Kind regards.