这几天一直忙着解决一个客户打电话的问题,需要用到其他研发中心的SIP server。网络连接好, VOIP终端成功注册到远端的SIP服务器上,可以开始打电话了。
但是,拨完电话号码, INVITE发出去,SIP server始终回复406 - Not Acceptable.
-
查看wireshark抓包,可以看出来, 在406的报文中以下信息:
Reason: Q.850;cause=96
Reason protocols: Q.850
Cause: Mandatory information element is missing (96) -
下载ITU Q.850文档,查找原因id 96
2.2.7.6.1 Cause No. 96 – Mandatory information element is missing
This cause indicates that the equipment sending this cause has received a message which is missing
an information element which must be present in the message before that message can be processed.
也就是说这个原因应该是必须的信息缺失,可能就是INVITE中缺少必要的Header。
但是,我们在本地实验室是可以正常拨打电话的,没有Header的缺失。
Google可以找到大牛写的帖子,https://lists.cs.columbia.edu/pipermail/sip-implementors/2002-May/002965.ht