- April 5, 2020 at 5:38 am
Does anyone have any experience setting up skype connect ?
I have subscribed to the service, created a trunk, and the skype page shows that the trunk registered successfully.
I have also created an outbound route, which uses a “2XX” pattern to catch a number such as 2102, 2201 etc etc.
If I create a new extension, say 2101, how do I map this extension number to a skype account for dialing ??0
- April 6, 2020 at 9:15 am
It’s very frustrating having all my posts approved by a moderator, it is causing huge delays and it must be pretty obvious that I am not a spammer. 🙁
Previously I used skype for asterisk, which was a paid module, that asterisk discontinued, I tried to install it, but it fails with an error:
chan_skype.c:25:22: fatal error: asterisk.h: No such file or directory
So given up with that now.
I now have a trunk named ‘skype’ and it is registered successfully with skype.
I have made some progress, I created a callgroup, and then edited the /etc/asterisk/ombutel/extensions_50_1_dialplan.conf with the skype username (user deleted from code below) as the html page will only allow me to enter digits:
;same => n,Dial(Local/102@cos-all/n&Local/12345678@cos-all/n,30,U(clean-variables))
same => n,Dial(SIP/skypeskypeusername,90)
If I then call the group (2000) It attempts the call and contacts skype, however the request is rejected as per below:
-- Executing [2000@cos-all-post:9] Dial("SIP/102-00000000", "SIP/skype/skypeusername,90") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/skype/skypeusername
-- Got SIP response 484 "Address Incomplete" back from 126.96.36.199:5060
In TRIXBOX I can create a Custom Device / Connection and there is a ‘dial’ field that I can simply enter skype/username and it worked superbly !
Any suggestions on what the problem may be ?0
- April 6, 2020 at 1:19 pm
- April 6, 2020 at 10:34 pm
- April 6, 2020 at 10:50 pm
This is the outgoing trunk config:
Registration String: skypeSipUserId:skypeSipPassword@sip.skype.com/skypeSipUserId
So how would I now dial another skype user (not a PSTN number) using this trunk ?0
- April 6, 2020 at 11:48 pm
- April 7, 2020 at 12:03 am
- April 7, 2020 at 12:56 am
As my outgoing trunk is set to “type=friend” I presume that both an incoming and outgoing trunk is created by vitalPBX ?
Here’s the output from the asterisk log:
chan_sip.c:24889 handle_response_peerpoke: Peer 'skype' is now Reachable. (165ms / 5000ms)
So the trunk is registered, this is also confirmed on the skype manager profile for the user that is assigned to the sip profile, and you can see in the screenshot below that the trunk is registered.
But when I call the skype user that is associated with the sip account, I see no activity in the asterisk logs at all, skype attempts to make the call but the call fails after about 30 seconds.
So as far as I can tell, I have outbound/inbound trunk configured, but I am unable to either receive or make calls.
Surely someone else must have done this on vitalPBX or am I the first ?0
- April 12, 2020 at 3:08 am
- You must be logged in to reply to this topic.