アスタリスクと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.
ただし、スカイプに電話をかけようとすると、次のようになります。
*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'
何らかの理由で、一口をリロードするたびに言及する必要があると思います。
`Using Cos mark 4`
上記のようなコスマーク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 REGISTER User-Agent: アスタリスク PBX 11.8.1 Expires: 120 Contact: Content-Length:
何か案は?私にお知らせください。ありがとう!!