Using ParkandAnnounce with "Custom" CallerID

GamblinMan

New Member
Joined
Oct 24, 2007
Messages
17
Reaction score
0
Hello All!

I'm using PBXinAF, attempting to use ParkandAnnounce function, which works just great.

However, I would like to have the "Announce" call use a CallerID of "Privacy Mgr" or something similar so when the call hits the destination extensions, I know it is from Asterisk announcing an unknown caller.

I have tried to set the CallerID(name) before the call to ParkandAnnounce, but this only affects the callerID of the call on "Hold" or "Parked" and not the call to the extension to announce the call. I have found from researching this that there are options available in the ParkandAnnounce call to enable various features/functions. Can the CallerID(name) be set using one of these functions for the call to SIP extension 202? I understand this is a "Dial" command (essentially), but I can't get the syntax right to get callerID(name) on the announce call.

Here is the code I'm using to try and invoke ParkandAnnounce and change the CallerID.

[ext-park]
exten => 70,1,Answer
exten => 70,2,Set(CALLERID(name)=PBX Prv Mgr)
exten => 70,3,ParkAndAnnounce(asterisk-prv-mgr:/tmp/asterisk-stranger:vm-isonphone:at-following-number:pARKED|40|SIP/202|who-r-u,s,7)
exten => 70,4,Hangup



Thanks for your help!

Tim
 

Members online

Forum statistics

Threads
25,812
Messages
167,760
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top