Problema al registrar xlite en Asterisk

Problema al registrar xlite en Asterisk

Posted Julio 19th, 2010 by jmarevalog

Hola,

Tengo montado asterisk 1.4.22 sobre centos (ip 192.168.1.137), arrancando sin errores. El problema viene cuando intento registrar un softphone x-lite desde una máquina con Windows (IP 192.168.1.140), pues no se puede registrar y por mas que he intentado no he podido conseguir que funcione.

En sip.conf tengo:

[001]
type=friend
host=dynamic
secret=xlite
context=default

[002]
type=friend
host=dynamic
secret=linksys
context=default

y en extensions.conf tengo:

exten => 101,1,Dial(SIP/001|20)
exten => 102,1,Dial(SIP/002|20)

Gracias por la ayuda

¿ ya revisaste la consola

¿ ya revisaste la consola de asterisk para saber que es lo que pasa cuándo desde windows le das conectas ?

¿ Puedes poner todo lo que te envía en la consola al intentar hacer el registro ?
--
Daría todo lo que sé, por la mitad de lo que ignoro..
httP://www.oaxrom.com

Posted by phylevn on Mar, 2010-07-20 03:44
consola

Buen día,

El siguiente es el contenido del log de xlite en el cliente:

X-Lite 3.0 build 53117 label 1103d
Processor: Intel(R) Pentium(R) 4 CPU 3.00GHz
Speed: 3000.000000, Class: High (state of the art machine)
Operating System: Unknown
Supported features: MMX, High Resolution Counter, FPU, SSE, SSE2

Time | Type | Subsystem | Message | Function | Location
[10-07-22]10:07:06.712 | Info | AbstractPhone | "Checking if auto-configed devices need to be changed" | AbPhone::CAbstractPhone::ChangeDevicesIfNeeded
[10-07-22]10:07:06.713 | Info | RESIP:DNS | "DNS initialization: found 1 name servers" |
[10-07-22]10:07:06.713 | Info | RESIP:DNS | " name server: 192.168.1.137" |
[10-07-22]10:07:06.713 | Info | Video | "Create H263 encoder, resolution: CIF, bitrate: 256000" | sua::CVideoEncoderInstanceH263::CVideoEncoderInstanceH263
[10-07-22]10:07:06.714 | Info | Video | "Create H263 decoder" | sua::CVideoDecoderInstanceH263::CVideoDecoderInstanceH263
[10-07-22]10:07:06.798 | Info | Video | "Destroy H263 decoder" | sua::CVideoDecoderInstanceH263::~CVideoDecoderInstanceH263
[10-07-22]10:07:06.799 | Info | Video | "Destroy H263 encoder" | sua::CVideoEncoderInstanceH263::~CVideoEncoderInstanceH263
[10-07-22]10:07:06.800 | Info | Video | "Create H263-1998 encoder, resolution: CIF, bitrate: 256000" | sua::CVideoEncoderInstanceH263::CVideoEncoderInstanceH263
[10-07-22]10:07:06.800 | Info | Video | "Create H263_1998 decoder" | sua::CVideoDecoderInstanceH263::CVideoDecoderInstanceH263
[10-07-22]10:07:06.885 | Info | Video | "Destroy H263_1998 decoder" | sua::CVideoDecoderInstanceH263::~CVideoDecoderInstanceH263
[10-07-22]10:07:06.885 | Info | Video | "Destroy H263_1998 encoder" | sua::CVideoEncoderInstanceH263::~CVideoEncoderInstanceH263
[10-07-22]10:07:06.894 | Info | Auto Configuration | "Including Micrófono (Dispositivo de High {2B11DB63-351C-3B89-0F9C-958D8792DC4D} 1 in hash" | sua::CAutomaticConfiguration::GetSystemDeviceHash
[10-07-22]10:07:06.894 | Info | Auto Configuration | "Including Auriculares (Dispositivo de Hig {8154C5B8-2EB6-6286-B5E4-5CAB94F4F0E9} 0 in hash" | sua::CAutomaticConfiguration::GetSystemDeviceHash
[10-07-22]10:07:06.894 | Info | Auto Configuration | "Including Audio digital (S/PDIF) (Disposi {B2AB260B-EF3C-3052-4F6A-C8D01D2B23F0} 0 in hash" | sua::CAutomaticConfiguration::GetSystemDeviceHash
[10-07-22]10:07:06.901 | Info | Auto Configuration | "System device hash: 97af9b8b04784c7c0e8abb0379178d27" | sua::CAutomaticConfiguration::GetSystemDeviceHash
[10-07-22]10:07:06.903 | Info | AbstractPhone | "[001@192.168.1.137]::EnableAccount" | AbPhone::CAccount::EnableAccount
[10-07-22]10:07:06.903 | Info | DNS | "DNS [query:192.168.1.137]" | sua::CDNS::StartTopologyLookup
[10-07-22]10:07:06.903 | Info | DNS | "DNS-Lookup performed: '_sip._udp.' '192.168.1.137' [default-port:5060][fallback to A/QA:T] - Results:" | sua::CDNS::InternalShutdown
[10-07-22]10:07:06.903 | Info | DNS | " 0 - [ip:192.168.1.137:5060][ttl:4294967295][P:0][W:0][query-name:192.168.1.137]" | sua::CDNS::InternalShutdown
[10-07-22]10:07:06.903 | Info | DNS | "DNS [query:192.168.1.137]" | sua::CDNS::StartTopologyLookup
[10-07-22]10:07:06.903 | Info | DNS | "DNS-Lookup performed: '_sip._tcp.' '192.168.1.137' [default-port:5060][fallback to A/QA:T] - Results:" | sua::CDNS::InternalShutdown
[10-07-22]10:07:06.903 | Info | DNS | " 0 - [ip:192.168.1.137:5060][ttl:4294967295][P:0][W:0][query-name:192.168.1.137]" | sua::CDNS::InternalShutdown
[10-07-22]10:07:06.935 | Info | AbstractPhone | "Receiving notification about firewall IP address: 0.0.0.0, voip always possible: 0" | AbPhone::CAbstractPhone::OnFirewallInformation
[10-07-22]10:07:06.936 | Info | RESIP:DNS | "DNS initialization: found 1 name servers" |
[10-07-22]10:07:06.936 | Info | RESIP:DNS | " name server: 192.168.1.137" |
[10-07-22]10:07:06.936 | Info | CCM | "Creating transport... [URI:001@192.168.1.137]" | sua::CSIPAccess::CTransportCreator::Start
[10-07-22]10:07:06.937 | Info | CCM | "Not using firewall SIP proxy. Reasons: [URI:001@192.168.1.137]" | sua::CSIPAccess::CTransportCreator::UseFirewallSIPProxy
[10-07-22]10:07:06.937 | Info | RESIP:TRANSPORT | "Creating UDP transport host= port=5060 ipv4=1" |
[10-07-22]10:07:06.937 | Info | CCM | "DSCP marking is already set correct for SIP or DNS signaling socket, where socket=1796, where transport type=3, where resip file is W:\Studio\trunk\Dev\UA\SDK\Contrib\sipfoundry\main\resip\stack\InternalTransport.cxx, where resip line # is 122, where DSCP value=0" | sua::CCMAfterSocketCreationFuncPtr
[10-07-22]10:07:06.939 | Info | RESIP:TRANSPORT | "Creating TCP transport host= port=5060 ipv4=1" |
[10-07-22]10:07:06.941 | Info | RESIP:DNS | "local hostname does not contain a domain part Soporte-Jose" |
[10-07-22]10:07:06.954 | Info | USB Devices | "Auriculares (Dispositivo de Hig is selected as USB control device. Attempt to connect..." | cpsi::IVoipDevice::OpenDevice
[10-07-22]10:07:06.954 | Info | USB Devices | "0012D878" | DBLOGGER
[10-07-22]10:07:06.954 | Info | USB Devices | "0012D868" | DBLOGGER
[10-07-22]10:07:06.954 | Info | USB Devices | "0012D860" | DBLOGGER
[10-07-22]10:07:06.954 | Info | USB Devices | "0012D860" | DBLOGGER
[10-07-22]10:07:06.954 | Info | USB Devices | "0012D858" | DBLOGGER
[10-07-22]10:07:06.954 | Info | USB Devices | "0012D860" | DBLOGGER
[10-07-22]10:07:06.954 | Info | USB Devices | "0012D860" | DBLOGGER
[10-07-22]10:07:06.954 | Info | USB Devices | "0012D858" | DBLOGGER
[10-07-22]10:07:06.954 | Info | USB Devices | "0012D460" | DBLOGGER
[10-07-22]10:07:06.956 | Info | USB Devices | "0012D458" | DBLOGGER
[10-07-22]10:07:06.956 | Info | USB Devices | "0012D450" | DBLOGGER
[10-07-22]10:07:06.956 | Info | USB Devices | "0012D448" | DBLOGGER
[10-07-22]10:07:06.956 | Info | USB Devices | "0012D440" | DBLOGGER
[10-07-22]10:07:06.956 | Info | USB Devices | "0012D438" | DBLOGGER
[10-07-22]10:07:06.957 | Info | USB Devices | "0012D458" | DBLOGGER
[10-07-22]10:07:06.957 | Info | USB Devices | "0012D458" | DBLOGGER
[10-07-22]10:07:06.957 | Info | USB Devices | "0012D458" | DBLOGGER
[10-07-22]10:07:06.957 | Info | USB Devices | "0012D458" | DBLOGGER
[10-07-22]10:07:06.959 | Info | USB Devices | "0012D458" | DBLOGGER
[10-07-22]10:07:06.959 | Info | USB Devices | "0012D450" | DBLOGGER
[10-07-22]10:07:06.959 | Info | USB Devices | "0012D448" | DBLOGGER
[10-07-22]10:07:06.959 | Info | USB Devices | "0012D440" | DBLOGGER
[10-07-22]10:07:06.959 | Info | USB Devices | "0012D438" | DBLOGGER
[10-07-22]10:07:06.960 | Info | USB Devices | "0012D458" | DBLOGGER
[10-07-22]10:07:06.960 | Info | USB Devices | "0012D458" | DBLOGGER
[10-07-22]10:07:06.960 | Info | USB Devices | "0012D458" | DBLOGGER
[10-07-22]10:07:06.960 | Info | USB Devices | "0012D458" | DBLOGGER
[10-07-22]10:07:06.960 | Info | USB Devices | "0012D860" | DBLOGGER
[10-07-22]10:07:06.960 | Info | USB Devices | "0012D878" | DBLOGGER
[10-07-22]10:07:06.960 | Info | USB Devices | "0012D878" | DBLOGGER
[10-07-22]10:07:06.960 | Info | USB Devices | "0012D870" | DBLOGGER
[10-07-22]10:07:06.960 | Info | USB Devices | "0012D878" | DBLOGGER
[10-07-22]10:07:06.979 | Error | USB Devices | "PhonePort.dll is absent" | cpsi::LegerityVoipDevice::LegerityVoipDevice
[10-07-22]10:07:06.999 | Error | USB Devices | "Failed to connect device" | cpsi::CYealinkDevice::CYealinkDevice
[10-07-22]10:07:07.924 | Info | GUI | "Receiving notification about firewall IP address: 0.0.0.0, voip always possible: 0" | eyeBeam::CPhoneFrame::OnNetworkFirewallInformation
[10-07-22]10:07:37.837 | Info | Utilities | "AUTO_UPDATE: Checking if download - our version: 53117, remote version: 56125, our version in info: 53117" | sua::CAutoUpdate::OnHTTPResponse
[10-07-22]10:07:39.098 | Info | RESIP:DUM | "Got: SipResp: 408 tid=5c5f4474ad75f866 cseq=REGISTER / 1 from(wire)" |
[10-07-22]10:07:39.098 | Info | RESIP:DUM | "shutdown: dialogSets=1" |
[10-07-22]10:07:39.197 | Info | RESIP:TRANSACTION | "TransactionUserMessage::RequestShutdown TU: DialogUsageManager size=0" |
[10-07-22]10:07:43.102 | Warning | RESIP:DUM | "force shutdown " |
[10-07-22]10:07:43.102 | Info | RESIP:DUM | "DialogUsageManager::onAllHandlesDestroyed: removing TU" |
[10-07-22]10:07:43.198 | Info | RESIP:TRANSACTION | "TransactionUserMessage::RemoveTransactionUser TU: DialogUsageManager size=0" |
[10-07-22]10:07:43.198 | Info | RESIP:DUM | "TU unregistered " |
[10-07-22]10:07:43.198 | Info | RESIP:DUM | "DialogUsageManager::destroy() not posting to stack" |
[10-07-22]10:07:43.198 | Info | RESIP:TRANSPORT | "Shutting down [ V4 0.0.0.0:5060 UDP target domain=unspecified connectionId=0 ]" |
[10-07-22]10:07:43.200 | Info | RESIP:DNS | "DNS initialization: found 1 name servers" |
[10-07-22]10:07:43.200 | Info | RESIP:DNS | " name server: 192.168.1.137" |
[10-07-22]10:07:43.200 | Info | CCM | "Creating transport... [URI:001@192.168.1.137]" | sua::CSIPAccess::CTransportCreator::Start
[10-07-22]10:07:43.200 | Info | CCM | "Not using firewall SIP proxy. Reasons: [URI:001@192.168.1.137]" | sua::CSIPAccess::CTransportCreator::UseFirewallSIPProxy
[10-07-22]10:07:43.200 | Info | RESIP:TRANSPORT | "Creating UDP transport host= port=5061 ipv4=1" |
[10-07-22]10:07:43.200 | Info | CCM | "DSCP marking is already set correct for SIP or DNS signaling socket, where socket=1728, where transport type=3, where resip file is W:\Studio\trunk\Dev\UA\SDK\Contrib\sipfoundry\main\resip\stack\InternalTransport.cxx, where resip line # is 122, where DSCP value=0" | sua::CCMAfterSocketCreationFuncPtr
[10-07-22]10:07:43.204 | Info | RESIP:TRANSPORT | "Creating TCP transport host= port=5061 ipv4=1" |
[10-07-22]10:07:48.687 | Info | USB Devices | "First attempt to connect device" | cpsi::CPolycomUSB::Connect
[10-07-22]10:07:48.688 | Error | USB Devices | "Failed to create CLSID_PlcmGobiCtrl instance" | cpsi::CPolycomUSB::Connect

En la consola de Asterisk no hay indicios de intentos de conexión. Vale la pena agregar que si he podido registrar un teléfono linksys sin inconveniente

Gracias,
José Arévalo

Posted by jmarevalog on Jue, 2010-07-22 17:09
x-lite

Asegurate de poner en domain la ip de tu Asterisk.

Puedes poner la configuracion que pones en tu X-lte?

Saludos,

Ing.Daniel Pizarro
DCAP, Elastix Certified Engineer
Infobox

Posted by dpizarro on Mar, 2010-07-20 00:04
x-lite

Esta es la configuración de x-lite:

Display Name: Jose
User Name: 001
Password: xlite
Authorization User Name: 001
Domain: 192.168.1.137

Register with domain and receive incoming calls: Yes

Domain Proxy: 192.168.1.137

Jose Arevalo

Posted by jmarevalog on Jue, 2010-07-22 17:04