Custom transfer callerid not going to voicemail

I set up the following to put the prefix of xfer to a call being transferred and keeping the callerid. The only issue I am getting is that it doesn’t go to voicemail if the person does not answer. I am using freepbx 2.9.0.12 with pbxinaflash.

Added:

[custom_transfer_callerid]
exten => _X.,1,noop(entering custom_transfer_callerid)
exten => _X.,n,Set(CALLERID(name)=XFER:${CALLERID(name)})
exten => _X.,n,dial(local/${EXTEN}@from-internal,10)

to extensions_custom.conf

and

TRANSFER_CONTEXT=custom_transfer_callerid

to global_custom.conf

Hmm, not completely sure about this, but normally if you want it to traverse through the fail paths, you need to use add a /n

You can try this, at the end of @from-internal, add like this @from-internal/n

Gluck!
Sanjay

i added the /n and it didn’t do anything different.

exten => _X.,n,dial(local/${EXTEN}@from-internal,10/n)

My bad, I didn’t put it in right. It works. THANKS!

[custom_transfer_callerid]
exten => _X.,1,noop(entering custom_transfer_callerid)
exten => _X.,n,Set(CALLERID(name)=XFER:${CALLERID(name)})
exten => _X.,n,dial(local/${EXTEN}@from-internal/n)