Callback - prompt caller to dial callback number

Status
Not open for further replies.

eNoisy

Joined
Jul 24, 2010
Messages
59
Reaction score
0
Good day,

I hope someone has seen or knows anything about this. I've been searching in Google/the forums without any result. Not sure if I'm asking the right question though! :S

Basically I have a system running version 1.6.
The callback works perfectly with the only issue that I don't know what to do when any Unknown/Blind Number needs to be called. Of course the system don't have a reported number to callback.

I was wondering if there is any way to configure it so every time it doesn't detect any caller ID it prompts the caller for the callback number? Or just simply ask for the call back number to everyone that calls the DID that redirects to the callback option?

Thanks in advance!
Juan
 
yeap with manual programming anything could be done ...u need to modify the macro of the callback with a conditional sentence and the use read() applicaction to read the new number and replace the other variable of cid used in callback() with this new one...
 
Thank you Fernando!

To follow your suggestion I had to take the time start studying and trying to understand a little bit of dial plans.

I just wanted to share my current working callback configuration. I know it is not perfect and could be optimized, but anyway it's my first one and its working.

Description:
For every incoming call for which the system detects a callerID, it simply returns the call to the detected number and plays an IVR. If there is no caller ID for the incoming call, the system will prompt the caller for the callback number and return the call to the same IVR.


[callback]
exten => 1,1,Set(CALL=${CALLERID(number)})
exten => 1,2,Set(DESTINATION=ivr-3.s.1)
exten => 1,3,Set(SLEEP=10)
exten => 1,4,GotoIf($[ "${CALLERID(number)}" = "NULL" ]?5:8)
exten => 1,5,Playback(please-enter-your&number)
exten => 1,6,Read(CALL1,then-press-pound,,,,)
exten => 1,7,Set(CALL=${CALL1})
exten => 1,8,System(/var/lib/asterisk/bin/callback ${CALL} ${DESTINATION} ${SLEEP} &)
exten => 1,9,Hangup
; end of [callback]
 
Re: Re:Callback - prompt caller to dial callback number

you have win your first karma up for the good willing !!!!
 
Hi eNoisy,

Thank you very much for sharing your solution.

But can you please give us more information about how to implement this solution? eg. which file we should modify?

Thank you very much again for your help.

Dan
 
Hi Dan,

Sorry just till now I get to see your reply...
Anyway better late than never! :)

If you add it to the file /etc/asterisk/extensions_override_freepbx.conf

and run "dialplan reoad" in the asterisk console.
 
Status
Not open for further replies.

Latest Posts

Members Online Now

Forum statistics

Threads
111,863
Messages
589,444
Members
164,702
Latest member
iamatlas