FusionPBX:SIP / 2.0 405方法不允许,SIP电话未注册

我按照下面的步骤安装FUsionPBX / Freeswitch。 到了手机正在注册与创build的SIP扩展。 但是,当我改变了freewsitch框的默认网关,并重新启动它,手机没有浪潮登记,而是给错误

“SIP / 2.0 405方法不允许”

  1. 使用脚本安装Freeswitch / FusionPBX http://fusionpbx.googlecode.com/svn/trunk/scripts/install/centos6/install_fusionpbx.sh

  2. configurationFusionPBX postgresql数据库。

  3. 在FusionPBX GUI的默认域中创build一个扩展8810。

  4. 尝试使用8810注册IP电话/软电话。

  5. 将DHCP IP更改为静态并更改FusoinPBX的默认网关,然后执行以下操作:系统networking重新启动服务freeswitch restart
  6. 现在尝试使用8810注册IP电话/软电话。它不起作用。 它给出了错误:fs_cli(sofia global siptrace on)中的“SIP / 2.0 405方法不允许”

查找下面的SIP详细logging:

--------------------------------- send 492 bytes to udp/[10.204.20.101]:5060 at 15:18:00.982348: ------------------------------------------------------------------------ SIP/2.0 405 Method Not Allowed v:SIP/2.0/UDP 10.204.20.101:5060;branch=z9hG4bK80248a0c0c22e511a4b815b2652e6831;rport=5060 From: "PhonerLite8811" <sip:[email protected]>;tag=1756292461 t:"PhonerLite8811"<sip:[email protected]>;tag=8cU8FFr5S4yaK Call-ID: [email protected] CSeq: 14 REGISTER User-Agent:FreeSWITCH Rocks! Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,PRACK,NOTIFY,PUBLISH,SUBSCRIBE k:precondition,100rel,path,replaces l:0 

下面是由FusionPBX自动创build的扩展名为v_8810.xml的conf>添加扩展名:

PARAMS

  param name="password" value="8810"/ param name="reverse-auth-user" value="8810"/ param name="reverse-auth-pass" value="8810"/ param name="vm-password" value="8810"/ param name="vm-enabled" value="true"/ param name="directory-exten-visible" value="true"/ param name="dial-string" value="{sip_invite_domain=${domain_name},leg_timeout=30,presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/ /params variables variable name="domain_name" value="10.204.20.112"/ variable name="domain_uuid" value="dcce9d7a-a293-4430-95a3-7cff79537a97"/ variable name="extension_uuid" value="4b25f9dd-5b1b-4efb-b0b5-55e5f88f490c"/ variable name="toll_allow" value=""/ variable name="call_timeout" value="30"/ variable name="accountcode" value="10.204.20.112"/ variable name="user_context" value="10.204.20.112"/ variable name="directory-visible" value="true"/ variable name="limit_max" value="5"/ /variables 

我正在使用以下版本 –

操作系统:Linux centos66 2.6.32-504.23.4.el6.x86_64

FusionPBX版本:3.8.4

Freeswitch版本:1.4.19 + git〜20150619T182323Z〜73f45e3758〜64bit(git 73f45e3 2015-06-19 18:23:23 64bit)

有人请帮忙! 如果你真的能解决这个问题,我甚至乐于雇用你1小时。

干净的安装后,我有同样的问题。 我发现内部configuration文件中的上下文被设置为“public”。 在将此上下文更改为“默认”后,注册按预期工作。

希望这会有所帮助。

这将是很难猜测,因为你没有分享你的扩展问题SIPconfiguration,但405不允许通常意味着没有“允许”的URI头。 我想要做的是将type = friend的扩展名改为type = peer,但是这只是一个粗略的猜测。 分享configuration,我将能够协助更多。