[asterisk-users] PJSIP

John T. Bittner john at xaccel.net
Sat May 30 00:00:51 CDT 2020


Hello,

Anyone know how to set the "To:"  in an invite for PJSIP to custom settings. I got the "from" to be the way I need it.

From: <sip:e04f43a2ed59 at xaccel.net;tag=44l1nRmW2
To: "TEST" <sip:5tf2f2s0rbtdj-20d14fl6n65t0o-0u03 at 34.221.174.202>

I have tried a lot of changes to get to this but nothing works.

I am getting this
From: sip:109643183 at xaccel.net;tag=42e4a9cb-59af-4d40-a21f-00261afbd3be
To: sip:34.221.174.202

I need to put "TEST" <sip:5tf2f2s0rbtdj-20d14fl6n65t0o-0u03@ infront of the ip address. ?


Another question... how to set a=rtcp-fb

Does asterisk support this ?


Any help is much appreciated.

PJSIP config.

[test01]
type=aor
contact=sip:34.221.174.202:15033

[test01]
type = endpoint
transport=transport-tls
ice_support = yes
allow=!all,ulaw,h264
sdp_session=xaccel
rtcp_mux=yes
aors=test01
media_encryption=sdes
from_user=109643183
from_domain=xaccel.net
outbound_proxy=sip:34.221.174.202:15033
direct_media=no
direct_media_method=invite
dtmf_mode=rfc4733
use_avpf=yes

John Bittner
CTO
[xaccellogoemail]
380 US Highway 46, Suite 500
Totowa, NJ 07512
Phone: 201.806.2602 x2405
Fax:       201.806.2604
Cell:       973.390.1090
www.xaccel.net<http://www.xaccel.net/>

CONFIDENTIALITY NOTICE:
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential
and privileged information which should not be shared or forwarded. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the e-mail.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200530/21cdd57c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4300 bytes
Desc: image001.png
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200530/21cdd57c/attachment.png>


More information about the asterisk-users mailing list