by Aminovsky » Thu Feb 15, 2007 4:45 am
yes it's fxs,
this is my dialplan :
;------------------------ --------------------------------------
exten => _9XXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _9XXXXXXX,2,Dial(${TRUNK1}/${EXTEN}&${TRUNK2}/${EXTEN}&${TRUNK3}/${EXTEN}&${TRUNK4}/${EXTEN}&${TRUNK5}/${EXTEN}&${TRUNK8}/${EXTEN},55,tTo)
exten => _9XXXXXXX,3,Hangup
;------------------------ --------------------------------------
exten => _2XXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _2XXXXXXX,2,Dial(${TRUNK1}/${EXTEN}&${TRUNK2}/${EXTEN}&${TRUNK3}/${EXTEN}&${TRUNK4}/${EXTEN}&${TRUNK5}/${EXTEN}&${TRUNK8}/${EXTEN},55,tTo)
exten => _2XXXXXXX,3,Hangup
;------------------------ --------------------------------------
exten => _7XXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _7XXXXXXX,2,Dial(${TRUNK1}/${EXTEN},55,tTo)
exten => _7XXXXXXX,3,Hangup
;-------------------------------------------------------------- CALL INTERNATIONAL --------------------
exten => _0033.,1,AGI(call_log.agi,${EXTEN})
exten => _0033.,2,Dial(${TRUNKIAX2}/${EXTEN},55,tTo)
exten => _0033.,3,Hangup