How To Selectively Disable Callerid Block?
In Asterisk 1.8, I used the following line in extensions.conf to allow me to pass “*82” in front of a dialed number, to disable the callerid block that’s normally on that POTS line:
; disable callerid block
exten => _*82.,1,Dial(${POTS}/${EXTEN})
But this seems to have stopped working when I upgraded to Asterisk
11.7. I get the following debug output, with a “no call pickup possible” message as soon as I press the ‘8’:
[Feb 12 18:17:39] — Starting simple switch on ‘DAHDI/2-1’
[Feb 12 18:17:39] DEBUG[2339]: devicestate.c:442 devstate_event: device ‘DAHDI/2’ state ‘2’
[Feb 12 18:17:42] DEBUG[5898][C-0000000e]: sig_analog.c:1600 analog_handle_dtmf: Begin DTMF digit: 0x2A ‘*’ on DAHDI/2-1
[Feb 12 18:17:42] DEBUG[5898][C-0000000e]: chan_dahdi.c:2145 my_handle_dtmf: Begin DTMF digit: 0x2A ‘*’ on DAHDI/2-1
[Feb 12 18:17:42] DEBUG[5898][C-0000000e]: sig_analog.c:1600 analog_handle_dtmf: End DTMF digit: 0x2A ‘*’ on DAHDI/2-1
[Feb 12 18:17:42] DEBUG[5898][C-0000000e]: chan_dahdi.c:2145 my_handle_dtmf: End DTMF digit: 0x2A ‘*’ on DAHDI/2-1
[Feb 12 18:17:42] DEBUG[5898][C-0000000e]: sig_analog.c:2121 __analog_ss_thread: waitfordigit returned ‘*’ (42), timeout = 0
[Feb 12 18:17:44] DEBUG[5898][C-0000000e]: sig_analog.c:1600 analog_handle_dtmf: Begin DTMF digit: 0x38 ‘8’ on DAHDI/2-1
[Feb 12 18:17:44] DEBUG[5898][C-0000000e]: chan_dahdi.c:2145 my_handle_dtmf: Begin DTMF digit: 0x38 ‘8’ on DAHDI/2-1
[Feb 12 18:17:44] DEBUG[5898][C-0000000e]: sig_analog.c:1600 analog_handle_dtmf: End DTMF digit: 0x38 ‘8’ on DAHDI/2-1
[Feb 12 18:17:44] DEBUG[5898][C-0000000e]: chan_dahdi.c:2145 my_handle_dtmf: End DTMF digit: 0x38 ‘8’ on DAHDI/2-1
[Feb 12 18:17:44] DEBUG[5898][C-0000000e]: sig_analog.c:2121 __analog_ss_thread: waitfordigit returned ‘8’ (56), timeout = 0
[Feb 12 18:17:44] DEBUG[5898][C-0000000e]: chan_dahdi.c:5075 dahdi_enable_ec: Enabled echo cancellation on channel 2
[Feb 12 18:17:44] DEBUG[5898][C-0000000e]: features.c:7880 ast_pickup_call: pickup attempt by DAHDI/2-1
[Feb 12 18:17:44] DEBUG[5898][C-0000000e]: features.c:7900 ast_pickup_call: No call pickup possible… for DAHDI/2-1
[Feb 12 18:17:44] DEBUG[5898][C-0000000e]: sig_analog.c:2211 __analog_ss_thread: No call pickup possible…
and then a busy signal.
I didn’t pay much attention to the differences between Asterisk 1.8
and 11.7 since everything seemed to still work … Can someone point me in the right direction?
3 thoughts on - How To Selectively Disable Callerid Block?
Hi Eric,
Take a look at the call pickup code, maybe you need to change it to not conflict with your dialplan:
localhost*CLI> features show Builtin Feature Default Current
————— ——- —–
Thank you, that was indeed the issue.
Thanks for the feedback.
Best.
2014-02-13 13:16 GMT-02:00 Eric Cooper: