Transfer call directly to voicemail

I would like to be able to transfer a call directly to a voicemail.

I am using GXP-2000 phones.

Jane calls in. I answer. She wants Bob. I ask Bob if he wants to talk to her, and he says no, just put her in my voicemail.

I have tried hitting the transfer button on the phone, but if I use *102 (102 = bob’s exten), it just returns back to the call and nothing happens.

Any ideas?

Thank you!

Try making an extension for vm transfers, mabe something like:

exten => _**XXX,1,Voicemail(${EXTEN:2})

So if Bob is at 102, transfering the call to **102 would place it in Bob’s voicemail

thanks for the reply. I put this line in extensions.conf under from-pstn. Is this where it goes? When I tried it, just said transfer complete, but disconnected the caller.

Thank you!

Disregard, I found where to put it (in the custom file) and it worked perfectly! THANK YOU!