- 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 220.127.116.11: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