[solved] Problem in ParkAndAnnounce


#1

This is my extensions.conf but when I try to use the ${CallerID(num)} in my dialplan i get the following console errors:

-- Executing ParkAndAnnounce("SIP/atcom1-65b6", "pbx-transfer:PARKED|20|Local/302@SER_Asterisk|0|1") in new stack
-- Dial Tech,String: (Local,302@SER_Asterisk)
-- Return Context: (SER_Asterisk,0,1) ID: atcom1
-- Warning: Return Context Invalid, call will return to default|s

[general]

static=yes
writeprotect=no

[globals]

[SIP_Internal]

include => parkedcalls

exten => 7303,1,Noop(CALLERID: ${CallerID(num)})
exten => 7303,2,ParkAndAnnounce(pbx-transfer:PARKED|20|Local/${EXTEN:1}@SIP_Internal|SIP_Internal,${CallerID(num)},1)

exten => 300,1,Dial(SIP/czar)
exten => 300,2,Goto(prehangup,s,1)

exten => 301,1,Dial(SIP/ulisses)
exten => 301,2,Goto(prehangup,s,1)

exten => 302,1,Dial(SIP/dionysus)
exten => 302,2,Goto(prehangup,s,1)


#2

Solved:

exten => 7303,2,ParkAndAnnounce(pbx-transfer:PARKED|20|Local/${EXTEN:1}@SIP_Internal|SIP_Internal|${CallerID(num)}|1)

Crazy syntax…