首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

出了个小疑点,大家帮忙来看看是什么原因,电话注册后无法呼入呼出

2012-02-29 
出了个小问题,大家帮忙来看看是什么原因,电话注册后无法呼入呼出我单位使用的是Siplite软电话,但是现在总

出了个小问题,大家帮忙来看看是什么原因,电话注册后无法呼入呼出
我单位使用的是Siplite软电话,但是现在总是无法拨出和拨入,使用其他的软电话X-lite和Zoiper就没有问题,这个是什么原因?


这个是我从服务器上Copy下来的内容,其中3001为X-lite软电话,3008为Siplite软电话,使用3008呼叫3001无任何反应,使用3001呼叫3008为以下的内容(好象是3008一收到后就直接挂断了):

将二种软电话互换注册出现的结果是相反的,是3001呼叫3008无反应

henticate
  == Connect attempt from '127.0.0.1' unable to authenticate
  == Connect attempt from '127.0.0.1' unable to authenticate
  == Connect attempt from '127.0.0.1' unable to authenticate
  == Connect attempt from '127.0.0.1' unable to authenticate
  == Connect attempt from '127.0.0.1' unable to authenticate
  -- Executing [3008@12a:1] Macro("SIP/3001-093ba180", "exten-vm|3008|3008") in new stack
  -- Executing [s@macro-exten-vm:1] Macro("SIP/3001-093ba180", "user-callerid") in new stack
  -- Executing [s@macro-user-callerid:1] Set("SIP/3001-093ba180", "AMPUSER=3001") in new stack
  -- Executing [s@macro-user-callerid:2] GotoIf("SIP/3001-093ba180", "0?report") in new stack
  -- Executing [s@macro-user-callerid:3] ExecIf("SIP/3001-093ba180", "1|Set|REALCALLERIDNUM=3001") in new stack
  -- Executing [s@macro-user-callerid:4] Set("SIP/3001-093ba180", "AMPUSER=3001") in new stack
  -- Executing [s@macro-user-callerid:5] Set("SIP/3001-093ba180", "AMPUSERCIDNAME=3001") in new stack
  -- Executing [s@macro-user-callerid:6] GotoIf("SIP/3001-093ba180", "0?report") in new stack
  -- Executing [s@macro-user-callerid:7] Set("SIP/3001-093ba180", "AMPUSERCID=3001") in new stack
  -- Executing [s@macro-user-callerid:8] Set("SIP/3001-093ba180", "CALLERID(all)="3001" <3001>") in new stack
  -- Executing [s@macro-user-callerid:9] Set("SIP/3001-093ba180", "REALCALLERIDNUM=3001") in new stack
  -- Executing [s@macro-user-callerid:10] ExecIf("SIP/3001-093ba180", "0|Set|CHANNEL(language)=") in new stack
  -- Executing [s@macro-user-callerid:11] GotoIf("SIP/3001-093ba180", "0?continue") in new stack
  -- Executing [s@macro-user-callerid:12] Set("SIP/3001-093ba180", "__TTL=64") in new stack
  -- Executing [s@macro-user-callerid:13] GotoIf("SIP/3001-093ba180", "1?continue") in new stack
  -- Goto (macro-user-callerid,s,20)
  -- Executing [s@macro-user-callerid:20] NoOp("SIP/3001-093ba180", "Using CallerID "3001" <3001>") in new stack
  -- Executing [s@macro-exten-vm:2] Set("SIP/3001-093ba180", "RingGroupMethod=none") in new stack
  -- Executing [s@macro-exten-vm:3] Set("SIP/3001-093ba180", "VMBOX=3008") in new stack
  -- Executing [s@macro-exten-vm:4] Set("SIP/3001-093ba180", "EXTTOCALL=3008") in new stack
  -- Executing [s@macro-exten-vm:5] Set("SIP/3001-093ba180", "CFUEXT=") in new stack
  -- Executing [s@macro-exten-vm:6] Set("SIP/3001-093ba180", "CFBEXT=") in new stack
  -- Executing [s@macro-exten-vm:7] Set("SIP/3001-093ba180", "RT=15") in new stack
  -- Executing [s@macro-exten-vm:8] Macro("SIP/3001-093ba180", "record-enable|3008|IN") in new stack
  -- Executing [s@macro-record-enable:1] GotoIf("SIP/3001-093ba180", "1?check") in new stack
  -- Goto (macro-record-enable,s,4)
  -- Executing [s@macro-record-enable:4] AGI("SIP/3001-093ba180", "recordingcheck|20090904-170545|1252055145.10502") in new stack
  -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck


  recordingcheck|20090904-170545|1252055145.10502: Inbound recording enabled.
  recordingcheck|20090904-170545|1252055145.10502: CALLFILENAME=20090904-170545-1252055145.10502
  -- AGI Script recordingcheck completed, returning 0
  -- Executing [s@macro-record-enable:999] MixMonitor("SIP/3001-093ba180", "20090904-170545-1252055145.10502.wav||") in new stack
  -- Executing [s@macro-exten-vm:9] Macro("SIP/3001-093ba180", "dial|15|tr|3008") in new stack
  -- Executing [s@macro-dial:1] GotoIf("SIP/3001-093ba180", "1?dial") in new stack
  -- Goto (macro-dial,s,3)
  -- Executing [s@macro-dial:3] AGI("SIP/3001-093ba180", "dialparties.agi") in new stack
  -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  == Begin MixMonitor Recording SIP/3001-093ba180
  dialparties.agi: Starting New Dialparties.agi
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
  dialparties.agi: Caller ID name is '3001' number is '3001'
  dialparties.agi: Methodology of ring is 'none'
  -- dialparties.agi: Added extension 3008 to extension map
  -- dialparties.agi: Extension 3008 cf is disabled
  -- dialparties.agi: Extension 3008 do not disturb is disabled
  -- dialparties.agi: dbset CALLTRACE/3008 to 3001
  -- dialparties.agi: Filtered ARG3: 3008
  == Manager 'admin' logged off from 127.0.0.1
  -- AGI Script dialparties.agi completed, returning 0
  -- Executing [s@macro-dial:7] Dial("SIP/3001-093ba180", "SIP/3008|15|tr") in new stack
  -- Called 3008
  -- SIP/3008-ae2c22f0 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
  -- Executing [s@macro-dial:8] Set("SIP/3001-093ba180", "DIALSTATUS=CONGESTION") in new stack
  -- Executing [s@macro-dial:9] GosubIf("SIP/3001-093ba180", "0?CONGESTION|1") in new stack
  -- Executing [s@macro-exten-vm:10] GotoIf("SIP/3001-093ba180", "0?exit|return") in new stack
  -- Executing [s@macro-exten-vm:11] Set("SIP/3001-093ba180", "SV_DIALSTATUS=CONGESTION") in new stack
  -- Executing [s@macro-exten-vm:12] GosubIf("SIP/3001-093ba180", "0?docfu|1") in new stack
  -- Executing [s@macro-exten-vm:13] GosubIf("SIP/3001-093ba180", "0?docfb|1") in new stack
  -- Executing [s@macro-exten-vm:14] Set("SIP/3001-093ba180", "DIALSTATUS=CONGESTION") in new stack
  -- Executing [s@macro-exten-vm:15] NoOp("SIP/3001-093ba180", "Voicemail is 3008") in new stack
  -- Executing [s@macro-exten-vm:16] GotoIf("SIP/3001-093ba180", "0?s-CONGESTION|1") in new stack
  -- Executing [s@macro-exten-vm:17] NoOp("SIP/3001-093ba180", "Sending to Voicemail box 3008") in new stack
  -- Executing [s@macro-exten-vm:18] Macro("SIP/3001-093ba180", "vm|3008|CONGESTION|") in new stack
  -- Executing [s@macro-vm:1] Macro("SIP/3001-093ba180", "user-callerid|SKIPTTL") in new stack
  -- Executing [s@macro-user-callerid:1] Set("SIP/3001-093ba180", "AMPUSER=3001") in new stack
  -- Executing [s@macro-user-callerid:2] GotoIf("SIP/3001-093ba180", "0?report") in new stack
  -- Executing [s@macro-user-callerid:3] ExecIf("SIP/3001-093ba180", "0|Set|REALCALLERIDNUM=3001") in new stack


  -- Executing [s@macro-user-callerid:4] Set("SIP/3001-093ba180", "AMPUSER=3001") in new stack
  -- Executing [s@macro-user-callerid:5] Set("SIP/3001-093ba180", "AMPUSERCIDNAME=3001") in new stack
  -- Executing [s@macro-user-callerid:6] GotoIf("SIP/3001-093ba180", "0?report") in new stack
  -- Executing [s@macro-user-callerid:7] Set("SIP/3001-093ba180", "AMPUSERCID=3001") in new stack
  -- Executing [s@macro-user-callerid:8] Set("SIP/3001-093ba180", "CALLERID(all)="3001" <3001>") in new stack
  -- Executing [s@macro-user-callerid:9] Set("SIP/3001-093ba180", "REALCALLERIDNUM=3001") in new stack
  -- Executing [s@macro-user-callerid:10] ExecIf("SIP/3001-093ba180", "0|Set|CHANNEL(language)=") in new stack
  -- Executing [s@macro-user-callerid:11] GotoIf("SIP/3001-093ba180", "1?continue") in new stack
  -- Goto (macro-user-callerid,s,20)
  -- Executing [s@macro-user-callerid:20] NoOp("SIP/3001-093ba180", "Using CallerID "3001" <3001>") in new stack
  -- Executing [s@macro-vm:2] Set("SIP/3001-093ba180", "VMGAIN=""") in new stack
  -- Executing [s@macro-vm:3] GotoIf("SIP/3001-093ba180", "1?vmx|1") in new stack
  -- Goto (macro-vm,vmx,1)
  -- Executing [vmx@macro-vm:1] GotoIf("SIP/3001-093ba180", "0?s-CONGESTION|1") in new stack
  -- Executing [vmx@macro-vm:2] Set("SIP/3001-093ba180", "MODE=unavail") in new stack
  -- Executing [vmx@macro-vm:3] GotoIf("SIP/3001-093ba180", "1?notdirect") in new stack
  -- Goto (macro-vm,vmx,5)
  -- Executing [vmx@macro-vm:5] NoOp("SIP/3001-093ba180", "Checking if ext 3008 is enabled: ") in new stack
  -- Executing [vmx@macro-vm:6] GotoIf("SIP/3001-093ba180", "1?s-CONGESTION|1") in new stack
  -- Goto (macro-vm,s-CONGESTION,1)
  -- Executing [s-CONGESTION@macro-vm:1] Macro("SIP/3001-093ba180", "get-vmcontext|3008") in new stack
  -- Executing [s@macro-get-vmcontext:1] Set("SIP/3001-093ba180", "VMCONTEXT=default") in new stack
  -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/3001-093ba180", "0?200:300") in new stack
  -- Goto (macro-get-vmcontext,s,300)
  -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/3001-093ba180", "") in new stack
  -- Executing [s-CONGESTION@macro-vm:2] VoiceMail("SIP/3001-093ba180", "[email=3008@default%7Cu]3008@default|u[/email]") in new stack
  -- <SIP/3001-093ba180> Playing 'vm-theperson' (language 'en')
  -- <SIP/3001-093ba180> Playing 'digits/3' (language 'en')
  -- <SIP/3001-093ba180> Playing 'digits/0' (language 'en')
  -- <SIP/3001-093ba180> Playing 'digits/0' (language 'en')
  == Connect attempt from '127.0.0.1' unable to authenticate
  -- <SIP/3001-093ba180> Playing 'digits/8' (language 'en')
  -- <SIP/3001-093ba180> Playing 'vm-isunavail' (language 'en')
  -- <SIP/3001-093ba180> Playing 'vm-intro' (language 'en')
  == Connect attempt from '127.0.0.1' unable to authenticate
  -- <SIP/3001-093ba180> Playing 'beep' (language 'en')
  -- Recording the message
  -- x=0, open writing: /var/spool/asterisk/voicemail/default/3008/tmp/nI92tH format: wav49, 0xb731db70
  -- x=1, open writing: /var/spool/asterisk/voicemail/default/3008/tmp/nI92tH format: wav, 0xb5b3a758
  == Connect attempt from '127.0.0.1' unable to authenticate


  == Connect attempt from '127.0.0.1' unable to authenticate


[解决办法]

探讨
引用:
要说问题大约是这句话

Connect attempt from '127.0.0.1' unable to authenticate

可能没通过验证的缘故


现在的监控信息已经没有这句话了,但还是无法呼入呼出

[解决办法]
是无法呼入还是无法呼出,如果是呼到3008后直接被挂断,查看下3008是否配置了业务属性,比如类似免打扰什么的
[解决办法]
'127.0.0.1' 这是本机地址。SERVER用的是asterisk?用CLI连接上asterisk。1.4以是版本用 sip set debug,1.2用sip debug命令,把SIP开关打开,看一下信令交互就清楚了。或者用wireshark之类的工具抓包分析。

热点排行