SOLVED Can't get CONNECTEDLINE(name) to work

Edit: Well I feel dumb, the I dial option fixed my problem.
I’m trying to work out party ID and ran into a snag. Right after the INVITE to 0000B, asterisk sends an UPDATE to the caller with an incorrect P-Asserted-Identity header from the phone’s callerid setting from sip.conf. The number 6000 is correct on the phone display, it’s just stuck using the callerid from sip.conf for the name part. Here’s the dialplan I’ve been testing with:

same => n,Set(CALLERID(name)=Test)
same => n,Set(CALLERID(num)=5000)
same => n,Set(CONNECTEDLINE(name)=Bob)
same => n,Set(CONNECTEDLINE(name-pres)=allowed)
same => n,Set(CONNECTEDLINE(num)=6000)
same => n,Set(CONNECTEDLINE(num-pres)=allowed)
same => n,Dial(SIP/0000B,30)
same => n,Hangup()

Using Asterisk 13, chan_sip, and I’ve set trustrpid=yes and sendrpid=pai
I’m new to this so it’s probably some oversight. Any advice is appreciated, thanks!