Skype+Elastix

algu

Joined
Mar 20, 2008
Messages
3
Likes
0
Points
0
#1
I have official Skype for Elastix, I have installed according Diguim's manual, I have business account in Skype, but when I try in CLI skype show user xxxxxxx, I receive error. Please see attached file.





Any ideas?
Alexey
 

Bob

Joined
Nov 4, 2007
Messages
2,400
Likes
1
Points
36
#2
Can you go into the Asterisk CLI and as soon as you enter the CLI, tell me what version Asterisk you are running??

Bob
 

algu

Joined
Mar 20, 2008
Messages
3
Likes
0
Points
0
#3
Version of Elastix is 1.5.2.3
All other versions are in file.
 

Bob

Joined
Nov 4, 2007
Messages
2,400
Likes
1
Points
36
#4
algu,

You are running same versions as I am, so makes it easy for comparison

Can you post the relevant parts of your /etc/asterisk/chan_skype.conf

Relevant, meaning any parts of the config that is uncommented/changed

Remember to blank your password before posting with XXXXXX

Regards

Bob
 

algu

Joined
Mar 20, 2008
Messages
3
Likes
0
Points
0
#5
My file chan_skype.conf


Channel Driver configuration for Skype For Asterisk
;

; ***************
; GENERAL SECTION
; ***************

; The 'general' section contains settings that apply to
; the entire channel driver and all defined users
[general]

; The directory that will be used to hold the Skype engine
; and its working database. Note that this directory *must*
; allow executable files to be present and executed.
;
; default value = /tmp

engine_directory=/home/skype

; The username that will be used for outgoing calls and
; presence requests if no explicit username is specified
;
; default value: none

default_user=yyyyyy

; Enable debugging (very verbose)
;
; default value: no

debug=yes

; IP address to use for Skype engine
;
; default value: 0.0.0.0 (use any address)
bind_address=aaa.bbb.cccc.ddd

; TCP port for use for Skype engine
;
;default value: 0 (use a random port)
;
; Note: this setting is only a suggestion to the Skype engine; if it cannot
; use the specified port, it will automatically fall back to using
; a random port

bind_port=9082

; Disable automatic TCP ports in Skype engine
;
; By default, the Skype engine will listen on a random TCP port (or the port
; specified in 'bindport'), and in addition will attempt to listen on ports
; 80 and 443 (HTTP and HTTPS, respectively), because this frequently allows
; for easier connections through firewalls.
;
; default value: no

disable_tcpauto=no

; Disable use of UDP in Skype engine
;
; The Skype engine will normally use UDP ports for media streams, but in
; cases where UDP connections cannot (or should not) be used, this can
; be disabled;
;
; default value: no

disable_udp=no

; Enable use of an HTTPS proxy for Skype engine
;
; If your network requires that outbound HTTPS connections be made
; through a standard HTTPS proxy server, you can specify the proxy
; server here (either as a hostname or IP address).
;
; default value = none
;

;https_proxy = proxy.local.net

; Username/password for HTTPS proxy if needed
;
; If your HTTPS proxy requires a username and password, they can
; be specified here;
;
; default value: none

;https_proxy_user=proxy_user1
;https_proxy_password=proxy_password

; Enable use of a SOCKS5 proxy for Skype engine
;
; If your network requires that outbound HTTPS connections be made
; through a SOCKS5-compatible proxy server, you can specify the proxy
; server here (either as a hostname or IP address).
;
; default value = none
;

;socks5_proxy = proxy.local.net

; Username/password for SOCKS5 proxy if needed
;
; If your SOCKS5 proxy requires a username and password, they can
; be specified here;
;
; default value: none

;socks5_proxy_user=proxy_user1
;socks5_proxy_password=proxy_password

; *************
; USER SECTIONS
; *************

; Each section identifies a Skype user (by Skypename) that the
; channel driver should log in to the Skype network

[yyyyyyy]

; The user's password
;
; default value: none

secret=xxxxxxxx

; The dialplan context that incoming calls for this user
; should be directed to
;
; default value: default

context=default

; The extension in the target context that incoming calls for this
; user should be directed to
;
; default value: (the user's name)

exten=yyyyyyy

; The codecs that should be allowed for calls to/from this
; user; use 'disallow' to remove codecs from the list, 'allow' to
; add them
;
; default value: ulaw, alaw and g729

disallow=all
allow=ulaw

; Allowed call directions (incoming, outgoing or both)
;
; default value: both

direction=both

; Incoming buddy-list authorization requests
;
; When this user receives a request to authorize being
; added to another Skype user's buddy list, there are
; various ways it can be handled:
;
; accept = authorize request
; accept:password = authorize request if supplied password was sent by
; requester
; deny = deny request
; block = deny request, and block future requests from the requester
; ignore = ignore request (no response to requester)
;
; It is possible to provide multiple values for this setting, and they
; will be processed in the order they are provided; the first match
; will be used to generate the response
;
; default value: accept

;auth_policy=accept
;auth_policy=accept:martini
;auth_policy=block

auth_policy=accept:xxxxxxx

; Outgoing buddy-list addition requests
;
; When chan_skype receives a presence state request for a Skype user (from a dialplan
; hint or some other mechanism), if that target user is not already on the
; requesting user's buddy list, then the Skype network will not allow the
; presence state to be seen. Setting this option will automatically attempt
; to add the target user to the requesting user's buddy list; if the target
; user authorizes the request, then future presence state changes for the target
; user will be received by chan_skype and forwarded into the other Asterisk
; modules that requested them.
;
; default value = no

buddy_autoadd=true

; Buddy-list presence updates
;
; In some cases, Skype users may have some (or many) other Skype users on their
; buddy lists, and by default the channel driver will retrieve presence state
; and updates for all these users and pass it into Asterisk. For users with
; large buddy lists, this could generate a significant amount of load in Asterisk
; processing presence updates. If there are specific users for which you have
; no need for buddy presence state information, you can use this option to
; disable the retrieval and update process.
;
; default value = yes

buddy_presence=yes

; This option specifies a preference for which music on hold class this channel
; should listen to when put on hold if the music class has not been set on the
; channel with Set(CHANNEL(musicclass)=whatever) in the dialplan, and the peer
; channel putting this one on hold did not suggest a music class.
;
; If this option is set to "passthrough", then the hold message will always be
; passed through as signalling instead of generating hold music locally.
;
; default value = default

;mohinterpret=our_moh

; This option specifies which music on hold class to suggest to the peer channel
; when this channel places the peer on hold.
;
; default value = none

;mohsuggest=default


; **********************
; TEMPLATE USER SECTIONS
; **********************

; The configuration file also supports template sections; below is an
; example, and more details on templates can be found in the
; configuration.txt file in the doc directory of the Asterisk 1.4
; source tree or online at
; http://svn.digium.com/view/asterisk/bra ... xt?view=co
;
; Using templates allows for easy configuration (and changes) of common
; settings that apply to multiple users
;
;[base_user](!)
;context=skype_incoming
;disallow=all
;allow=ulaw

;[aston](base_user)
;secret=martin

;[daniel](base_user)
;secret=craig
 

Bob

Joined
Nov 4, 2007
Messages
2,400
Likes
1
Points
36
#6
Here is my chan_skype.conf. It has been working well for a while now.

I can perform the command that you have had issues with.

Just confirming that you did setup a Business Skype account, with user login under it. I don't think that it would cause the issue you have, more likely to be in the config file..


Code:
;
; Channel Driver configuration for Skype For Asterisk
;

; ***************
; GENERAL SECTION
; ***************

; The 'general' section contains settings that apply to
; the entire channel driver and all defined users
[general]

; The directory that will be used to hold the Skype engine
; and its working database. Note that this directory *must*
; allow executable files to be present and executed.
;
; default value = /tmp

;engine_directory=/home/skype

; The username that will be used for outgoing calls and
; presence requests if no explicit username is specified
;
; default value: none

default_user=myskypeidentity

; Enable debugging (very verbose)
;
; default value: no

;debug=yes

; IP address to use for Skype engine
;
; default value: 0.0.0.0 (use any address)
;bind_address=123.123.123.123

; TCP port for use for Skype engine
;
; default value: 0 (use a random port)
;
; Note: this setting is only a suggestion to the Skype engine; if it cannot
;       use the specified port, it will automatically fall back to using
;       a random port

;bind_port=9082

; Disable automatic TCP ports in Skype engine
;
; By default, the Skype engine will listen on a random TCP port (or the port
; specified in 'bindport'), and in addition will attempt to listen on ports
; 80 and 443 (HTTP and HTTPS, respectively), because this frequently allows
; for easier connections through firewalls.
;
; default value: no

;disable_tcpauto=yes

; Disable use of UDP in Skype engine
;
; The Skype engine will normally use UDP ports for media streams, but in
; cases where UDP connections cannot (or should not) be used, this can
; be disabled;
;
; default value: no

;disable_udp=yes

; Enable use of an HTTPS proxy for Skype engine
;
; If your network requires that outbound HTTPS connections be made
; through a standard HTTPS proxy server, you can specify the proxy
; server here (either as a hostname or IP address).
;
; default value = none
;

;https_proxy = proxy.local.net

; Username/password for HTTPS proxy if needed
;
; If your HTTPS proxy requires a username and password, they can
; be specified here;
;
; default value: none

;https_proxy_user=proxy_user1
;https_proxy_password=proxy_password

; Enable use of a SOCKS5 proxy for Skype engine
;
; If your network requires that outbound HTTPS connections be made
; through a SOCKS5-compatible proxy server, you can specify the proxy
; server here (either as a hostname or IP address).
;
; default value = none
;

;socks5_proxy = proxy.local.net

; Username/password for SOCKS5 proxy if needed
;
; If your SOCKS5 proxy requires a username and password, they can
; be specified here;
;
; default value: none

;socks5_proxy_user=proxy_user1
;socks5_proxy_password=proxy_password

; *************
; USER SECTIONS
; *************

; Each section identifies a Skype user (by Skypename) that the
; channel driver should log in to the Skype network
[voiceintegrity]

; The user's password
;
; default value: none

secret=myskypesecret

; The dialplan context that incoming calls for this user
; should be directed to
;
; default value: default

context=from-pstn

; The extension in the target context that incoming calls for this
; user should be directed to
;
; default value: (the user's name)

exten=myskypeextension

; The codecs that should be allowed for calls to/from this
; user; use 'disallow' to remove codecs from the list, 'allow' to
; add them
;
; default value: ulaw, alaw and g729

;disallow=all
;allow=ulaw

; Allowed call directions (incoming, outgoing or both)
;
; default value: both

;direction=incoming

; Incoming buddy-list authorization requests
;
; When this user receives a request to authorize being
; added to another Skype user's buddy list, there are
; various ways it can be handled:
;
; accept = authorize request
; accept:password = authorize request if supplied password was sent by
;  		    requester
; deny = deny request
; block = deny request, and block future requests from the requester
; ignore = ignore request (no response to requester)
;
; It is possible to provide multiple values for this setting, and they
; will be processed in the order they are provided; the first match
; will be used to generate the response
;
; default value: accept

;auth_policy=accept:m-i-6
;auth_policy=accept:martini
;auth_policy=block

; Outgoing buddy-list addition requests
;
; When chan_skype receives a presence state request for a Skype user (from a dialplan
; hint or some other mechanism), if that target user is not already on the
; requesting user's buddy list, then the Skype network will not allow the
; presence state to be seen. Setting this option will automatically attempt
; to add the target user to the requesting user's buddy list; if the target
; user authorizes the request, then future presence state changes for the target
; user will be received by chan_skype and forwarded into the other Asterisk
; modules that requested them.
;
; default value = no

;buddy_autoadd=true

; Buddy-list presence updates
;
; In some cases, Skype users may have some (or many) other Skype users on their
; buddy lists, and by default the channel driver will retrieve presence state
; and updates for all these users and pass it into Asterisk. For users with
; large buddy lists, this could generate a significant amount of load in Asterisk
; processing presence updates. If there are specific users for which you have
; no need for buddy presence state information, you can use this option to
; disable the retrieval and update process.
;
; default value = yes

; buddy_presence=no

; This option specifies a preference for which music on hold class this channel
; should listen to when put on hold if the music class has not been set on the
; channel with Set(CHANNEL(musicclass)=whatever) in the dialplan, and the peer
; channel putting this one on hold did not suggest a music class.
;
; If this option is set to "passthrough", then the hold message will always be
; passed through as signalling instead of generating hold music locally.
;
; default value = default

;mohinterpret=our_moh

; This option specifies which music on hold class to suggest to the peer channel
; when this channel places the peer on hold.
;
; default value = none

;mohsuggest=default


; **********************
; TEMPLATE USER SECTIONS
; **********************

; The configuration file also supports template sections; below is an
; example, and more details on templates can be found in the
; configuration.txt file in the doc directory of the Asterisk 1.4
; source tree or online at
; http://svn.digium.com/view/asterisk/branches/1.4/doc/configuration.txt?view=co
;
; Using templates allows for easy configuration (and changes) of common
; settings that apply to multiple users
;
;[base_user](!)
;context=skype_incoming
;disallow=all
;allow=ulaw

;[aston](base_user)
;secret=martin

;[daniel](base_user)
;secret=craig
Regards

Bob
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#7

Members online

Latest posts

Forum statistics

Threads
30,901
Messages
130,885
Members
17,562
Latest member
colak
Top