Hi All,
I’m hoping you can help i have been having an issue for a while but i cant seem to fix it.
extensions.conf:
exten => _.,1,SET(GLOBAL(PICKUPMARK)=${EXTEN:2})
exten => _.,n,NoOp(Pickup ${EXTEN:2}@PICKUPMARK)
exten => _**.,n,Pickup(${EXTEN:2}@PICKUPMARK)
Console Output:
– Executing [**334@secretary:1] Set(“SIP/336-08ec9ce8”, “GLOBAL(PICKUPMARK)=334”) in new stack
== Setting global variable ‘PICKUPMARK’ to ‘334’
– Executing [**334@secretary:2] NoOp(“SIP/336-08ec9ce8”, “Pickup 334@PICKUPMARK”) in new stack
– Executing [**334@secretary:3] Pickup(“SIP/336-08ec9ce8”, “334@PICKUPMARK”) in new stack
Result:
Extension 336 is trying to pick up extension 334 but picks up another (newer) call that is in ringing state.
Expected Result:
Extension 336 is trying to pick up extension 334 and picks up extension 334 regardless of any other calls being made.
I have also tested with 5 extensions the below.
Ext 900 calls Ext 901
Ext 902 calls Ext 903
Ext 904 can enter **999 and for some reason will pickup Ext 903 (902 and 904 = active call)
Am i doing something wrong?
Fred