I’m using ARI to place a call and want to set the caller id number.
My SIP trunk provider says that I need to set the From field in the SIP invite to the caller id. How can I do that programmatically on the ARI POST /channels/create? The “callerId” field is setting the number in the SIP Inviter Remote Part ID field.
What’s in your pjsip.conf? I suspect you are overriding the From header there.
Is this the funny provider that uses From for caller ID and remote-party-id for the account code? In that case, they are broken and you will need to look back a couple of months to see if anyone found a work around for them. (The normal expectation is that, if you have both, From is the account code and remote-party-id is the caller ID.