如果你想通过你的IP话机呼叫其他用户的时候,在对方话机显示能标识你的名称,在FreeSwitch中该怎么配置?
需求:
1000 和 1001 分别是两部话机,1000时张三的话机,1001是李四的话机。若1000发起呼叫,需要在对方话机上显示“zhangsan”;若1001发起呼叫,需要在对方话机上显示“lisi”.
配置:
进入 \conf\directory\default\*.xml
(1) 编辑 1000.xml ,找到 <variable name=”effective_caller_id_name” value=”1000″/>,修改为 <variable name=”effective_caller_id_name” value=”zhangsan”/>;
(2) 编辑 1000.xml ,找到 <variable name=”effective_caller_id_name” value=”1001″/>,修改为 <variable name=”effective_caller_id_name” value=”lisi”/>;
通过 FS_CLI.exe 运行 reloadxml 即可。