Então a parte do extensions até que ta certa, ele faz tudo certinho o problema é o .call mesmo. Pois se eu copiar o arquivo no braço para a pasta outgoing ele da o mesmo erro.<br><br>segue o extensions:<br><br>exten => 8282,1,NoOP(Callback)<br>
exten => 8282,n,Answer()<br>exten => 8282,n,System(grep ${CALLERID(number)} /var/spool/asterisk/tel)<br>exten => 8282,n,Set(BACK=${SYSTEMSTATUS})<br>exten => 8282,n,GotoIf($["${BACK}"="SUCCESS"]?6:7)<br>
exten => 8282,n,System(cp /var/spool/asterisk/${CALLERID(number)}.call /var/spool/asterisk/outgoing/)<br>exten => 8282,n,Hangup()<br><br>[callback]<br><br>exten => s,1,NoOP(Call-Back)<br>exten => s,n,Playtones(dial)<br>
exten => s,n,WaitExten(15)<br>exten => s,n,Playtones(prog)<br>exten => s,n,Wait(3)<br>exten => s,n,Hangup()<br><br>exten => _82XX,1,Set(CDR(ACCOUNTCODE)=ramal bp250)<br>exten => _82XX,n,Dial(DGV/r2/${EXTEN},90,rtTg)<br>
exten => _82XX,n,Busy(30)<br>exten => _82XX,n,Hangup()<br><br>###############################################<br><br>digivoice.conf<br><br>[general]<br>allow_slinear=0<br>allow_ulaw=1<br>allow_alaw=1<br>allow_gsm=0<br>
<br>consolelanguage=br<br><br>[allportsconfig]<br>default_callprogress=cp_default.cfg<br>detectiontype=1<br>dialtype=1<br>afterdialpause=1000<br><br>ringbacktone1=tone1<br>ringbacktone2=tone1<br>ringbacktimes=1000,4000,1000,4000<br>
<br>busytone1=tone1<br>busytone2=tone1<br>busytimes=250,250,250,250<br><br>subchannelringtone1=tone1<br>subchannelringtone2=tone1<br>subchannelringtimes=100,100,100,5000<br><br>[groups]<br>group=1<br>ports=>1-30<br><br>
group=2<br>ports=>31-60<br><br>[port_config]<br>signalling=r2mfc_ndis_fixed<br>context=cat-from-brasiltelecom<br>language=pt_BR<br>accountcode=<br>musiconhold=lavioletera<br>tx_gain=0<br>rx_gain=0<br>echocan=2<br>echotraining=400<br>
callprogress=cp_default.cfg<br>silence_threshold=-30<br>relaxdtmf=1<br>gen_dtmf=1<br>gen_ringback=1<br>gen_busy=1<br>dtmf_to_asterisk=2<br>faxdetection=1<br>drop_tx_samples_factor=33<br>r2_country=br<br>max_digits_rx=4<br>
cid_pos=2<br>category=1<br>group_b_value=1<br>port_id=<br>b_subscriber_hangup=0<br>wait_dialtone=1<br>dialtone_timeout=3000<br>ports=>1-30<br><br>signalling=r2mfc_ndis_variable<br>context=cat-from-bp250<br>language=pt_BR<br>
accountcode=<br>musiconhold=lavioletera<br>tx_gain=0<br>rx_gain=0<br>echocan=2<br>echotraining=400<br>callprogress=cp_default.cfg<br>silence_threshold=-24<br>relaxdtmf=1<br>gen_dtmf=1<br>gen_ringback=1<br>gen_busy=1<br>dtmf_to_asterisk=2<br>
faxdetection=1<br>drop_tx_samples_factor=33<br>r2_country=br<br>min_digits_rx=1<br>max_digits_rx=20<br>interdigit_timeout=3000<br>cid_pos=2<br>category=1<br>group_b_value=1<br>port_id=<br>b_subscriber_hangup=0<br>wait_dialtone=1<br>
dialtone_timeout=3000<br>ports=>31-60<br><br>[e1_config]<br>e1_sync=1<br>use_crc4=0<br>span=1,cas<br>span=2,cas<br>cards=>1<br><br>