General Call Pickup Failing

Asterisk 1.4.22-3
FreePBX 2.7.0.1

General Call Pickup feature set to default *8

I Have two ZAP extensions (8008, 8005) in callgroup 3 and ringgroup 3
I dial 8008 from SIP/4501 another internal extension, then try *8 from 8005 to pick up the ringing call on 8008, 8005 only gets busy tones.
Here is the output:

-- Executing [8008@from-internal:1] Macro("SIP/4501-b7218d88", "exten-vm|novm|8008") in new stack

-- Executing [s@macro-exten-vm:1] Macro("SIP/4501-b7218d88", "user-callerid|") in new stack

-- Executing [s@macro-user-callerid:1] Set("SIP/4501-b7218d88", "AMPUSER=4501") in new stack


-- Executing [s@macro-user-callerid:2] GotoIf("SIP/4501-b7218d88", "0?report") in new stack

-- Executing [s@macro-user-callerid:3] ExecIf("SIP/4501-b7218d88", "1|Set|REALCALLERIDNUM=4501") in new stack

-- Executing [s@macro-user-callerid:4] Set("SIP/4501-b7218d88", "AMPUSER=4501") in new stack

-- Executing [s@macro-user-callerid:5] Set("SIP/4501-b7218d88", "AMPUSERCIDNAME=Brandon Arthur") in new stack

-- Executing [s@macro-user-callerid:6] GotoIf("SIP/4501-b7218d88", "0?report") in new stack

-- Executing [s@macro-user-callerid:7] Set("SIP/4501-b7218d88", "AMPUSERCID=4501") in new stack

-- Executing [s@macro-user-callerid:8] Set("SIP/4501-b7218d88", "CALLERID(all)="Brandon Arthur" <4501>") in new stack

-- Executing [s@macro-user-callerid:9] ExecIf("SIP/4501-b7218d88", "0|Set|CHANNEL(language)=") in new stack

-- Executing [s@macro-user-callerid:10] GotoIf("SIP/4501-b7218d88", "0?continue") in new stack


-- Executing [s@macro-user-callerid:11] Set("SIP/4501-b7218d88", "__TTL=64") in new stack

-- Executing [s@macro-user-callerid:12] GotoIf("SIP/4501-b7218d88", "1?continue") in new stack

-- Goto (macro-user-callerid,s,19)

-- Executing [s@macro-user-callerid:19] NoOp("SIP/4501-b7218d88", "Using CallerID "Brandon Arthur" <4501>") in new stack

-- Executing [s@macro-exten-vm:2] Set("SIP/4501-b7218d88", "RingGroupMethod=none") in new stack

-- Executing [s@macro-exten-vm:3] Set("SIP/4501-b7218d88", "VMBOX=novm") in new stack

-- Executing [s@macro-exten-vm:4] Set("SIP/4501-b7218d88", "EXTTOCALL=8008") in new stack

-- Executing [s@macro-exten-vm:5] Set("SIP/4501-b7218d88", "CFUEXT=") in new stack

-- Executing [s@macro-exten-vm:6] Set("SIP/4501-b7218d88", "CFBEXT=") in new stack

-- Executing [s@macro-exten-vm:7] Set("SIP/4501-b7218d88", "RT=""") in new stack

-- Executing [s@macro-exten-vm:8] Macro("SIP/4501-b7218d88", "record-enable|8008|IN") in new stack

-- Executing [s@macro-record-enable:1] GotoIf("SIP/4501-b7218d88", "1?check") in new stack

-- Goto (macro-record-enable,s,4)

-- Executing [s@macro-record-enable:4] ExecIf("SIP/4501-b7218d88", "0|MacroExit|") in new stack

-- Executing [s@macro-record-enable:5] GotoIf("SIP/4501-b7218d88", "0?Group:OUT") in new stack

-- Goto (macro-record-enable,s,15)

-- Executing [s@macro-record-enable:15] GotoIf("SIP/4501-b7218d88", "1?IN") in new stack

-- Goto (macro-record-enable,s,20)


-- Executing [s@macro-record-enable:20] ExecIf("SIP/4501-b7218d88", "1|MacroExit|") in new stack


-- Executing [s@macro-exten-vm:9] Macro("SIP/4501-b7218d88", "dial||trw|8008") in new stack

-- Executing [s@macro-dial:1] GotoIf("SIP/4501-b7218d88", "1?dial") in new stack

-- Goto (macro-dial,s,3)

-- Executing [s@macro-dial:3] AGI("SIP/4501-b7218d88", "dialparties.agi") in new stack

-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi

dialparties.agi: Starting New Dialparties.agi

== Parsing ‘/etc/asterisk/manager.conf’: Found

== Parsing ‘/etc/asterisk/manager_additional.conf’: Found

== Parsing ‘/etc/asterisk/manager_custom.conf’: Found

dialparties.agi: Caller ID name is ‘Brandon Arthur’ number is ‘4501’

dialparties.agi: USE_CONFIRMATION: ‘FALSE’

dialparties.agi: RINGGROUP_INDEX: ‘’

dialparties.agi: Methodology of ring is ‘none’

--  dialparties.agi: Added extension 8008 to extension map

--  dialparties.agi: Extension 8008 cf is disabled

--  dialparties.agi: Extension 8008 do not disturb is disabled

dialparties.agi: extnum 8008 has: cw: 1; hascfb: 0 [] hascfu: 0 []

dialparties.agi: ExtensionState: 0

--  dialparties.agi: dbset CALLTRACE/8008 to 4501


--  dialparties.agi: Filtered ARG3: 8008

-- AGI Script dialparties.agi completed, returning 0


-- Executing [s@macro-dial:7] Dial("SIP/4501-b7218d88", "ZAP/45||trw") in new stack
-- Called 45
-- Zap/45-1 is ringing

– Zap/45-1 is ringing

-- Starting simple switch on 'Zap/42-1'

– Executing [*8@from-internal:1] Macro(“Zap/42-1”, “user-callerid|SKIPTTL|”) in new stack
– Executing [s@macro-user-callerid:1] Set(“Zap/42-1”, “AMPUSER=8005”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“Zap/42-1”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“Zap/42-1”, “1|Set|REALCALLERIDNUM=8005”) in new stack
– Executing [s@macro-user-callerid:4] Set(“Zap/42-1”, “AMPUSER=8005”) in new stack
– Executing [s@macro-user-callerid:5] Set(“Zap/42-1”, “AMPUSERCIDNAME=Test Line 1”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“Zap/42-1”, “0?report”) in new stack
– Executing [s@macro-user-callerid:7] Set(“Zap/42-1”, “AMPUSERCID=8005”) in new stack
– Executing [s@macro-user-callerid:8] Set(“Zap/42-1”, “CALLERID(all)=“Test Line 1” <8005>”) in new stack
– Executing [s@macro-user-callerid:9] ExecIf(“Zap/42-1”, “0|Set|CHANNEL(language)=”) in new stack
– Executing [s@macro-user-callerid:10] GotoIf(“Zap/42-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] NoOp(“Zap/42-1”, “Using CallerID “Test Line 1” <8005>”) in new stack
== Auto fallthrough, channel ‘Zap/42-1’ status is ‘UNKNOWN’
– Executing [h@from-internal:1] Macro(“Zap/42-1”, “hangupcall”) in new stack

-- Executing [s@macro-hangupcall:1] GotoIf("Zap/42-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("Zap/42-1", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("Zap/42-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("Zap/42-1", "") in new stack

== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘Zap/42-1’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘Zap/42-1’
– Hungup ‘Zap/42-1’
– Zap/45-1 is ringing

-- Hungup 'Zap/45-1'

I really appreciate any help, Thanks.

Hello,

I hope you defined both ZAP extensions (8005 and 8008) with callgroup and pickupgroup set to 3 (you mentioned ringgroup and this is why I double check this issue). Could you check these settings in your zapata_additional.conf file?

In order to check if the Pickup feature is defined and set to *8 please provide the output from the following Asterisk CLI command:

show features

Ioan

Thanks for the reply, here is the output from show features:

show features
Builtin Feature Default Current


Pickup *8 *8
Blind Transfer # ##
Attended Transfer *2
One Touch Monitor *1
Disconnect Call * *
Park Call

Dynamic Feature Default Current


(none)

Call parking

Parking extension :70
Parking context :parkedcalls
Parked call extensions:71-78

Here are the extensions in Zapata_additional.conf

;;;;;;[8005]
signalling=fxo_ks
pickupgroup=3
mailbox=8005@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=3
callerid=device <8005>
busydetect=yes
busycount=7
accountcode=
channel=>42

;;;;;;[8008]
signalling=fxo_ks
pickupgroup=3
mailbox=8008@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=3

Thanks

actually how are you calling *8?
On ZAP you should use *8# - have you tried this?

HTH,
Ioan

I just pick up the phone and dial *8. This has worked in the past, I also tried dialing *8# and still got busy tones.

This has worked in the past -> and what you have modified since?

Right now I’m a litle bit clueless - maybe I get something tomorrow :smile:

Ioan.

Only change is upgrading freepbx from 2.5 to 2.7 other than that I’m stumped.

what is the output from:

I think *8 is somehow defined wrongly into the dialplan and the consequence is that it is not recognized as a featuremap code

HTH,
Ioan

Here is output from grep *8 /etc/asterisk/ext*.conf -I left out the Intercom section which used *80

/etc/asterisk/extensions_additional.conf:exten => _***80.,1,Pickup(${EXTEN:5}&${EXTEN:5}@ext-local&${EXTEN:5}@from- internal&${EXTEN:5}@from-internal-xfer&${EXTEN:5}@from-did-direct&LC-${EXTEN:5}@from-internal&LC-${EXTEN:5}@from-internal-xfer&FMPR-${EXTEN:5}@from-internal&FMPR-${EXTEN:5}@from-internal-xfer&FMPR-${EXTEN:5}@from-did-direct)
/etc/asterisk/extensions_additional.conf:exten => _***80.,n,Hangup
/etc/asterisk/extensions_additional.conf:exten => ***804134,1,Pickup(4134&4134@ext-local&4134@from-internal&4134@from-internal-xfer&4134@from-did-direct&LC-4134@from-internal&LC-4134@from-internal-xfer&FMPR-4134@from-internal&FMPR-4134@from-internal-xfer&FMPR-4134@from-did-direct&602@from-internal&602@from-internal-xfer&602@ext-group)
/etc/asterisk/extensions_additional.conf:exten => ***804134,n,Hangup
/etc/asterisk/extensions_additional.conf:exten => ***804201,1,Pickup(4201&4201@ext-local&4201@from-internal&4201@from-internal-xfer&4201@from-did-direct&LC-4201@from-internal&LC-4201@from-internal-xfer&FMPR-4201@from-internal&FMPR-4201@from-internal-xfer&FMPR-4201@from-did-direct&603@from-internal&603@from-internal-xfer&603@ext-group)
/etc/asterisk/extensions_additional.conf:exten => ***804201,n,Hangup
/etc/asterisk/extensions_additional.conf:exten => ***804202,1,Pickup(4202&4202@ext-local&4202@from-internal&4202@from-internal-xfer&4202@from-did-direct&LC-4202@from-internal&LC-4202@from-internal-xfer&FMPR-4202@from-internal&FMPR-4202@from-internal-xfer&FMPR-4202@from-did-direct&603@from-internal&603@from-internal-xfer&603@ext-group)
/etc/asterisk/extensions_additional.conf:exten => ***804202,n,Hangup
/etc/asterisk/extensions_additional.conf:exten => **8001,1,Pickup(8001&8001@ext-local&8001@from-internal&8001@from-internal-xfer&8001@from-did-direct&LC-8001@from-internal&LC-8001@from-internal-xfer&FMPR-8001@from-internal&FMPR-8001@from-internal-xfer&FMPR-8001@from-did-direct&606@from-internal&606@from-internal-xfer&606@ext-group)
/etc/asterisk/extensions_additional.conf:exten => **8001,n,Hangup
/etc/asterisk/extensions_additional.conf:exten => ***808001,1,Pickup(8001&8001@ext-local&8001@from-internal&8001@from-internal-xfer&8001@from-did-direct&LC-8001@from-internal&LC-8001@from-internal-xfer&FMPR-8001@from-internal&FMPR-8001@from-internal-xfer&FMPR-8001@from-did-direct&606@from-internal&606@from-internal-xfer&606@ext-group)
/etc/asterisk/extensions_additional.conf:exten => ***808001,n,Hangup
/etc/asterisk/extensions_additional.conf:exten => **8002,1,Pickup(8002&8002@ext-local&8002@from-internal&8002@from-internal-xfer&8002@from-did-direct&LC-8002@from-internal&LC-8002@from-internal-xfer&FMPR-8002@from-internal&FMPR-8002@from-internal-xfer&FMPR-8002@from-did-direct&606@from-internal&606@from-internal-xfer&606@ext-group)
/etc/asterisk/extensions_additional.conf:exten => **8002,n,Hangup
/etc/asterisk/extensions_additional.conf:exten => ***808002,1,Pickup(8002&8002@ext-local&8002@from-internal&8002@from-internal-xfer&8002@from-did-direct&LC-8002@from-internal&LC-8002@from-internal-xfer&FMPR-8002@from-internal&FMPR-8002@from-internal-xfer&FMPR-8002@from-did-direct&606@from-internal&606@from-internal-xfer&606@ext-group)
/etc/asterisk/extensions_additional.conf:exten => ***808002,n,Hangup
/etc/asterisk/extensions_additional.conf:exten => **8003,1,Pickup(8003&8003@ext-local&8003@from-internal&8003@from-internal-xfer&8003@from-did-direct&LC-8003@from-internal&LC-8003@from-internal-xfer&FMPR-8003@from-internal&FMPR-8003@from-internal-xfer&FMPR-8003@from-did-direct&606@from-internal&606@from-internal-xfer&606@ext-group)
/etc/asterisk/extensions_additional.conf:exten => **8003,n,Hangup
/etc/asterisk/extensions_additional.conf:exten => ***808003,1,Pickup(8003&8003@ext-local&8003@from-internal&8003@from-internal-xfer&8003@from-did-direct&LC-8003@from-internal&LC-8003@from-internal-xfer&FMPR-8003@from-internal&FMPR-8003@from-internal-xfer&FMPR-8003@from-did-direct&606@from-internal&606@from-internal-xfer&606@ext-group)
/etc/asterisk/extensions_additional.conf:exten => ***808003,n,Hangup
/etc/asterisk/extensions_additional.conf:exten => **8004,1,Pickup(8004&8004@ext-local&8004@from-internal&8004@from-internal-xfer&8004@from-did-direct&LC-8004@from-internal&LC-8004@from-internal-xfer&FMPR-8004@from-internal&FMPR-8004@from-internal-xfer&FMPR-8004@from-did-direct&606@from-internal&606@from-internal-xfer&606@ext-group)
/etc/asterisk/extensions_additional.conf:exten => **8004,n,Hangup
/etc/asterisk/extensions_additional.conf:exten => ***808004,1,Pickup(8004&8004@ext-local&8004@from-internal&8004@from-internal-xfer&8004@from-did-direct&LC-8004@from-internal&LC-8004@from-internal-xfer&FMPR-8004@from-internal&FMPR-8004@from-internal-xfer&FMPR-8004@from-did-direct&606@from-internal&606@from-internal-xfer&606@ext-group)
/etc/asterisk/extensions_additional.conf:exten => ***808004,n,Hangup

This looks like a bit of a mess.

ok - I do not see something obvious, thus we have to dig more :smile: - Because I do not have here FXS ports I could not test and confirm what should be into the log when *8 it is used from a ZAP extension.

Please issue the following commands:

core set debug 10 core set verbose 10 logger rotate

test again your scenario

and post /var/log/asterisk/full, hoping that we will have more information inside this log file.

Also please consider to put somewhere an archive with your extensions*.conf in order to understand the dialplan you have now.

A FreePBX Core update #4202 resolved my problem.
Thanks