首页 > 其他 > 详细

FreeSWITCH呼叫参数之sip_cid_type

时间:2019-05-20 10:35:14      阅读:286      评论:0      收藏:0      [点我收藏+]

这个参数定义了呼叫中主叫信息的头字段类型。支持两种类型:

1. rpid
Remote-Party-ID头,这是默认的设置。
{sip_cid_type=rpid}sofia/default/user@example.com
此时送出去的SIP消息头的主叫信息字段示例:
Remote-Party-ID: "13812344321" <sip:13812344321@10.40.185.192>;party=calling;screen=yes;privacy=off

2. pid
P-Preferred-Identity头 
{sip_cid_type=pid}sofia/default/user@example.com
此时送出去的SIP消息头的主叫信息字段示例:
P-Asserted-Identity: "13812344321" <sip:13812344321@10.40.185.192>

这个有什么用?
比如:Avaya就从P-Preferred-Identity头里读主叫信息。

FreeSWITCH呼叫参数之sip_cid_type

原文:https://www.cnblogs.com/setout/p/10892085.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!