I am trying to communicate between asterisk and skype connect. I have a sip profile registered with 1 channel. also, asterisk registers to sip.skype.com ok. From the CLI:
sip show peers
skype/99051000XXXXXX 63.209.144.201 Yes Yes 5060 OK (178 ms)
sip show registry
Reg.Time
sip.skype.com:5060 N 99051000XXXX 30 Registered
Tue, 08 Apr 2014 22:18:29
1 SIP registrations.
However, whenever I try to make a call to skype, I get:
*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'
For some reason I think I should mention athat whenever i reload sip, it says
`Using Cos mark 4`
and not Cos mark 5 like above.
In sip.conf:
[general]
;register => gnext.telephony:[email protected]/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:[email protected]/99051000234871
register =>99051000234871:[email protected]/99051000234871
;register => 9905100xxxxxxx:[email protected]/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
My dialplan:
[from-trunk]
exten => 1234,n,Dial(SIP/XLX6003,15);
[from-local]
exten => 4321,1,Dial(SIP/skype/${EXTEN})
Sip debug (sip set debug on) shows:
<------------->
--- (7 headers 0 lines) ---
Really destroying SIP dialog '[email protected]:5060'
Method: OPTIONS
[Apr 8 22:26:18] NOTICE[12076]: chan_sip.c:15059 sip_reregister:-- Re-registration
for [email protected]
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:[email protected]>;tag=as22c0d1e3
To: <sip:[email protected]>
Call-ID: 53a73ba5083511cb29b1d3cf6bf4f37b@[::1]
CSeq: 109 REGISTER User-Agent: Asterisk PBX 11.8.1 Expires: 120 Contact: Content-Length:
any ideas? Please let me know. Thanks!!