Bom dia a todoso, tenho um elastix 2.0 mais acontece o mesmo no 1.6.<br><br>tenho saida para chamdas pelo e1 mais tdas as chamadas que entram, assim que atendiadas a chamada se corta.<br><br>a conf do meu chan_dahdi.conf<br>
[channels]<br>usecallerid=yes<br>callwaiting=yes<br>usecallingpres=yes<br>callwaitingcallerid=yes<br>threewaycalling=yes<br>transfer=yes<br>canpark=yes<br>cancallforward=yes<br>callreturn=yes<br>echocancel=yes<br>echocancelwhenbridged=yes<br>
<br>signalling=mfcr2<br>mfcr2_variant=br<br>mfcr2_get_ani_first=no<br>mfcr2_max_ani=20<br>mfcr2_max_dnis=4<br>mfcr2_category=national_subscriber<br>mfcr2_logdir=span1<br>mfcr2_logging=all<br><br>context=from-trunk<br>group=0<br>
callgroup=0<br>pickupgroup=0<br>channel => 1-6<br><br><br>e o log da chamada de entrada<br><br>obrigado<br><br>[Sep 13 07:24:38] NOTICE[3188] chan_sip.c: Failed to authenticate on REGISTER to '<a href="mailto:gflrsm@vono.net.br">gflrsm@vono.net.br</a>' (Tries 3)<br>
[Sep 13 07:24:39] NOTICE[3188] chan_sip.c: Registration from '<<a href="mailto:sip%3A5548@200.247.91.123">sip:5548@200.247.91.123</a>>' failed for '189.26.142.95' - Wrong password<br><br>[Sep 13 07:24:43] DEBUG[3192] chan_dahdi.c: Chan 1 - Bits changed from 0x08 to 0x00<br>
[Sep 13 07:24:43] DEBUG[3192] chan_dahdi.c: Chan 1 - CAS Rx << [SEIZE] 0x00<br>[Sep 13 07:24:43] DEBUG[3192] chan_dahdi.c: Chan 1 - Call started at Mon Sep 13 07:24:43 2010 on chan 1 [openr2 version 1.3.0, revision (release)]<br>
[Sep 13 07:24:43] DEBUG[3192] chan_dahdi.c: Chan 1 - Initialized R2 MF detector<br>[Sep 13 07:24:43] DEBUG[3192] chan_dahdi.c: Chan 1 - CAS Tx >> [SEIZE ACK] 0x0C<br>[Sep 13 07:24:43] DEBUG[3192] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x0D<br>
[Sep 13 07:24:43] VERBOSE[3192] chan_dahdi.c: New MFC/R2 call detected on chan 1.<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 5 [ON]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting DNIS digit 5<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - DNIS so far: 5, expected length: 4<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Requesting next DNIS with signal 0x31.<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 5 [OFF]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 5 [ON]<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting DNIS digit 5<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - DNIS so far: 55, expected length: 4<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Requesting next DNIS with signal 0x31.<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 5 [OFF]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 0 [ON]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting DNIS digit 0<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - DNIS so far: 550, expected length: 4<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Requesting next DNIS with signal 0x31.<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 0 [OFF]<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 0 [ON]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting DNIS digit 0<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - DNIS so far: 5500, expected length: 4<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Done getting DNIS!<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 0 [OFF]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 4 [ON]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 4<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 4, expected length: 20<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 4 [OFF]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 8 [ON]<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 8<br>[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 48, expected length: 20<br>
[Sep 13 07:24:44] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 8 [OFF]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 3 [ON]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 3<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 483, expected length: 20<br>
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 3 [OFF]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 2 [ON]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 2<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 4832, expected length: 20<br>
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 2 [OFF]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 1<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 48321, expected length: 20<br>
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 2 [ON]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 2<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 483212, expected length: 20<br>
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 2 [OFF]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 0 [ON]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 0<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 4832120, expected length: 20<br>
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 0 [OFF]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 4 [ON]<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 4<br>[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 48321204, expected length: 20<br>
[Sep 13 07:24:45] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 4 [OFF]<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 3 [ON]<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 3<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 483212043, expected length: 20<br>
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 3 [OFF]<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 2 [ON]<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - Getting ANI digit 2<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - ANI so far: 4832120432, expected length: 20<br>
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << 2 [OFF]<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << F [ON]<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - Got end of ANI<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - By-passing B/II signals, accept the call with signal 0x0<br>
[Sep 13 07:24:46] VERBOSE[3192] chan_dahdi.c: MFC/R2 call offered on chan 1. ANI = 4832120432, DNIS = 5500, Category = National Subscriber<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Accepting MFC/R2 call with charge on chan 1<br>
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Rx << F [OFF]<br>[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]<br>
[Sep 13 07:24:46] DEBUG[3192] chan_dahdi.c: Chan 1 - calling timer 18 (r2_answer_delay) callback<br>[Sep 13 07:24:46] VERBOSE[3192] chan_dahdi.c: MFC/R2 call has been accepted on backward channel 1<br>[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [5500@from-trunk:1] Set("DAHDI/1-1", "__FROM_DID=5500") in new stack<br>
[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [5500@from-trunk:2] Gosub("DAHDI/1-1", "app-blacklist-check,s,1") in new stack<br>[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack<br>
[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [s@app-blacklist-check:2] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new stack<br>[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [s@app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack<br>
[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [5500@from-trunk:3] ExecIf("DAHDI/1-1", "0 ?Set(CALLERID(name)=4832120432)") in new stack<br>[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [5500@from-trunk:4] Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack<br>
[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [5500@from-trunk:5] Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack<br>[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [5500@from-trunk:6] Goto("DAHDI/1-1", "disa,1,1") in new stack<br>
[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Goto (disa,1,1)<br>[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [1@disa:1] Set("DAHDI/1-1", "_DISA="disa,1,newcall"") in new stack<br>
[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [1@disa:2] Set("DAHDI/1-1", "_DISACONTEXT=from-internal") in new stack<br>[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [1@disa:3] Set("DAHDI/1-1", "_KEEPCID=TRUE") in new stack<br>
[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [1@disa:4] Set("DAHDI/1-1", "TIMEOUT(digit)=5") in new stack<br>[Sep 13 07:24:46] VERBOSE[26688] func_timeout.c: -- Digit timeout set to 5.000<br>
[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [1@disa:5] Set("DAHDI/1-1", "TIMEOUT(response)=10") in new stack<br>[Sep 13 07:24:46] VERBOSE[26688] func_timeout.c: -- Response timeout set to 10.000<br>
[Sep 13 07:24:46] VERBOSE[26688] pbx.c: -- Executing [1@disa:6] DISA("DAHDI/1-1", "no-password,disa-dial") in new stack<br>[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Answering MFC/R2 call on chan 1<br>
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - CAS Tx >> [ANSWER] 0x04<br>[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x05<br>[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: bits changed in chan 1<br>
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - Bits changed from 0x00 to 0x08<br>[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - CAS Rx << [CLEAR FORWARD] 0x08<br>[Sep 13 07:24:46] VERBOSE[26688] chan_dahdi.c: Chan 1 - Far end disconnected. Reason: Normal Clearing<br>
[Sep 13 07:24:46] VERBOSE[26688] chan_dahdi.c: MFC/R2 call disconnected on channel 1<br>[Sep 13 07:24:46] VERBOSE[26688] pbx.c: == Spawn extension (disa, 1, 6) exited non-zero on 'DAHDI/1-1'<br>[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: disconnecting MFC/R2 call on chan 1<br>
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: ast cause 0 resulted in openr2 cause 6/Normal Clearing<br>[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - Call ended<br>[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - CAS Tx >> [IDLE] 0x08<br>
[Sep 13 07:24:46] DEBUG[26688] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x09<br>[Sep 13 07:24:46] VERBOSE[26688] chan_dahdi.c: MFC/R2 call end on channel 1<br>[Sep 13 07:24:46] VERBOSE[26688] chan_dahdi.c: -- Hungup 'DAHDI/1-1'<br>