[Kamailio-Users-ES] UA detras de un wireless

troxlinux xserverlinux at gmail.com
Mon Sep 15 21:41:52 CEST 2008


hola lista , tengo un par de preguntas que me están dando broncas ..

- tengo actualmente mi kamailio con dos interfaces de red una con la
192.168.10.1 y la otra es dinámica que viene de mi router dsl , pues tengo
también un wireless dentro de la red con ip 192.168.10.6 el cual registra un
UAC Nokia E65 con una cuenta  sip dada por kamailio , pues el problema viene
después de que un día instale la cuenta y realice un par de llamadas del E65
a otros teléfonos todo bien aqui un OK 200 :) , pero cuando llamo de uno de
los telefonos a mi nokia E65 se queda intentando y después cuelga , ojo pero
el intentando no es un ring , solo se queda marcando y al final se cae la
llamada ..

viendo la traza del sip junto con el SDP , me parece como el servidor
quisiera salir por la interfaz dinámica wan y no la interna ..

el cliente sip del nokia lo registra con una dirección 192.168.2.100 ,
tambien  cuando cree la cuenta fue como 117 at 192.168.10.1 , tendrá esto que
ver ? aunque dentro de mi kamailio.cfg lo tengo como multidomionio, he
creado la cuenta sin el dominio  pero tampoco jala.


cuando llamo desde mi nokia a la pstn no tengo audio marco y entro al cli de
asterisk y veo que la llamada se esta ejecutando ..
creo que tengo problemitas de nat ya que veo el rport por los aguacates ,
corrijanme

### traza sip del 117 a pstn####

U +1.875741 192.168.10.1:5070 -> 192.168.10.1:5060
SIP/2.0 200 OK
*Via: SIP/2.0/UDP
192.168.10.1;branch=z9hG4bK0d82.4b053545.0;i=1;received=192.168.10.1

Via: SIP/2.0/TCP
192.168.2.100:5060;received=192.168.10.6;branch=z9hG4bKr01fjbt0sjav7gukgggmd9r;rport=59632
*
From: <sip:117 at 192.168.10.1 <sip%3A117 at 192.168.10.1>>;tag=51n888dq7hhc72mc5qjd

To: <sip:2685249 at 192.168.10.1
<sip%3A2685249 at 192.168.10.1>;user=phone>;tag=as3035f4c3
Call-ID: gFS48icroIe6RyWCN7M37d9fpw_ccD
CSeq: 36750 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY

Supported: replaces
Contact: <sip:2685249 at 192.168.10.1:5070>
Content-Type: application/sdp
Content-Length: 282

v=0
o=root 3488 3488 IN IP4 192.168.10.1

s=session
c=IN IP4 192.168.10.1
t=0 0
m=audio 16554 RTP/AVP 0 18 98
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:98 telephone-event/8000

a=fmtp:98 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

#
T +0.000218 192.168.10.1:5060 -> 192.168.10.6:59632 [AP]

SIP/2.0 200 OK
Via: SIP/2.0/TCP
192.168.2.100:5060;received=192.168.10.6;branch=z9hG4bKr01fjbt0sjav7gukgggmd9r;rport=59632
From: <sip:117 at 192.168.10.1 <sip%3A117 at 192.168.10.1>>;tag=51n888dq7hhc72mc5qjd

To: <sip:2685249 at 192.168.10.1
<sip%3A2685249 at 192.168.10.1>;user=phone>;tag=as3035f4c3
Call-ID: gFS48icroIe6RyWCN7M37d9fpw_ccD
CSeq: 36750 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY

Supported: replaces
Contact: <sip:2685249 at 192.168.10.1:5070>
Content-Type: application/sdp
Content-Length: 282

v=0
o=root 3488 3488 IN IP4 192.168.10.1

s=session
c=IN IP4 192.168.10.1
t=0 0
m=audio 16554 RTP/AVP 0 18 98
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:98 telephone-event/8000

a=fmtp:98 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv



- segundo tengo mi servidor sip junto con un dsl que me da dirección
dinámica , pero lo tengo registrado con una cuenta dyndns para registrar los
teléfonos con el dominio que me da dyndns y mi gente que tengo afuera se
conecten y puedan hablar con la familia , ahora aqui estoy liado también , a
la hora de definir el usuario que esta en otra ubicacion en el telefono
seria de esta manera:

Servidor SIP : misuperdominio.homelinux.com

aunque mi SIP_DOMAIN  sea el 192.168.10.1 definido en kamctlrc  , aqui
cuando intento registrar un usuario desde otra ubicacion solo veo pasar los
REGISTER pero al final no registra ....

con asterisk no tenia problemas se registraba bien con ese dominio ...

aunque en asterisk tenia en los peers de sip el host=dynamic


###  llamando del 116 al 117 detrás del wireless no contactado ###

interface: any
filter: (ip) and ( port 5060 )
#
U +0.137177 192.168.1.64:5060 -> 192.168.2.100:5060


INVITE sip:117 at 192.168.2.100 <sip%3A117 at 192.168.2.100> SIP/2.0
Via: SIP/2.0/UDP 192.168.10.1;branch=z9hG4bK84bf.76fd90e2.0
Via: SIP/2.0/UDP 192.168.10.19:5063;branch=z9hG4bK-12e3a7e1


From: <sip:116 at 192.168.10.1 <sip%3A116 at 192.168.10.1>>;tag=d062bda6befea971o3
To: <sip:117 at 192.168.10.1 <sip%3A117 at 192.168.10.1>>
Call-ID: ff14558a-f37552dd at 192.168.10.19


CSeq: 102 INVITE
Max-Forwards: 69
Contact: <sip:116 at 192.168.10.19:5063>
Expires: 240
User-Agent: Linksys/SPA942-5.2.8
Content-Length: 395

Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER

Supported: replaces
Content-Type: application/sdp

v=0
o=- 34912 34912 IN IP4 192.168.10.19
s=-
c=IN IP4 192.168.10.19

t=0 0

m=audio 16386 RTP/AVP 0 18 2 4 8 96 97 98 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729a/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:4 G723/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 G726-40/8000
a=rtpmap:97 G726-24/8000


a=rtpmap:98 G726-16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:30
a=sendrecv

#
U +0.999810 192.168.1.64:5060 -> 192.168.2.100:5060


INVITE sip:117 at 192.168.2.100 <sip%3A117 at 192.168.2.100> SIP/2.0
Via: SIP/2.0/UDP 192.168.10.1;branch=z9hG4bK84bf.76fd90e2.0
Via: SIP/2.0/UDP 192.168.10.19:5063;branch=z9hG4bK-12e3a7e1


From: <sip:116 at 192.168.10.1 <sip%3A116 at 192.168.10.1>>;tag=d062bda6befea971o3
To: <sip:117 at 192.168.10.1 <sip%3A117 at 192.168.10.1>>
Call-ID: ff14558a-f37552dd at 192.168.10.19


CSeq: 102 INVITE
Max-Forwards: 69
Contact: <sip:116 at 192.168.10.19:5063>
Expires: 240
User-Agent: Linksys/SPA942-5.2.8
Content-Length: 395

Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER

Supported: replaces
Content-Type: application/sdp

v=0
o=- 34912 34912 IN IP4 192.168.10.19
s=-
c=IN IP4 192.168.10.19

t=0 0

m=audio 16386 RTP/AVP 0 18 2 4 8 96 97 98 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729a/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:4 G723/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 G726-40/8000
a=rtpmap:97 G726-24/8000


a=rtpmap:98 G726-16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:30
a=sendrecv

#
U +1.999626 192.168.1.64:5060 -> 192.168.2.100:5060


INVITE sip:117 at 192.168.2.100 <sip%3A117 at 192.168.2.100> SIP/2.0
Via: SIP/2.0/UDP 192.168.10.1;branch=z9hG4bK84bf.76fd90e2.0
Via: SIP/2.0/UDP 192.168.10.19:5063;branch=z9hG4bK-12e3a7e1


From: <sip:116 at 192.168.10.1 <sip%3A116 at 192.168.10.1>>;tag=d062bda6befea971o3
To: <sip:117 at 192.168.10.1 <sip%3A117 at 192.168.10.1>>
Call-ID: ff14558a-f37552dd at 192.168.10.19


CSeq: 102 INVITE
Max-Forwards: 69
Contact: <sip:116 at 192.168.10.19:5063>
Expires: 240
User-Agent: Linksys/SPA942-5.2.8
Content-Length: 395

Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER

Supported: replaces
Content-Type: application/sdp

v=0
o=- 34912 34912 IN IP4 192.168.10.19
s=-
c=IN IP4 192.168.10.19

t=0 0

m=audio 16386 RTP/AVP 0 18 2 4 8 96 97 98 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729a/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:4 G723/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 G726-40/8000
a=rtpmap:97 G726-24/8000


a=rtpmap:98 G726-16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:30
a=sendrecv

#
U +1.099911 192.168.10.1:5060 -> 192.168.10.1:5070


INVITE sip:u117 at 192.168.10.1:5070 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.1;branch=z9hG4bK84bf.76fd90e2.1

Via: SIP/2.0/UDP 192.168.10.19:5063;branch=z9hG4bK-12e3a7e1

From: <sip:116 at 192.168.10.1 <sip%3A116 at 192.168.10.1>>;tag=d062bda6befea971o3
To: <sip:117 at 192.168.10.1 <sip%3A117 at 192.168.10.1>>
Call-ID: ff14558a-f37552dd at 192.168.10.19


CSeq: 102 INVITE
Max-Forwards: 69
Contact: <sip:116 at 192.168.10.19:5063>
Expires: 240
User-Agent: Linksys/SPA942-5.2.8
Content-Length: 395

Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER

Supported: replaces
Content-Type: application/sdp

v=0
o=- 34912 34912 IN IP4 192.168.10.19
s=-
c=IN IP4 192.168.10.19

t=0 0

m=audio 16386 RTP/AVP 0 18 2 4 8 96 97 98 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729a/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:4 G723/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 G726-40/8000
a=rtpmap:97 G726-24/8000


a=rtpmap:98 G726-16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:30
a=sendrecv

#
U +0.000729 192.168.10.1:5070 -> 192.168.10.1:5060


SIP/2.0 100 Trying
Via: SIP/2.0/UDP
192.168.10.1;branch=z9hG4bK84bf.76fd90e2.1;received=192.168.10.1
Via: SIP/2.0/UDP 192.168.10.19:5063;branch=z9hG4bK-12e3a7e1


From: <sip:116 at 192.168.10.1 <sip%3A116 at 192.168.10.1>>;tag=d062bda6befea971o3
To: <sip:117 at 192.168.10.1 <sip%3A117 at 192.168.10.1>>
Call-ID: ff14558a-f37552dd at 192.168.10.19


CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:u117 at 192.168.10.1:5070>


Content-Length: 0


#
U +0.000500 192.168.10.1:5070 -> 192.168.10.1:5060
SIP/2.0 200 OK

Via: SIP/2.0/UDP
192.168.10.1;branch=z9hG4bK84bf.76fd90e2.1;received=192.168.10.1

Via: SIP/2.0/UDP 192.168.10.19:5063;branch=z9hG4bK-12e3a7e1
From: <sip:116 at 192.168.10.1 <sip%3A116 at 192.168.10.1>>;tag=d062bda6befea971o3
To: <sip:117 at 192.168.10.1 <sip%3A117 at 192.168.10.1>>;tag=as1650bafc


Call-ID: ff14558a-f37552dd at 192.168.10.19
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY

Supported: replaces

Contact: <sip:u117 at 192.168.10.1:5070>
Content-Type: application/sdp
Content-Length: 285

v=0
o=root 3488 3488 IN IP4 192.168.10.1


s=session
c=IN IP4 192.168.10.1
t=0 0
m=audio 11414 RTP/AVP 0 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000


a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

#
U +0.000716 192.168.10.1:5060 -> 192.168.10.19:5063


SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.10.19:5063;branch=z9hG4bK-12e3a7e1
From: <sip:116 at 192.168.10.1 <sip%3A116 at 192.168.10.1>>;tag=d062bda6befea971o3
To: <sip:117 at 192.168.10.1 <sip%3A117 at 192.168.10.1>>;tag=as1650bafc


Call-ID: ff14558a-f37552dd at 192.168.10.19
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY

Supported: replaces

Contact: <sip:u117 at 192.168.10.1:5070>
Content-Type: application/sdp
Content-Length: 285

v=0
o=root 3488 3488 IN IP4 192.168.10.1


s=session
c=IN IP4 192.168.10.1
t=0 0
m=audio 11414 RTP/AVP 0 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000


a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv


en espera de sus comentarios ..

saludoss

Dios les bendiga

rickygm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/sr-users-es/attachments/20080915/d32f7b8a/attachment-0002.htm 


More information about the Users-es mailing list