{callee}

Hi,

I need some help in getting correct variable/attribute name for Callee extension.

ex: (EXTEN} gives me the number i dialed to reach. If my extension 1000 - how do i get this number using the reserved names? is it {CALLEE}?

thanks
ldp.

{CALLERID(num)}

Cheers.

Marco Bruni

Thanks a Lot for your quick reply. I see correct caller id number now. Below is what my code. Any further suggestions to optimize it more?

exten => _10XX,1,Set(CALLERID(num)=732326${CALLERID(num)})
exten => _10XX,2,Dial(ZAP/g3/${EXTEN})
exten => _10XX,3,Hangup

Background Info: I have all my extensions configured as 4 digit DNIS numebrs, when they call external, the callerID is not getting displayed properly. Someone from this forum suggested to use above 1st line. i was almost there, but not sure of how to set the source extension at the end of the string.

thanks
ldp.

No :smile:

Cheers.

Marco Bruni

thanks again.

I am moving this code change to production box. appreciated your help.

have a nice day.

thanks
ldp.