[asterisk-r2] Collect Calls
Marcus Vinicius
marc_mcs10 at yahoo.com.br
Thu Mar 11 17:40:36 CST 2010
hello,
I am not able to block collect calls from an operator Intelig (Brazil).
The line does not recognize the "mfcr2_allow_collect_calls = no" or "mfcr2_double_answer = yes".
Anybody know looking at the logs that may be happening?
following configuration:
# asterisk -V
Asterisk SVN-moy-mfcr2-1.2-r178065
*CLI> mfcr2 show version
OpenR2 version: 1.2.0, revision: exported
zaptel.conf
span=1,1,0,cas,hdb3
cas=1-15,17-31:1101
zapata.conf
signalling=mfcr2
mfcr2_variant=br
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all
mfcr2_allow_collect_calls=no
mfcr2_double_answer=yes
context=default
group=0
channel => 1-15
group=1
channel => 17-31
logs
console:
Mar 11 20:29:23 NOTICE[26380]: chan_zap.c:1371 zt_r2_on_call_init: New MFC/R2 call detected on chan 9.
seteco*CLI>
Mar 11 20:29:26 NOTICE[26380]: chan_zap.c:1417 zt_r2_on_call_offered: MFC/R2 call offered on chan 9. ANI = 1186598511, DNIS = 6400, Category = National Subscriber
Mar 11 20:29:26 NOTICE[26380]: chan_zap.c:1486 zt_r2_on_call_accepted: MFC/R2 call has been accepted on chan 9
-- Executing Set("Zap/9-1", "DIALED_PUBLIC_NUMBER=6400") in new stack
-- Executing Set("Zap/9-1", "DIALED_NUMBER=6400") in new stack
-- Executing Read("Zap/9-1", "opcao|ura/a/BOAS_VINDAS|1|||3") in new stack
-- Accepting a maximum of 1 digits.
-- Playing 'ura/a/BOAS_VINDAS' (language 'en')
debug
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Bits changed from 0x08 to 0x00
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - CAS Rx << [SEIZE] 0x00
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - CAS Tx >> [SEIZE ACK] 0x0C
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - CAS Raw Tx >> 0x0D
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 6 [ON]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Getting DNIS digit 6
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - DNIS so far: 6, expected length: 4
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Requesting next DNIS with signal 0x31.
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [ON]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 6 [OFF]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [OFF]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 4 [ON]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Getting DNIS digit 4
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - DNIS so far: 64, expected length: 4
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Requesting next DNIS with signal 0x31.
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [ON]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 4 [OFF]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [OFF]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 0 [ON]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Getting DNIS digit 0
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - DNIS so far: 640, expected length: 4
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Requesting next DNIS with signal 0x31.
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [ON]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 0 [OFF]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [OFF]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 0 [ON]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Getting DNIS digit 0
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - DNIS so far: 6400, expected length: 4
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - User requested us to stop getting DNIS!
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 0 [OFF]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [ON]
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 1
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 1, expected length: 20
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 1
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 11, expected length: 20
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 8 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 8
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 118, expected length: 20
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 8 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 6 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 6
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 1186, expected length: 20
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 6 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 5 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 5
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 11865, expected length: 20
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 5 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 9 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 9
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 118659, expected length: 20
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 9 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 8 [ON]
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 8
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 1186598, expected length: 20
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 8 [OFF]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 5 [ON]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 5
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 11865985, expected length: 20
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 5 [OFF]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [ON]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 1
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 118659851, expected length: 20
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [OFF]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [ON]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 1
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 1186598511, expected length: 20
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [OFF]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << F [ON]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - Got end of ANI
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - Requesting change to Group II with signal 0x33
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 3 [ON]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << F [OFF]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 3 [OFF]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [ON]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [ON]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [OFF]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [OFF]
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - calling timer 19 (r2_answer_delay) callback
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Enabled echo cancellation on channel 10
Mar 11 20:24:54 DEBUG[26766] db.c: Unable to find key 'MOH/default' in family 'TL'
Mar 11 20:24:54 DEBUG[26766] func_db.c: DB: TL/MOH/default not found in database.
Mar 11 20:24:54 DEBUG[26766] pbx.c: Function result is ''
Mar 11 20:24:54 DEBUG[26766] pbx.c: Expression result is '1'
Mar 11 20:24:54 DEBUG[26766] chan_zap.c: Accepting MFC/R2 call on chan 10
Mar 11 20:24:54 DEBUG[26766] chan_zap.c: Chan 10 - CAS Tx >> [ANSWER] 0x04
Mar 11 20:24:54 DEBUG[26766] chan_zap.c: Chan 10 - CAS Raw Tx >> 0x05
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: answer
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: Set
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: Set
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: Set
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: Set
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: GotoIfTime
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: GotoIfTime
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: noop
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: Set
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: Set
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: goto
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: noop
Mar 11 20:24:54 DEBUG[26766] pbx.c: Expression result is '0'
Mar 11 20:24:54 DEBUG[26766] pbx.c: Not taking any branch
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: GotoIf
Mar 11 20:24:54 DEBUG[26766] channel.c: Scheduling timer at 160 sample intervals
I appreciate any help
--
Marcus
Console
Mar 11 20:29:23 NOTICE[26380]: chan_zap.c:1371 zt_r2_on_call_init: New MFC/R2 call detected on chan 9.
seteco*CLI>
Mar 11 20:29:26 NOTICE[26380]: chan_zap.c:1417 zt_r2_on_call_offered: MFC/R2 call offered on chan 9. ANI = 1186598511, DNIS = 6400, Category = National Subscriber
Mar 11 20:29:26 NOTICE[26380]: chan_zap.c:1486 zt_r2_on_call_accepted: MFC/R2 call has been accepted on chan 9
-- Executing Set("Zap/9-1", "DIALED_PUBLIC_NUMBER=6400") in new stack
-- Executing Set("Zap/9-1", "DIALED_NUMBER=6400") in new stack
-- Executing Read("Zap/9-1", "opcao|ura/a/BOAS_VINDAS|1|||3") in new stack
-- Accepting a maximum of 1 digits.
-- Playing 'ura/a/BOAS_VINDAS' (language 'en')
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20100311/e34a1775/attachment.htm
More information about the asterisk-r2
mailing list