[myucstom] exten=>_x.,1,Set(__outnum=${SHELL(php /var/www/html/file.php)}) same => n,GotoIf($[${outnum}!=FALSE]?OK) same=>n,Playback(im-sorry) same=>n,hangup() same=>n(OK),Set(GLOBAL(caller)=${CHANNEL}) same=>n,Set(__callercid=${CALLERID(num)}) same=>n,Dial(Local/s@moh&Local/s@response) exten=>h,1,Set(GLOBAL(caller)=hangup) [moh] exten=>s,1,Noop(///${caller}///) same=>n,Answer() same=n,Playback(/var/www/travel/sounds/welcome) same=>n,MusicOnHold(default) same=>n,Hangup() [response] exten=>s,1,Noop(///${caller}***${outnum}***) same=>n,System(/usr/sbin/asterisk -x "channel originate Local/${callercid}@cid extension s@hello") [cid] exten=>_x.,1,Set(CALLERID(num)=${EXTEN}) same=>n,Set(__outnum=${SHELL(php /var/www/html/file.php)}) same=>n,Set(GLOBAL(operator)=${CHANNEL}) same=>n,Dial(SIP/602,5) ;same=>n,Dial(SIP/0011101306932454266@sbc.voxbeam.com,15) same => n,GotoIf($[${DIALSTATUS}="ANSWER"]?anws) same=>n,System(/usr/sbin/asterisk -x "channel redirect ${caller} messages,s,message-8-1") same=>n,hangup() same=>n(answ),GotoIf($[$["${DIALSTATUS}"= "ANSWER"] && $["${op-in}"= "YES"]]?op-hangup-conf:op-no-conf) same=>n,Hangup() same=>n(op-hangup-conf),System(/usr/sbin/asterisk -x "channel redirect ${caller} messages,s,message-14-2") same=>n,hangup() same=>n(op-no-conf),System(/usr/sbin/asterisk -x "channel redirect ${caller} messages,s,message-10-2") same=>n,hangup() [messages] exten=>s,1,Noop(do nothing) same=>n,hangup() same=>n(message-8-1),Playback(/var/www/travel/sounds/8) same=>n,hangup() same=>n(message-10-1),Playback(/var/www/travel/sounds/10-1) same=>n,hangup() same=>n(message-10-2),Playback(/var/www/travel/sounds/10-2) same=>n,hangup() same=>n(message-14-1),Playback(/var/www/travel/sounds/14-1) same=>n,hangup() same=>n(message-14-2),Playback(/var/www/travel/sounds/14-2) same=>n,hangup() same=>n(message-11-2),Playback(/var/www/travel/sounds/11-2) same=>n,System(/usr/sbin/asterisk -x "channel redirect ${caller} hello,s,bridge") [hello] exten=>s,1,Answer() same=>n(message),playback(/var/www/travel/sounds/messagetopo) same=>n,MixMonitor(/var/www/travel/${EXTEN}.wav) same=>n,Wait(5) same=>n(op-pre-message),Playback(/var/www/travel/sounds/11-2) same=>n,System(/usr/sbin/asterisk -x "channel redirect ${caller} messages,s,message-11-2") same=>n,wait(5) same=>n(op-in),Set(GLOBAL(op-in)=YES) same=>n(bridge),Bridge(${caller}) same=>n,Noop(Playing sound to ${caller} / ${CHANNEL}) same=>n,GotoIf($["${caller}"="${CHANNEL}"]?messages,s,message-14-2) ;same=>n,Playback(/var/www/travel/sounds/14-1) same=>n,Noop( caller var ${caller}) same=>n,GotoIf($["${caller}"="hangup"]?messages,s,message-10-1) same=>n,Playback(goodbye) exten=>h,1,System(/usr/sbin/asterisk -x "channel redirect ${caller} messages,s,message-10-2")RAW Paste Data
Soporte & Consultoria
Soporte Remoto y Consultoria skype : ambiorixg12.
Nota no se brinda ningun tipo de consulta o soporte fuera del blog de forma gratuita
martes, 27 de diciembre de 2016
custom lot
Suscribirse a:
Enviar comentarios (Atom)
Thanks for sharing, nice post! Post really provice useful information!
ResponderEliminarAn Thái Sơn chia sẻ trẻ sơ sinh nằm nôi điện có tốt không hay võng điện có tốt không và giải đáp cục điện đưa võng giá bao nhiêu cũng như mua máy đưa võng ở tphcm địa chỉ ở đâu uy tín.