[asterisk-users] how to selectively disable callerid block?

Jairo jairomolinajr at gmail.com
Thu Feb 13 06:09:04 CST 2014


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
---------------           ------- -------
Pickup                    *8      *8
Blind Transfer            #       #1
Attended Transfer                 #2
One Touch Monitor
Disconnect Call           *       *
Park Call                         #3
One Touch MixMonitor



2014-02-12 21:23 GMT-02:00 Eric Cooper <ecc at cmu.edu>:

> 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?
>
> --
> Eric Cooper             e c c @ c m u . e d u
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140213/a3a28d16/attachment.html>


More information about the asterisk-users mailing list