The Skype Community

in
Reply
Novel Adventurer
MRLindstrom
Posts: 2
Registered: ‎06-04-2012

Asterisk not seeing incoming calls

[ Edited ]

I have Skype Connect set up and an asterisk box set up to use it.  I can succesfully call out from asterisk, but I do not see any incoming calls on the number assigned to my Skype Connect Profile.  If I call the number it rings a few times then gives a busy signal.

 

Here is my sip.conf:

[general]
context=from-skype                ; Default context for incoming calls
allowoverlap=no                ; Disable overlap dialing support. (Default is yes)
udpbindaddr=0.0.0.0            ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
bindport=5060
bindaddr=0.0.0.0
tcpenable=yes                  ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0            ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
srvlookup=yes                  ; Enable DNS SRV lookups on outbound calls
notifyhold = yes               ; Notify subscriptions on HOLD state (default: no)
sendrpid=yes
register => 9905XXXXXXXX:Redacted@sip.skype.com/9905XXXXXXXX

[skype]
type=peer
context=from-skype
username=9905XXXXXXXX
secret=Redacted
canreinvite=no
insecure=port,invite
dtmfmode=rfc2833
host=sip.skype.com
realm=sip.skype.com
nat=yes
qualify=yes
fromuser=9905XXXXXXXX
fromdomain=sip.skype.com
disallow=all
allow=g729
allow=ulaw
allow=alaw
trustrpid=no
sendrpid=yes

 [1001]
type=friend
callerid=1001
canrevinite=no
dtmfmode=rfc2833
mailbox=1001
disallow=all
allow=ulaw
transport=udp
secret=password
host=dynamic
context=default 

 And my extensions.conf

[general]
static=yes
writeprotect=no

[globals]
TRUNK=Skype

[default]

[from-skype] 
exten=>9905XXXXXXXXXX,Noop(${CALLERID(name)} , ${CALLERID(num)})
exten=>9905XXXXXXXXXX,n,Dial(SIP/1001,30,t,r)
exten=>9905XXXXXXXXXX,n,voicemail(100|u)

exten=>281203XXXX,Noop(${CALLERID(name)} , ${CALLERID(num)})
exten=>281203XXXX,n,Dial(SIP/1001,30,t,r)
exten=>281203XXXX,n,voicemail(100|u)

 The last 3 lines were my best guess at how to tell it what the incoming call phone # is and I'm not sure it's entirely necessary.  Any thoughts?

Please use plain text.
Routine Adventurer
amaria
Posts: 18
Registered: ‎14-03-2012

Re: Asterisk not seeing incoming calls

Dear MRLindstrom,

 

I am sorry to hear that you are having issues receiving incoming calls to your Skype Connect Online number.

 

In looking at your Asterisk configuration, I would suggest changing your 'incoming call field' (the last 3 lines you have included below) to your 9905xxxxxxxxxx, rather than 281203xxxx.

 

Please make that change and let us know if you are able to receive calls.

 

Thank you,

 

MariaA

Skype Enterprise Support

 

Please use plain text.
Novel Adventurer
MRLindstrom
Posts: 2
Registered: ‎06-04-2012

Re: Asterisk not seeing incoming calls

[ Edited ]

I am now able to properly pass incoming calls to an asterisk extension.  However, each time I call the skype number, asterisk treats each time it rings as a new call.  Therefore, it calls the extension in asterisk 3 times before simultaneously before skype ends the call and I hear 3 beeps.  Is this an asterisk issue?

Please use plain text.
Facebook Twitter

© 2013 Skype and/or Microsoft. The Skype name, associated trade marks and logos and the "S" logo are trade marks of Skype or related entities. Use of this website constitutes acceptance of the Terms of Use and Privacy and Cookie policy.

No emergency calls

No emergency calls with Skype
Skype is not a replacement for your telephone and can't be used for emergency calling