Incoming Skype Call is terminated after 1 minute

A forum for Skype For Asterisk users to ask questions and get advice from other users

Moderators: twilson, pete engler

Incoming Skype Call is terminated after 1 minute

Postby Henning Schumacher » Tue May 18, 2010 2:00 am

Hey guys,

have a problem with incoming Skype Calls. If I simply forward them to an SIP phone the connection is terminated after one minute. If I use a second SIP phone to originate the call it works, so it must be a problem with Skype.

My configuration looks like this:
extensions.conf:
[skypein]
exten => test_kat_200,n,Dial(SIP/201)

sip.conf:
[hs2]
type = friend
context = softphone
secret = 1234
host = dynamic
allow = all

If anyone has an idea, would be great.
thanks
Henning
Henning Schumacher
Newsterisk
 
Posts: 6
Joined: Thu Mar 18, 2010 8:30 am

Re: Incoming Skype Call is terminated after 1 minute

Postby hoiung » Mon Jun 21, 2010 8:18 pm

I only have this problem with SkypeIn. Skype to Skype-to-Asterisk calls works perfectly. Anyone know what could be causing the problem? Also, my DTMF doesn't work with SkypeIn. but with skype to skype-for-asterisk calls its perfect again!
hoiung
Newsterisk
 
Posts: 6
Joined: Mon Jun 21, 2010 7:13 pm

Re: Incoming Skype Call is terminated after 1 minute

Postby twilson » Mon Jun 21, 2010 8:53 pm

Have you downloaded the latest SFA from http://downloads.digium.com/pub/telepho ... orasterisk ? There are some DTMF fixes, there. As for SkypeIn, I would check to make sure you have more than $1 credit. I have heard of some remaining DTMF issues for certain phones in the UK, but DTMF should be working.
twilson
Oldsterisk
 
Posts: 87
Joined: Mon Jun 01, 2009 9:35 am

Re: Incoming Skype Call is terminated after 1 minute

Postby hoiung » Wed Jun 23, 2010 1:06 pm

I definately have credit in there, but it doesn't use that credit unless i skypeOut.

I have installed the latest SFA, the one that was released 2 weeks ago on 6th June I believe.

it doesn't seem to like DTMF, this is the error i get when i push a button during the call before it disconnects within the 1 minute.
-----------------------------------------------------
[Jun 22 02:57:55] NOTICE[2247]: channel.c:2465 __ast_read: Dropping incompatible voice frame on Skype/eu.easterndirect.biz-117a1948 of format ilbc since our native format has changed to 0x100 (g729)
-----------------------------------------------------

anyone else had this problem and come up with a solution?
hoiung
Newsterisk
 
Posts: 6
Joined: Mon Jun 21, 2010 7:13 pm

Re: Incoming Skype Call is terminated after 1 minute

Postby hoiung » Sat Jun 26, 2010 5:44 pm

I've also installed ilbc by rebuilding the asterisk from source.

i can confirm ilbc has been installed properly
Code: Select all
ed02*CLI> core show translation
         Translation times between formats (in milliseconds) for one second of data
          Source Format (Rows) Destination Format (Columns)

          g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722
     g723    -   -    -    -        -     -    -     -    -     -    -    -    -
      gsm    -   -    2    2        2     2    1     3    7     7   10    2    2
     ulaw    -   2    -    1        2     2    1     3    7     7   10    2    2
     alaw    -   2    1    -        2     2    1     3    7     7   10    2    2
g726aal2    -   2    2    2        -     2    1     3    7     7   10    2    2
    adpcm    -   2    2    2        2     -    1     3    7     7   10    2    2
     slin    -   1    1    1        1     1    -     2    6     6    9    1    1
    lpc10    -   2    2    2        2     2    1     -    7     7   10    2    2
     g729    -   2    2    2        2     2    1     3    -     7   10    2    2
    speex    -   2    2    2        2     2    1     3    7     -   10    2    2
     ilbc    -   2    2    2        2     2    1     3    7     7    -    2    2
     g726    -   2    2    2        2     2    1     3    7     7   10    -    2
     g722    -   2    2    2        2     2    1     3    7     7   10    2    -


I've edited chan_skype.conf

Code: Select all
allow=ulaw,alaw,g729,ilbc


even after this, i still get the same NOTICE :(
hoiung
Newsterisk
 
Posts: 6
Joined: Mon Jun 21, 2010 7:13 pm

Re: Incoming Skype Call is terminated after 1 minute

Postby hoiung » Mon Jul 12, 2010 4:14 pm

fixed this now! for some reason I needed to have 2 licenses to have one incoming call using skypeIn.
hoiung
Newsterisk
 
Posts: 6
Joined: Mon Jun 21, 2010 7:13 pm


Return to Skype For Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest