Hi,
I need little help please.
I have a custom extension that dials out to my mobile, my VOIP provider allows me to pass Caller ID of actual caller. However I am having a problem, when people call my PBX and the call is diverted to my mobile, I cant make out whether the call is made on my mobile itself or the PBX.
Following is the custom extension
exten => 2001,1,Set(__RINGTIMER=${IF($[${DB(AMPUSER/2001/ringtimer)} > 0]?${DB(AMPUSER/2001/ringtimer)}:${RINGTIMER_DEFAULT})})
exten => 2001,n,Macro(exten-vm,novm,2001,0,0,0)
exten => 2001,n(dest),Set(__PICKUPMARK=)
exten => 2001,n,Goto(${IVR_CONTEXT},return,1)
exten => 2001,hint,SIP/MYVOIP/447123456789&Custom:DND2001
I have tried to set CallerID by adding 2 lines
exten => 2001,n,Set(CALLERID(num)=9${CALLERID(num)})
exten => 2001,n,Set(CALLERID(name)=${CALLERID(num)})
just above the
exten => 2001,hint,SIP/MYVOIP/447123456789&Custom:DND2001
but it doesn’t help
Thanks for assistance.