Hello,
When I receive a call from outside or sip, I do the next, but when the system dial to the misdn, shows the number of the asterisk. Is there any way to shows the initially number? The original number?
exten => 6012,1,Dial(SIP/informatica,10) exten => 6012,2,Dial(misdn/g:outgoing/696xxxx,15,tTr) exten => 6012,3,Dial(misdn/g:outgoing/609xxxx,15,tTr)
Thank you
Something like this:
exten => 6012,1,Set(CALLERIDANI=${CALLERID(number)}) exten => 6012,2,Set(CALLERIDNAME=${CALLERID(name)})
exten => 6012,3,Set(CALLERID(name)=${CALLERIDANI}) exten => 6012,4,Set(CALLERID(number)=${CALLERIDNAME}) exten => 6012,5,Dial(SIP/informatica,10) exten => 6012,6,Dial(misdn/g:outgoing/696xxxx,15,tTr) exten => 6012,7,Dial(misdn/g:outgoing/609xxxx,15,tTr)