El día 12 de marzo de 2009 2:48, Iñaki Baz Castillo <ibc(a)aliax.net> escribió:
Saúl tiene razón, desde la versión (no recuerdo cuál) de OpenSer, la
variable de color lleva al valor entre paréntesis necesariamente.
Por otra parte, ya te sugerí que mirares el error que te daba Kamailio
al poner Cxx tal y como lo ponías. Lo que no entiendo es porque no lo
has comprobado.
Razon nunca se me ocurrió consultar la web para revisar la docu ,
pero lo he anexado lo raro es que no lo colorea dentro del
opensips.cfg , por otro lado revisando el script y dándole vuelta y
leyendo un poco las cosas que han cambiando en esta versión no le
encuentro porque no jala ...
ahora planteo esto que he notado ... por ejemplo si yo marco una
extensión que no esta dentro de mi plan de llamadas o mejor dicho no
existe y veo en los de opensip ... veo que la manda a asterisk
/sbin/opensips[9900]: --- ENVIANDO A ASTERISK ---
Mar 12 09:33:06 twoxserver /sbin/opensips[9895]: --- ENVIANDO A ASTERISK ---
Mar 12 09:33:16 twoxserver /sbin/opensips[9896]: --- ENVIANDO A ASTERISK ---
claramente si marco una extensión me envia al buzon de asterisk ..
es como que si el t_relay lo estuviera rutando a asterisk y no a opensips ..
aquí envió un log de sip de una extensión que no existe
U +2.717416 192.168.10.27:5060 -> 192.168.10.3:5060
INVITE sip:740@192.168.10.3 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.27:5060;branch=z9hG4bKf38f7051abf7f1ef
From: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
To: <sip:740@192.168.10.3>
Contact: <sip:111@192.168.10.27:5060;transport=udp>
Supported: replaces, timer, path
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 44224 INVITE
User-Agent: Grandstream BT200 1.1.6.44
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK
Content-Type: application/sdp
Content-Length: 285
v=0
o=111 8000 8000 IN IP4 192.168.10.27
s=SIP Call
c=IN IP4 192.168.10.27
t=0 0
m=audio 5090 RTP/AVP 18 4 3 0 101
a=sendrecv
a=rtpmap:18 G729/8000
a=rtpmap:4 G723/8000
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
#
U +0.000425 192.168.10.3:5060 -> 192.168.10.27:5060
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.10.27:5060;branch=z9hG4bKf38f7051abf7f1ef
From: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
To: <sip:740@192.168.10.3>;tag=d4e9e39d125187795ad79ae40f9b4f9f.14eb
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 44224 INVITE
Proxy-Authenticate: Digest realm="192.168.10.3",
nonce="49b92bf900000012ba64d4cfd895eddb1b73effc219d4bd4"
Server: OpenSIPS (1.4.4-notls (i386/linux))
Content-Length: 0
#
U +0.021219 192.168.10.27:5060 -> 192.168.10.3:5060
ACK sip:740@192.168.10.3 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.27:5060;branch=z9hG4bKf38f7051abf7f1ef
From: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
To: <sip:740@192.168.10.3>;tag=d4e9e39d125187795ad79ae40f9b4f9f.14eb
Contact: <sip:111@192.168.10.27:5060;transport=udp>
Supported: path
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 44224 ACK
User-Agent: Grandstream BT200 1.1.6.44
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK
Content-Length: 0
#
U +0.020721 192.168.10.27:5060 -> 192.168.10.3:5060
INVITE sip:740@192.168.10.3 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.27:5060;branch=z9hG4bKe34efcf81992836f
From: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
To: <sip:740@192.168.10.3>
Contact: <sip:111@192.168.10.27:5060;transport=udp>
Supported: replaces, timer, path
Proxy-Authorization: Digest username="111", realm="192.168.10.3",
algorithm=MD5, uri="sip:740@192.168.10.3",
nonce="49b92bf900000012ba64d4cfd895eddb1b73effc219d4bd4",
response="38e44247c08e598055e25b05c628eeff"
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 44225 INVITE
User-Agent: Grandstream BT200 1.1.6.44
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK
Content-Type: application/sdp
Content-Length: 285
v=0
o=111 8000 8001 IN IP4 192.168.10.27
s=SIP Call
c=IN IP4 192.168.10.27
t=0 0
m=audio 5090 RTP/AVP 18 4 3 0 101
a=sendrecv
a=rtpmap:18 G729/8000
a=rtpmap:4 G723/8000
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
#
U +0.001448 192.168.10.3:5060 -> 192.168.10.27:5060
SIP/2.0 100 Giving a try
Via: SIP/2.0/UDP 192.168.10.27:5060;branch=z9hG4bKe34efcf81992836f
From: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
To: <sip:740@192.168.10.3>
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 44225 INVITE
Server: OpenSIPS (1.4.4-notls (i386/linux))
Content-Length: 0
#
U +0.000168 192.168.10.3:5060 -> 192.168.10.3:5070
INVITE sip:740@192.168.10.3:5070 SIP/2.0
Record-Route: <sip:192.168.10.3;lr=on;ftag=e8ff2fe7c9f64f0f>
Via: SIP/2.0/UDP 192.168.10.3;branch=z9hG4bK8ca2.523ef1f5.0
Via: SIP/2.0/UDP 192.168.10.27:5060;branch=z9hG4bKe34efcf81992836f
From: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
To: <sip:740@192.168.10.3>
Contact: <sip:111@192.168.10.27:5060;transport=udp>
Supported: replaces, timer, path
Proxy-Authorization: Digest username="111", realm="192.168.10.3",
algorithm=MD5, uri="sip:740@192.168.10.3",
nonce="49b92bf900000012ba64d4cfd895eddb1b73effc219d4bd4",
response="38e44247c08e598055e25b05c628eeff"
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 44225 INVITE
User-Agent: Grandstream BT200 1.1.6.44
Max-Forwards: 69
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK
Content-Type: application/sdp
Content-Length: 285
v=0
o=111 8000 8001 IN IP4 192.168.10.27
s=SIP Call
c=IN IP4 192.168.10.27
t=0 0
m=audio 5090 RTP/AVP 18 4 3 0 101
a=sendrecv
a=rtpmap:18 G729/8000
a=rtpmap:4 G723/8000
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
#
U +0.000963 192.168.10.3:5070 -> 192.168.10.3:5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
192.168.10.3;branch=z9hG4bK8ca2.523ef1f5.0;received=192.168.10.3
Via: SIP/2.0/UDP 192.168.10.27:5060;branch=z9hG4bKe34efcf81992836f
Record-Route: <sip:192.168.10.3;lr=on;ftag=e8ff2fe7c9f64f0f>
From: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
To: <sip:740@192.168.10.3>
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 44225 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:740@192.168.10.3:5070>
Content-Length: 0
#
U +0.000369 192.168.10.3:5070 -> 192.168.10.3:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.10.3;branch=z9hG4bK8ca2.523ef1f5.0;received=192.168.10.3
Via: SIP/2.0/UDP 192.168.10.27:5060;branch=z9hG4bKe34efcf81992836f
Record-Route: <sip:192.168.10.3;lr=on;ftag=e8ff2fe7c9f64f0f>
From: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
To: <sip:740@192.168.10.3>;tag=as082997d6
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 44225 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:740@192.168.10.3:5070>
Content-Type: application/sdp
Content-Length: 285
v=0
o=root 9240 9240 IN IP4 192.168.10.3
s=session
c=IN IP4 192.168.10.3
t=0 0
m=audio 10772 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.000211 192.168.10.3:5060 -> 192.168.10.27:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.10.27:5060;branch=z9hG4bKe34efcf81992836f
Record-Route: <sip:192.168.10.3;lr=on;ftag=e8ff2fe7c9f64f0f>
From: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
To: <sip:740@192.168.10.3>;tag=as082997d6
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 44225 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:740@192.168.10.3:5070>
Content-Type: application/sdp
Content-Length: 285
v=0
o=root 9240 9240 IN IP4 192.168.10.3
s=session
c=IN IP4 192.168.10.3
t=0 0
m=audio 10772 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.052319 192.168.10.27:5060 -> 192.168.10.3:5060
ACK sip:740@192.168.10.3:5070 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.27:5060;branch=z9hG4bKb3e5200b3500aa06
Route: <sip:192.168.10.3;lr=on;ftag=e8ff2fe7c9f64f0f>
From: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
To: <sip:740@192.168.10.3>;tag=as082997d6
Contact: <sip:111@192.168.10.27:5060;transport=udp>
Supported: path
Proxy-Authorization: Digest username="111", realm="192.168.10.3",
algorithm=MD5, uri="sip:740@192.168.10.3",
nonce="49b92bf900000012ba64d4cfd895eddb1b73effc219d4bd4",
response="38e44247c08e598055e25b05c628eeff"
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 44225 ACK
User-Agent: Grandstream BT200 1.1.6.44
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK
Content-Length: 0
#
U +0.000329 192.168.10.3:5060 -> 192.168.10.3:5070
ACK sip:740@192.168.10.3:5070 SIP/2.0
Record-Route: <sip:192.168.10.3;lr=on;ftag=e8ff2fe7c9f64f0f>
Via: SIP/2.0/UDP 192.168.10.3;branch=z9hG4bK8ca2.523ef1f5.2
Via: SIP/2.0/UDP 192.168.10.27:5060;branch=z9hG4bKb3e5200b3500aa06
From: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
To: <sip:740@192.168.10.3>;tag=as082997d6
Contact: <sip:111@192.168.10.27:5060;transport=udp>
Supported: path
Proxy-Authorization: Digest username="111", realm="192.168.10.3",
algorithm=MD5, uri="sip:740@192.168.10.3",
nonce="49b92bf900000012ba64d4cfd895eddb1b73effc219d4bd4",
response="38e44247c08e598055e25b05c628eeff"
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 44225 ACK
User-Agent: Grandstream BT200 1.1.6.44
Max-Forwards: 69
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK
Content-Length: 0
#
U +0.000143 192.168.10.3:5070 -> 192.168.10.3:5060
BYE sip:111@192.168.10.27:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.10.3:5070;branch=z9hG4bK3a08bce3;rport
Route: <sip:192.168.10.3;lr=on;ftag=e8ff2fe7c9f64f0f>
From: <sip:740@192.168.10.3>;tag=as082997d6
To: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 102 BYE
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0
#
U +0.000235 192.168.10.3:5060 -> 192.168.10.27:5060
BYE sip:111@192.168.10.27:5060;transport=udp SIP/2.0
Record-Route: <sip:192.168.10.3;lr=on;ftag=as082997d6>
Via: SIP/2.0/UDP 192.168.10.3;branch=z9hG4bK0a8a.f648d437.0
Via: SIP/2.0/UDP
192.168.10.3:5070;received=192.168.10.3;branch=z9hG4bK3a08bce3;rport=5070
From: <sip:740@192.168.10.3>;tag=as082997d6
To: "lucy" <sip:111@192.168.10.3>;tag=e8ff2fe7c9f64f0f
Call-ID: 6d19527e611b6754(a)192.168.10.27
CSeq: 102 BYE
User-Agent: Asterisk PBX
Max-Forwards: 69
Content-Length: 0
saludoss
--
rickygm
http://gnuforever.homelinux.com