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-numberARKED|40|SIP/202|who-r-u,s,7)
exten => 70,4,Hangup
Thanks for your help!
Tim
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-numberARKED|40|SIP/202|who-r-u,s,7)
exten => 70,4,Hangup
Thanks for your help!
Tim