[asterisk-users] call pick up

cfh llcfhllml at gmail.com
Thu May 22 06:23:16 CDT 2008


Tharanga wrote:
> Hi List,
> 
> Iam using asterisk 1.2.14. when someone call to my ip-pbx, receptionist will
> transfer that to specific extension. If the person is not there.(ignore the
> voicemail part) i need to get the call back to receptionist again. so she
> can tell the calling party he is not there or line is busy.
> how should i do this in asterisk ? will call parking work for this ?

if the receptionist use blind transfer you can do this  :

To get call back from blind transfer

use the ${BLINDTRANSFER} variable to callback when no one answer the 
transfered call.

exten => _XXX,1,NoOp(${UNIQUEID} - ${DATETIME} - ${CALLERID} => 
${EXTEN}) ; Add some call tracing
exten => _XXX,2,Dial(SIP/${EXTEN},5,mTt)
exten => _XXX,3,Gotoif($["x${BLINDTRANSFER}"="x"]?4:5)
exten => _XXX,4,Hangup
exten => _XXX,5,Set(tx=${BLINDTRANSFER:0:7})
exten => _XXX,6,Set(CALLERID(all)=RET_${EXTEN} <${CALLERID(num)}>)
exten => _XXX,7,Dial(${tx},,mTt)
exten => _XXX,8,Hangup
;
exten => _XXX,103,Set(tx=${BLINDTRANSFER:0:7})
exten => _XXX,104,Wait(5)
exten => _XXX,105,Set(CALLERID(all)=ERR_${EXTEN} <${CALLERID(num)}>)
exten => _XXX,106,Dial(${tx},,mTt)
exten => _XXX,107,Hangup

example from
http://www.voip-info.org/wiki/view/Asterisk+config+features.conf


my macro for interal call (with custom ring different from external call)

[macro-int]
exten => s,1,Set(_ALERT_INFO=Custom 1)
exten => s,n,Dial(${ARG1},60)
exten => s,n,Gotoif($["x${BLINDTRANSFER}"="x"]?:jump)
exten => s,n,Hangup
exten => s,n(jump),Set(tx=${BLINDTRANSFER:0:7})
exten => s,n,Set(CALLERID(all)=RET_${EXTEN} <${CALLERID(num)}>)
exten => s,n,Dial(${tx},20)
exten => s,n,Hangup



bye

ll



More information about the asterisk-users mailing list