0

我正在尝试在星号和 Skype 连接之间进行通信。我有一个使用 1 个频道注册的 sip 个人资料。此外,星号注册到 sip.skype.com 好。从 CLI:

sip 显示同行 skype/99051000XXXXXX 63.209.144.201 Yes Yes 5060 OK (178 ms)

sip 显示注册表

          Reg.Time
sip.skype.com:5060                      N      99051000XXXX       30 Registered                
Tue, 08 Apr 2014 22:18:29
1 SIP registrations.

但是,每当我尝试拨打 Skype 电话时,我都会收到: *CLI> == Using SIP RTP CoS mark 5 -- Executing [4321@LocalSets:1] Dial("SIP/ZOI6001-00000038", "SIP/skype/4321") in new
stack == Using SIP RTP CoS mark 5 -- Called SIP/skype/4321 == Everyone is busy/congested at this time (1:0/0/1) -- Auto fallthrough, channel 'SIP/ZOI6001-00000038' status is 'CHANUNAVAIL'

出于某种原因,我想我应该提一下,每当我重新加载 sip 时,它会说

`Using Cos mark 4`

而不是像上面那样的 Cos mark 5。

在 sip.conf 中:

[general]
;register => gnext.telephony:xxxxxxxxCfnum@sip.skype.com/99051000234871
context=from-trunk                 
allowoverlap=no
;allowguest=no
udpbindaddr=0.0.0.0
tcpenable=no                    
tcpbindaddr=0.0.0.0
srvlookup=yes
allow=all
dtmfmode=rfc2833
;bindport = 56782
port=5060
;register => gnext.telephony:xxxxxxxxxnum@sip.skype.com/99051000234871
register =>99051000234871:xxxxxxxxxxx@sip.skype.com/99051000234871
;register => 9905100xxxxxxx:xxxxxxxxxx@sip.skype.com/9905100xxxxxxxxx
trustrpid=no
sendrpid=yes
calllimit=4
defaultexpiry=240


[skype]
type=friend
;type=peer
;context=from-trunk
context=from-trunk
username=9905xxxxxxx
secret=xxxxxxxx
canreinvite=no
insecure=port,invite
dtmfmode=rfc2833
host=sip.skype.com
nat=force_rport,comedia
qualify=yes
fromuser=xxxxxxxxxx
fromdomain=sip.skype.com
disallow=all
allow=g729
allow=ulaw
allow=alaw

我的拨号方案:

[from-trunk]
exten => 1234,n,Dial(SIP/XLX6003,15);

[from-local]
exten => 4321,1,Dial(SIP/skype/${EXTEN})

sip debug (sip set debug on) 显示:

<------------->
--- (7 headers 0 lines) ---
Really destroying SIP dialog '4e3bd3734b8db5a35bf963ee50b0e2b3@192.168.0.103:5060'                                          

Method: OPTIONS
[Apr  8 22:26:18] NOTICE[12076]: chan_sip.c:15059 sip_reregister:-- Re-registration        

for  99051000234871@sip.skype.com
REGISTER 10 headers, 0 lines
Reliably Transmitting (no NAT) to 63.209.144.201:5060:
REGISTER sip:sip.skype.com SIP/2.0
Via: SIP/2.0/UDP 192.168.0.103:5060;branch=z9hG4bK06df1bdd
Max-Forwards: 70
From: <sip:99051000234871@sip.skype.com>;tag=as22c0d1e3
To: <sip:99051000234871@sip.skype.com>
Call-ID: 53a73ba5083511cb29b1d3cf6bf4f37b@[::1]

CSeq:109 注册用户代理:Asterisk PBX 11.8.1 过期:120 联系人:内容长度:

有任何想法吗?请告诉我。谢谢!!

4

2 回答 2

2

我希望你已经更改了密码:)

每次出现 9905# 和上面的密码 (56w2t5EAeCfnum) 时,您都应该 X 掉它,并在 Skype 管理器中更改您的密码。否则,有人可能会用完您的呼出话费或代表您拨打国际电话。

我在使用 Skype Connect 以及使用 Asterisk 时遇到了同样的问题。呼入电话工作正常;打到我的手机的呼出电话不会,但我可以拨打其他号码。

我在 CLI 中收到完全相同的消息,即 SIP 中继电路忙。

尝试拨打其他号码,看看您是否可以将其与某些提供商相关联。我也有一个通过另一个提供商的 SIP 中继(如果我让 Skype 可靠地工作,我计划关闭那个)。

到目前为止,我的印象是 Skype 不是 SIP 中继的好选择。我希望我能和他们一起解决问题并改变这种印象。我应该很快就会收到他们的 3 级支持的消息。

于 2014-05-15T15:49:36.907 回答
0

这是我从 SKYPE 实时聊天中得到的 :(
他们说他们正式支持

1.3CX
2.Avaya
3.Cisco
4.Grandstream
5.LG Ericsson
6.ShoreTel
7.Siemens
8.SIPfoundry
这些 PBX 系统

于 2020-11-04T08:48:31.590 回答