I just installed Asterisk 1.6.1.0 from 1.6.0.9beta. Everything is functioning just as it was with the beta.
My setup:
asterisk 1.6.1.0
Linux Centos 5.1 x86_64 VM
Incoming DID from IPCOMMS
Outing SIP Trunk from TalkinIP
I can receive calls just fine from the DID to any internal SIP client. I can also make outgoing calls just from from the SIP trunk.
I would like to have my DID ring all of my SIP phones for a number of seconds then ring my cell phone. I have this working with the following code in my extensions.conf
exten => 5104311370,1,Answer(3)
exten => 5104311370,2,Dial(SIP/office&SIP/livingroom, 14)
exten => 5104311370,3,Dial(SIP/MYCELLNUMBER@OUTGOINGSIPTRUNK, 20)
exten => 5104311370,4,VoiceMail(1@default)
exten => 5104311370,5,PlayBack(vm-goodbye)
exten => 5104311370,6,Wait(2)
exten => 5104311370,7,HangUp()
This works.
Ok, so here’s my problem.
The issue is caller id. Caller ID works fine on the internal SIP extensions. But as soon as it hits priority 3 (my cell phone dial out) Caller ID is now my outgoing SIP CID.
I can change the CID in my SIP.conf at will. I’ve even set it to 5555555555 and it shows up that way on my cell phone. That being said, it seems like it’s a simple config change to dynamically change the SIP trunk’s CID when dialing the cell phone. I’ve looked into “SetCallerID” and “Followme” without luck. Asterisk says SetCallerID isn’t a valid app.
Any thoughts?
Can asterisk even do this? I use CallManager at work which seems to do it just fine.
Any help is much appreciated.
-Brian