Hi,
I’m using Asterisk 13.12.2 with the FollowMe feature. In the dialplan, I’ve set the CallerID value to a custom one before calling the FollowMe application. However, when the call goes out to my SIP provider, the CID is changed to a generic one.
My Dialplan is:
exten => 11111111,1,Verbose(“Direct Line”)
same => n,Dial(PJSIP/687,10)
same => n,Set(CALLERID(num)=22222222)
same => n,FollowMe(oncallphone,d)
same => n,Hangup()
The followme.conf file has the following:
[oncallphone]
musicclass=>default
context=>staff
number=>33333333,30,1
number=>44444444,30,2
I traced the SIP messages and the INVITE shows as the CallerID, a generic one set somewhere else (ie: 55555555)
Now, if I change the dialplan to not use FollowMe like this:
exten => 11111111,1,Verbose(“Direct Line”)
same => n,Set(CALLERID(num)=22222222)
same => n,Dial(PJSIP/33333333@outgoing_trunk,10)
same => n,Dial(PJSIP/44444444@outgoing_trunk,10)
same => n,Hangup()
I trace the SIP messages and the INVITE correctly sets the CallerID to 22222222
I noticed that there was a similar issue with an older version that was fixed in ASTERISK-17557 but it looks like it’s happening again in version 13 unless I got my configuration wrong.
Any assistance will be greatly appreciated.