How To Control Host Part Of From: Field Content From The Dialplan

Home » Asterisk Users » How To Control Host Part Of From: Field Content From The Dialplan
Asterisk Users 1 Comment

Hello,

I’ve read SIP Connect 2.0 draft lately.

It mentions specific use if either of the following values is present in the From: field of an INVITE message. The values are:
sip:unavailable@unkown.invalid sip:anonymous@anonymous.invalid

I’m using Asterisk 13 and PJSIP. Which dialplan function can I use if I want to send an outbound SIP call with a From field matching the above values ?

I’ve tried with :
Set(CALLERID(num)=unavailable@unkown.invalid)

and got:
From: “Bob”

One thought on - How To Control Host Part Of From: Field Content From The Dialplan