BUENAS TARDES...
Os pongo el log que saco del servidor syslog, a ver si me podeis decir
algo, por que hasta donde yo llego, no veo el parametro CallerID por
ningun lado en la trama:
TRAMA SACADA DEL SERVIDOR SYSLOG:
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Kill ICT transaction 9
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Deleting SDP in the dialog
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Deleting call dialog (1:1)
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Kill NIST transaction 8
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Unregister event listener Call
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Deleting Call object 1 port 1:0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Call::processMedia, Call stopped
on port 1:0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] RTP stop on port 1 local rtp port:
5013 sdp:0x1001cac0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Vinetic22::disableLEC, LEC is
disabled on port 1:0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] RTPStat on port 1/0: sent 482,
loss 0, jitter 0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Vinetic22::disableLEC, LEC is
disabled on port 1:0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Vinetic::stopTone, Stop tone on
port 1, direction 0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] ATACtrl::processCallCompleted,
FXO Port 1:0 On-hook
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] ATACtrl::processCallCompleted on
port 1:0, status = CALL_IDLE/CALL_IDLE
HT503: [00:0B:82:1B:A7:C6][1.0.1.57]
SipSigControl::processCallCompleted on port 1:0, status = CALL_ENDING/
CALL_IDLE
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Dispatching event: 19
(CALL_COMPLETED) on port 1:0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Vinetic22::disableLEC, LEC is
disabled on port 1:0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Vinetic::stopTone, Stop tone on
port 1, direction 0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57]
ATACtrl::processSigRemoteDisconnect, FXO Port 1:0 On-hook
HT503: [00:0B:82:1B:A7:C6][1.0.1.57]
ATACtrl::processSigRemoteDisconnect on port 1:0, status =
CALL_COMMUNICATION/CALL_IDLE
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Dispatching event: 45
(SIG_REMOTE_DISCONNECT) on port 1:0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Active call dialogs (1): 1
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Active call dialogs (1): 1
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Received SIP request BYE (1)
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] CALL_STARTED, port 1:0, evtPort
1:0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] ATACtrl::processCallStarted, FXO
Port 1:0 Off-hook
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] ATACtrl::processCallStarted on
port 1:0, Cancel PSTN Hangup Detect Timer
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] ATACtrl::processCallStarted on
port 1:0, Cancel Remote RingNoAnswer Timer
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Vinetic::stopTone, Stop tone on
port 1, direction 0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] ATACtrl::processCallStarted on
port 1:0, status = CALL_RINGING/CALL_IDLE, isCaller 1
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Dispatching event: 11
(CALL_STARTED) on port 1:0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] RTP start on port 1, SRTP status
NO_SRTP
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] RTP start on port 1, remote
target
192.168.0.99:16834, local rtp port:5013
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] VAD is disabled on port 1:0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Vinetic22::enableLEC, WLEC is
enabled on port 1:0
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Vinetic22::startRTP, RTP encoder
type is 8@20, port 1:0, dev 0:1 dtmf:1-1-100
HT503: [00:0B:82:1B:A7:C6][1.0.1.57] Vinetic22::disableLEC, LEC is
disabled on port 1:0
TRAMA SACADA DE UN SIP SET DEBUGG:
From: "asterisk" <
sip:aste...@192.168.0.99>;tag=as5f0cb736
To: <sip:1...@192.168.0.104:5060;transport=udp>;tag=57b81574a8c8267f
Call-ID:
6f3b88433eb74a55...@192.168.0.99
CSeq: 102 OPTIONS
User-Agent: Grandstream GXP1200 1.1.6.44
Contact: <sip:1...@192.168.0.104:5060;transport=udp>
Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
Really destroying SIP dialog
'
6f3b88433eb74a55...@192.168.0.99' Method: OPTIONS
Asterisk*CLI>
<--- SIP read from
192.168.0.199:5062 --->
INVITE
sip:60...@192.168.0.99:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.199:5062;branch=z9hG4bK1785428736;rport
From: "6005" <
sip:60...@192.168.0.99>;tag=845277525
To: <
sip:60...@192.168.0.99:5060>
Call-ID:
12898507...@192.168.0.199
CSeq: 40 INVITE
Contact: <
sip:60...@192.168.0.199:5062>
Max-Forwards: 70
User-Agent: Grandstream HT-503 V1.1B 1.0.1.57
Supported: replaces, path, timer
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO,
REFER, UPDATE
Content-Type: application/sdp
Accept: application/sdp, application/dtmf-relay
Content-Length: 389
v=0
o=6005 8002 8000 IN IP4 192.168.0.199
s=SIP Call
c=IN IP4 192.168.0.199
t=0 0
m=audio 5013 RTP/AVP 0 8 4 18 2 97 102 100
a=sendrecv
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:2 G726-32/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=20
a=rtpmap:102 G729E/8000
a=rtpmap:100 AAL2-G726-16/8000
<------------->
--- (14 headers 18 lines) ---
Sending to 192.168.0.199 : 5062 (NAT)
Using INVITE request as basis request -
12898507...@192.168.0.199
Asterisk*CLI>
<--- Reliably Transmitting (no NAT) to
192.168.0.199:5062 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP
192.168.0.199:5062;branch=z9hG4bK1785428736;received=192.168.0.199;rport=5062
From: "6005" <
sip:60...@192.168.0.99>;tag=845277525
To: <
sip:60...@192.168.0.99:5060>;tag=as76f4ed6b
Call-ID:
12898507...@192.168.0.199
CSeq: 40 INVITE
User-Agent: Damocles PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO
Supported: replaces
Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk",
nonce="3c77ea78"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '
12898507...@192.168.0.199'
in 32000 ms (Method: INVITE)
Found user '6005'
Asterisk*CLI>
<--- SIP read from
192.168.0.199:5062 --->
ACK
sip:60...@192.168.0.99:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.199:5062;branch=z9hG4bK1785428736;rport
From: "6005" <
sip:60...@192.168.0.99>;tag=845277525
To: <
sip:60...@192.168.0.99:5060>;tag=as76f4ed6b
Call-ID:
12898507...@192.168.0.199
CSeq: 40 ACK
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
Asterisk*CLI>
<--- SIP read from
192.168.0.199:5062 --->
INVITE
sip:60...@192.168.0.99:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.199:5062;branch=z9hG4bK477593693;rport
From: "6005" <
sip:60...@192.168.0.99>;tag=845277525
To: <
sip:60...@192.168.0.99:5060>
Call-ID:
12898507...@192.168.0.199
CSeq: 41 INVITE
Contact: <
sip:60...@192.168.0.199:5062>
Proxy-Authorization: Digest username="6005", realm="asterisk",
nonce="3c77ea78", uri="
sip:60...@192.168.0.99:5060",
response="047f20e64d161971960c3bd4d21d242e", algorithm=MD5
Max-Forwards: 70
User-Agent: Grandstream HT-503 V1.1B 1.0.1.57
Supported: replaces, path, timer
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO,
REFER, UPDATE
Content-Type: application/sdp
Accept: application/sdp, application/dtmf-relay
Content-Length: 389
v=0
o=6005 8002 8000 IN IP4 192.168.0.199
s=SIP Call
c=IN IP4 192.168.0.199
t=0 0
m=audio 5013 RTP/AVP 0 8 4 18 2 97 102 100
a=sendrecv
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:2 G726-32/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=20
a=rtpmap:102 G729E/8000
a=rtpmap:100 AAL2-G726-16/8000
<------------->
--- (15 headers 18 lines) ---
Sending to 192.168.0.199 : 5062 (NAT)
Using INVITE request as basis request -
12898507...@192.168.0.199
Found user '6005'
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 4
Found RTP audio format 18
Found RTP audio format 2
Found RTP audio format 97
Found RTP audio format 102
Found RTP audio format 100
Peer audio RTP is at port
192.168.0.199:5013
Found audio description format PCMU for ID 0
Found audio description format PCMA for ID 8
Found audio description format G723 for ID 4
Found audio description format G729 for ID 18
Found audio description format G726-32 for ID 2
Found audio description format iLBC for ID 97
Found unknown media description format G729E for ID 102
Found unknown media description format AAL2-G726-16 for ID 100
Capabilities: us - 0x10d (g723|ulaw|alaw|g729), peer - audio=0xd0d
(g723|ulaw|alaw|g726|g729|ilbc)/video=0x0 (nothing), combined - 0x10d
(g723|ulaw|alaw|g729)
Non-codec capabilities (dtmf): us - 0x0 (nothing), peer - 0x0
(nothing), combined - 0x0 (nothing)
Peer audio RTP is at port
192.168.0.199:5013
Looking for 6005 in incoming6005 (domain 192.168.0.99)
list_route: hop: <
sip:60...@192.168.0.199:5062>
Asterisk*CLI>
<--- Transmitting (NAT) to
192.168.0.199:5062 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
192.168.0.199:5062;branch=z9hG4bK477593693;received=192.168.0.199;rport=5062
From: "6005" <
sip:60...@192.168.0.99>;tag=845277525
To: <
sip:60...@192.168.0.99:5060>
Call-ID:
12898507...@192.168.0.199
CSeq: 41 INVITE
User-Agent: Damocles PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO
Supported: replaces
Contact: <
sip:60...@192.168.0.99>
Content-Length: 0
<------------>
-- Executing [6005@incoming6005:1] NoOp("SIP/6005-b752b128",
"Numero del llamante = 6005 -- CallerID Name = 6005") in new stack
-- Executing [6005@incoming6005:2] Dial("SIP/6005-b752b128", "SIP/
104|30|tTr") in new stack
Audio is at 192.168.0.99 port 19016
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to
192.168.0.104:5060:
INVITE sip:1...@192.168.0.104:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.0.99:5060;branch=z9hG4bK29a977b4;rport
From: "6005" <
sip:60...@192.168.0.99>;tag=as64e9bb26
To: <sip:1...@192.168.0.104:5060;transport=udp>
Contact: <
sip:60...@192.168.0.99>
Call-ID:
5ddb398a2fc9aff5...@192.168.0.99
CSeq: 102 INVITE
User-Agent: Damocles PBX
Max-Forwards: 70
Date: Mon, 03 May 2010 12:19:41 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO
Supported: replaces
Content-Type: application/sdp
Content-Length: 262
v=0
o=root 2578 2578 IN IP4 192.168.0.99
s=session
c=IN IP4 192.168.0.99
t=0 0
m=audio 19016 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
---
-- Called 104
Asterisk*CLI>
<--- Transmitting (NAT) to
192.168.0.199:5062 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP
192.168.0.199:5062;branch=z9hG4bK477593693;received=192.168.0.199;rport=5062
From: "6005" <
sip:60...@192.168.0.99>;tag=845277525
To: <
sip:60...@192.168.0.99:5060>;tag=as386ba937
Call-ID:
12898507...@192.168.0.199
CSeq: 41 INVITE
User-Agent: Damocles PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO
Supported: replaces
Contact: <
sip:60...@192.168.0.99>
Content-Length: 0
<------------>
Asterisk*CLI>
<--- SIP read from
192.168.0.104:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.99:5060;branch=z9hG4bK29a977b4;rport
From: "6005" <
sip:60...@192.168.0.99>;tag=as64e9bb26
To: <sip:1...@192.168.0.104:5060;transport=udp>
Call-ID:
5ddb398a2fc9aff5...@192.168.0.99
CSeq: 102 INVITE
User-Agent: Grandstream GXP1200 1.1.6.44
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Asterisk*CLI>
<--- SIP read from
192.168.0.104:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.0.99:5060;branch=z9hG4bK29a977b4;rport
From: "6005" <
sip:60...@192.168.0.99>;tag=as64e9bb26
To: <sip:1...@192.168.0.104:5060;transport=udp>;tag=4196070242b10614
Call-ID:
5ddb398a2fc9aff5...@192.168.0.99
CSeq: 102 INVITE
User-Agent: Grandstream GXP1200 1.1.6.44
Contact: <sip:1...@192.168.0.104:5060;transport=udp>
Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
Content-Length: 0
La verdad es que no veo el CallerID por ningunlado en ninguna de las
dos tramas...
GRACIAS...
UN SALUDO...
Isaac
<------------->
--- (10 headers 0 lines) ---
-- SIP/104-082f0080 is ringing
Asterisk*CLI> sip set debug off
SIP Debugging Disabled
== Spawn extension (incoming6005, 6005, 2) exited non-zero on 'SIP/
6005-b752b128'
> - Para anular la suscripción: asterisk-es...@googlegroups.com- Ocultar texto de la cita -