Set DID number as caller id for outgoing call

Dear Team,

Please help me to make outgoing call from DID number and always geting call from pilot number, find the below details.

Call files
channel: DAHDI/i1/xxxxxxxxxx
Context: testcall
Extension: 888

Extension.conf
[testcall]
exten => 888,1,Answer
exten => 888,n,Set(CALLSTART_T={STRFTIME({EPOCH},%S)})
exten => 888,n,Wait(2)
exten => 888,n,Playback(hello-world)
exten => 888,n,Set(CALLSTAR={STRFTIME({EPOCH},%S)})
exten => 888,n,Hangup()

Use a LOCAL channel to set your caller ID before you do your dial.

There is an option available to set callerid on outgoing channel in callfile.
Callerid: <callerid> - The caller id to use.

Its worked fine, thanks a lot

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.