[asterisk-users] How to control host part of From: field content from the dialplan

Olivier oza.4h07 at gmail.com
Fri Mar 4 11:45:00 CST 2016


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 at unkown.invalid
sip:anonymous at 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 at unkown.invalid)

and got:
From: "Bob" <sip:unavailable%40unkown.invalid at 192.168.64.157
>;tag=d74792e3-f646-4dd9-90fe-e4dc62ea728d

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160304/8c52ed96/attachment.html>


More information about the asterisk-users mailing list