FreeSWITCH對接avaya的SessionManager

關鍵參數sip_cid_type

這個參數定義了呼叫中主叫信息的頭字段類型。支持兩種類型:

1. rpid
Remote-Party-ID頭,這是默認的設置。
{sip_cid_type=rpid}sofia/default/[email protected]
此時送出去的SIP消息頭的主叫信息字段示例:
Remote-Party-ID: "13812344321" <sip:[email protected]>;party=calling;screen=yes;privacy=off

2. pid
P-Preferred-Identity頭
{sip_cid_type=pid}sofia/default/[email protected]
此時送出去的SIP消息頭的主叫信息字段示例:
P-Asserted-Identity: "13812344321" <sip:[email protected]>

這個有什麼用?
比如:Avaya就從P-Preferred-Identity頭裏讀主叫信息。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章