Ya se están registrando perfectamente los usuarios con TLS
pero a la hora de llamar kamailio tira este error =(
saben que pude ser?
Feb 22 15:34:29 debian-kamailio kamailio[3193]: DEBUG: <core>
[io_wait.h:588]: DBG: io_watch_del (0x820a380, 82, -1, 0x0) fd_no=74 called
Feb 22 15:34:29 debian-kamailio kamailio[3193]: DEBUG: <core>
[tcp_main.c:3627]: tcp: DBG: sendig to child, events 1
Feb 22 15:34:29 debian-kamailio kamailio[3193]: DEBUG: <core>
[tcp_main.c:3336]: send2child: to tcp child 8 45(3185), 0xb5cbfe18
Feb 22 15:34:29 debian-kamailio kamailio[3185]: DEBUG: <core>
[tcp_read.c:884]: received n=4 con=0xb5cbfe18, fd=8
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: tls
[tls_server.c:349]: tls_accept: client did not present a certificate
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: tls
[tls_server.c:926]: tls_read: Need to read more data
Feb 22 15:34:29 debian-kamailio kamailio[3182]: DEBUG: tls
[tls_server.c:804]: Ready to read/write again
Feb 22 15:34:29 debian-kamailio kamailio[3182]: DEBUG: tls
[tls_server.c:428]: TLS connect successuful
Feb 22 15:34:29 debian-kamailio kamailio[3182]: DEBUG: tls
[tls_server.c:434]: tls_connect: new connection to 127.0.0.1:5061 using
TLSv1/SSLv3 AES256-SHA 256
Feb 22 15:34:29 debian-kamailio kamailio[3182]: DEBUG: tls
[tls_server.c:437]: tls_connect: sending socket: 127.0.0.1:49947
Feb 22 15:34:29 debian-kamailio kamailio[3182]: DEBUG: tls
[tls_server.c:190]: tls_connect: server certificate subject:/C=XY/ST=Some
State/O=My Large Organization Name/OU=My Subunit of Large Organization/CN=
10.3.0.248/emailAddress=root(a)somename.somewhere.com
Feb 22 15:34:29 debian-kamailio kamailio[3182]: DEBUG: tls
[tls_server.c:194]: tls_connect: server certificate issuer:/CN=Autoridad
Certificadora/ST=Your_STATE/C=CO/emailAddress=YOUR_EMAIL/O=YOUR_ORG_NAME
Feb 22 15:34:29 debian-kamailio kamailio[3182]: DEBUG: tls
[tls_server.c:804]: Ready to read/write again
Feb 22 15:34:29 debian-kamailio kamailio[3182]: DEBUG: tls
[tls_server.c:752]: write finished, 1553 bytes written
Feb 22 15:34:29 debian-kamailio kamailio[3182]: DEBUG: <core>
[tcp_main.c:2106]: tcp_send: after real write: c= 0xb5cbfe18 n=1553 fd=9
Feb 22 15:34:29 debian-kamailio kamailio[3182]: DEBUG: <core>
[tcp_main.c:2107]: tcp_send: buf=#012INVITE
sip:4000@10.3.0.248<sip%3A4000@10.3.0.248>;transport=tls
SIP/2.0#015#012Record-Route:
<sip:10.3.0.248:5061;transport=tls;r2=on;lr=on>#015#012Record-Route:
<sip:127.0.0.1:5061;transport=tls;r2=on;lr=on>#015#012Record-Route:
<sip:10.3.0.248:5061;transport=tls;r2=on;lr=on>#015#012Record-Route:
<sip:127.0.0.1:5061;transport=tls;r2=on;lr=on>#015#012Record-Route:
<sip:10.3.0.248:5061;transport=tls;lr=on>#015#012Via: SIP/2.0/TLS
10.3.0.248:5061;branch=z9hG4bKeea7.3ea67395.0;i=6#015#012Via: SIP/2.0/TLS
10.3.0.248:5061;received=127.0.0.1;branch=z9hG4bKeea7.2ea67395.0;i=4#015#012Via:
SIP/2.0/TLS
10.3.0.248:5061;received=127.0.0.1;branch=z9hG4bKeea7.1ea67395.0;i=2#015#012Via:
SIP/2.0/TLS
10.3.0.129:5062;branch=z9hG4bK804d49005d1edf1199f3005056c00008;rport=1197;alias#015#012From:
<sip:4001@10.3.0.248 <sip%3A4001(a)10.3.0.248>>;tag=644578455#015#012To015#012To: <
sip:4000@10.3.0.248 <sip%3A4000(a)10.3.0.248>;transport=tls>#015#012Call-ID12Call-ID:
804D4900-5D1E-DF11-99F2-005056C00008(a)10.3.0.129#015#012CSeq: 3
INVITE#015#012Contact:
<sip:4001@10.3.0.129:5062;transport=tls>#015#012Content-Type:
application/sdp#015#012Allow: INVITE, OPTIONS, ACK, BYE, CANCEL, INFO,
NOTIFY, MESSAGE, UPDATE#015#012Max-Forwards: 67#015#012Supported: 100rel,
replaces#015#012User-Agent: SIPPER for
PhonerLite#015#012P-Preferred-Identity:
<sip:4001@10.3.0.248<sip%3A4001@10.3.0.248>>#015#012Content-Length:
391#015#012#015#012v=0#015#012o=- 2294630078 0 IN IP4
10.3.0.129#015#012s=SIPPER for PhonerLite#015#012c=IN IP4
10.3.0.129#015#012t=0 0#015#012m=audio 5063 RTP/AVP 8 0 2 3 97 110 111 9
101#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:0
PCMU/8000#015#012a=rtpmap:2 G726-32/8000#015#012a=rtpmap:3
GSM/8000#015#012a=rtpmap:97 iLBC/8000#015#012a=rtpmap:110
speex/8000#015#012a=rtpmap:111 speex/16000#015#012a=rtpmap:9
G722/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101
0-16#015#012a=sendrecv#015#012
Feb 22 15:34:29 debian-kamailio kamailio[3185]: DEBUG: <core>
[tcp_read.c:811]: releasing con 0xb5cbfe18, state -2, fd=8, id=7
Feb 22 15:34:29 debian-kamailio kamailio[3184]: ERROR: <core>
[tcp_read.c:698]: ERROR: tcp_read_req: bad request, state=0, error=0
buf:#012#012parsed:#012
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:699]: - received from: port 0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[ip_addr.c:134]: print_ip: warning unknown address family 0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[io_wait.h:588]: DBG: io_watch_del (0x822c5c0, 0, -1, 0x10) fd_no=2 called
Feb 22 15:34:29 debian-kamailio kamailio[3184]: ERROR: <core>
[io_wait.h:599]: ERROR: io_watch_del: trying to delete already erased entry
0 in the hash(0, 0, (nil)) flags 10)
Feb 22 15:34:29 debian-kamailio kamailio[3184]: : <core> [tcp_read.c:990]:
ERROR: tcpconn_receive: handle_io: io_watch_del failed for 0xb5cf52d8 id 0
fd 0, state 0, flags 0, main fd 0, refcnt 0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[local_timer.c:182]: timer_del called on an inactive timer 0xb5cf5390
((nil), (nil)), flags 0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:811]: releasing con 0xb5cf52d8, state -2, fd=0, id=0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:812]: extra_data (nil)
Feb 22 15:34:29 debian-kamailio kamailio[3184]: WARNING: <core>
[tcp_read.c:970]: WARNING: tcp_receive: handle_io: F_TCPCONN connection
marked as bad: 0xb5cf52d8 id 0 refcnt 0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: : <core> [io_wait.h:584]:
BUG: io_watch_del: invalid fd -1, not in [0, 2)
Feb 22 15:34:29 debian-kamailio kamailio[3185]: DEBUG: <core>
[tcp_read.c:812]: extra_data 0xb5d0c1d8
Feb 22 15:34:29 debian-kamailio kamailio[3193]: DEBUG: <core>
[tcp_main.c:2855]: handle_tcp_child: reader response= b5cf52d8, -2 from 7
Feb 22 15:34:29 debian-kamailio kamailio[3193]: DEBUG: <core>
[tcp_main.c:2855]: handle_tcp_child: reader response= b5cbfe18, -2 from 8
Feb 22 15:34:29 debian-kamailio kamailio[3193]: DEBUG: tls
[tls_server.c:701]: Closing SSL connection
Feb 22 15:34:29 debian-kamailio kamailio[3193]: DEBUG: tls
[tls_server.c:526]: First phase of 2-way handshake completed succesfuly
Feb 22 15:34:29 debian-kamailio kamailio[3184]: : <core> [tcp_read.c:990]:
ERROR: tcpconn_receive: handle_io: io_watch_del failed for 0xb5cf52d8 id 0
fd -1, state -1, flags 0, main fd 0, refcnt 0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[local_timer.c:182]: timer_del called on an inactive timer 0xb5cf5390
((nil), (nil)), flags 0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:811]: releasing con 0xb5cf52d8, state -2, fd=-1, id=0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:812]: extra_data (nil)
Feb 22 15:34:29 debian-kamailio kamailio[3184]: WARNING: <core>
[tcp_read.c:970]: WARNING: tcp_receive: handle_io: F_TCPCONN connection
marked as bad: 0xb5cf52d8 id 0 refcnt -1
Feb 22 15:34:29 debian-kamailio kamailio[3184]: : <core> [io_wait.h:584]:
BUG: io_watch_del: invalid fd -1, not in [0, 2)
Feb 22 15:34:29 debian-kamailio kamailio[3184]: : <core> [tcp_read.c:990]:
ERROR: tcpconn_receive: handle_io: io_watch_del failed for 0xb5cf52d8 id 0
fd -1, state -1, flags 20, main fd 0, refcnt -1
Feb 22 15:34:29 debian-kamailio kamailio[3193]: DEBUG: <core>
[tcp_main.c:2855]: handle_tcp_child: reader response= b5cf52d8, -2 from 7
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[local_timer.c:182]: timer_del called on an inactive timer 0xb5cf5390
((nil), (nil)), flags 0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:811]: releasing con 0xb5cf52d8, state -2, fd=-1, id=0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:812]: extra_data (nil)
Feb 22 15:34:29 debian-kamailio kamailio[3184]: WARNING: <core>
[tcp_read.c:970]: WARNING: tcp_receive: handle_io: F_TCPCONN connection
marked as bad: 0xb5cf52d8 id 0 refcnt -2
Feb 22 15:34:29 debian-kamailio kamailio[3184]: : <core> [io_wait.h:584]:
BUG: io_watch_del: invalid fd -1, not in [0, 2)
Feb 22 15:34:29 debian-kamailio kamailio[3184]: : <core> [tcp_read.c:990]:
ERROR: tcpconn_receive: handle_io: io_watch_del failed for 0xb5cf52d8 id 0
fd -1, state -1, flags 20, main fd 0, refcnt -2
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[local_timer.c:182]: timer_del called on an inactive timer 0xb5cf5390
((nil), (nil)), flags 0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:811]: releasing con 0xb5cf52d8, state -2, fd=-1, id=0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:812]: extra_data (nil)
Feb 22 15:34:29 debian-kamailio kamailio[3184]: WARNING: <core>
[tcp_read.c:970]: WARNING: tcp_receive: handle_io: F_TCPCONN connection
marked as bad: 0xb5cf52d8 id 0 refcnt -2
Feb 22 15:34:29 debian-kamailio kamailio[3184]: : <core> [io_wait.h:584]:
BUG: io_watch_del: invalid fd -1, not in [0, 2)
Feb 22 15:34:29 debian-kamailio kamailio[3193]: DEBUG: <core>
[tcp_main.c:2855]: handle_tcp_child: reader response= b5cf52d8, -2 from 7
Feb 22 15:34:29 debian-kamailio kamailio[3193]: DEBUG: <core>
[tcp_main.c:2855]: handle_tcp_child: reader response= b5cf52d8, -2 from 7
Feb 22 15:34:29 debian-kamailio kamailio[3184]: : <core> [tcp_read.c:990]:
ERROR: tcpconn_receive: handle_io: io_watch_del failed for 0xb5cf52d8 id 0
fd -1, state -1, flags 20, main fd 0, refcnt -2
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[local_timer.c:182]: timer_del called on an inactive timer 0xb5cf5390
((nil), (nil)), flags 0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:811]: releasing con 0xb5cf52d8, state -2, fd=-1, id=0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:812]: extra_data (nil)
Feb 22 15:34:29 debian-kamailio kamailio[3184]: WARNING: <core>
[tcp_read.c:970]: WARNING: tcp_receive: handle_io: F_TCPCONN connection
marked as bad: 0xb5cf52d8 id 0 refcnt -4
Feb 22 15:34:29 debian-kamailio kamailio[3184]: : <core> [io_wait.h:584]:
BUG: io_watch_del: invalid fd -1, not in [0, 2)
Feb 22 15:34:29 debian-kamailio kamailio[3184]: : <core> [tcp_read.c:990]:
ERROR: tcpconn_receive: handle_io: io_watch_del failed for 0xb5cf52d8 id 0
fd -1, state -1, flags 20, main fd 0, refcnt -4
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[local_timer.c:182]: timer_del called on an inactive timer 0xb5cf5390
((nil), (nil)), flags 0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:811]: releasing con 0xb5cf52d8, state -2, fd=-1, id=0
Feb 22 15:34:29 debian-kamailio kamailio[3184]: DEBUG: <core>
[tcp_read.c:812]: extra_data (nil)
Feb 22 15:34:29 debian-kamailio kamailio[3184]: WARNING: <core>
[tcp_read.c:970]: WARNING: tcp_receive: handle_io: F_TCPCONN connection
marked as bad: 0xb5cf52d8 id 0 refcnt -4
Feb 22 15:34:29 debian-kamailio kamailio[3193]: DEBUG: <core>
[tcp_main.c:2855]: handle_tcp_child: reader response= b5cf52d8, -2 from 7
Feb 22 15:34:29 debian-kamailio kamailio[3193]: DEBUG: <core>
[tcp_main.c:2855]: handle_tcp_child: reader response= b5cf52d8, -2 from 7
El 18 de febrero de 2010 15:29, Iñaki Baz Castillo <ibc(a)aliax.net> escribió:
El Miércoles, 17 de Febrero de 2010, Maria Jose
Liberona escribió:
a ip que debo poner en esa linea es la de el
asterisk proximo? o la de
kamailio?
La URI que pones en t_relay es la del destino.
--
Iñaki Baz Castillo <ibc(a)aliax.net>
_______________________________________________
SR-Users-ES mailing list
SR-Users-ES(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users-es