Hola, gracias por tu respuesta aqui te dejo el log del SIP DEBUG lo puse en dos partes porque me aparece demasiado log.
Via: SIP/2.0/UDP x.x.x.x:44786;branch=z9hG4bK-d8754z-75d8daeda92539c1-1---d8754z-;received=x.x.x.x
From: <sip:101@midominio.dyndns.org:5060;transport=UDP>;tag=ef4fe13a
To: <sip:102@midominio.dyndns.org:5060;transport=UDP>;tag=as1be4137f
Call-ID: YzM3YTAxMDVmZDk2ZDZjZWY4MzVmOTg3NWU5ZmZhMWE.
CSeq: 2 INVITE
Server: Asterisk PBX 11.4.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
<--- Transmitting (no NAT) to x.x.x.x:44786 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP x.x.x.x:44786;branch=z9hG4bK-d8754z-75d8daeda92539c1-1---d8754z-;received=x.x.x.x
From: <sip:101@midominio.dyndns.org:5060;transport=UDP>;tag=ef4fe13a
To: <sip:102@midominio.dyndns.org:5060;transport=UDP>;tag=as1be4137f
Call-ID: YzM3YTAxMDVmZDk2ZDZjZWY4MzVmOTg3NWU5ZmZhMWE.
CSeq: 2 CANCEL
Server: Asterisk PBX 11.4.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '6cb6e2831ed1a194710a404b54822727@10.1.2.10:5060' in 21952 ms (Method: INVITE)
== Spawn extension (internas, 102, 1) exited non-zero on 'SIP/101-00000000'
Retransmitting #4 (no NAT) to x.x.x.x:5060:
INVITE sip:102@x.x.x.x:5060;rinstance=b0290732f7a86536;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.1.2.10:5060;branch=z9hG4bK7005bb37
Max-Forwards: 70
From: <sip:Jose@10.1.2.10>;tag=as0faa60c0
To: <sip:102@x.x.x.x:5060;rinstance=b0290732f7a86536;transport=UDP>
Contact: <sip:Jose@10.1.2.10:5060>
Call-ID: 6cb6e2831ed1a194710a404b54822727@10.1.2.10:5060
CSeq: 102 INVITE
User-Agent: Asterisk PBX 11.4.0
Date: Thu, 20 Feb 2014 22:42:59 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 1915
v=0
o=root 918471766 918471766 IN IP4 10.1.2.10
s=Asterisk PBX 11.4.0
c=IN IP4 10.1.2.10
b=CT:384
t=0 0
m=audio 13160 RTP/AVP 0 4 3 3 8 8 112 5 7 18 110 97 111 9 102 115 116 117 96 100 107 108 10 118 119 101
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=fmtp:4 annexa=no
a=rtpmap:3 GSM/8000
a=rtpmap:3 GSM/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:112 AAL2-G726-32/8000
a=rtpmap:5 DVI4/8000
a=rtpmap:7 LPC/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:110 speex/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:111 G726-32/8000
a=rtpmap:9 G722/8000
a=rtpmap:102 G7221/16000
a=fmtp:102 bitrate=32000
a=rtpmap:115 G7221/32000
a=fmtp:115 bitrate=48000
a=rtpmap:116 G719/48000
a=fmtp:116 bitrate=64000
a=rtpmap:117 speex/16000
a=rtpmap:96 SILK/8000
a=fmtp:96 maxaveragebitrate=10000
a=fmtp:96 usedtx=0
a=fmtp:96 useinbandfec=1
a=rtpmap:100 SILK/12000
a=fmtp:100 maxaveragebitrate=12000
a=fmtp:100 usedtx=0
a=fmtp:100 useinbandfec=1
a=rtpmap:107 SILK/16000
a=fmtp:107 maxaveragebitrate=20000
a=fmtp:107 usedtx=0
a=fmtp:107 useinbandfec=1
a=rtpmap:108 SILK/24000
a=fmtp:108 maxaveragebitrate=30000
a=fmtp:108 usedtx=0
a=fmtp:108 useinbandfec=1
a=rtpmap:10 L16/8000
a=rtpmap:118 L16/16000
a=rtpmap:119 speex/32000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
m=video 18498 RTP/AVP 31 34 34 98 99 104
a=rtpmap:31 H261/90000
a=rtpmap:34 H263/90000
a=fmtp:34 F=0;I=0;J=0;T=0;K=0;N=0;BPP=0;HRD=0
a=rtpmap:34 H263/90000
a=fmtp:34 F=0;I=0;J=0;T=0;K=0;N=0;BPP=0;HRD=0
a=rtpmap:98 h263-1998/90000
a=fmtp:98 F=0;I=0;J=0;T=0;K=0;N=0;BPP=0;HRD=0
a=rtpmap:99 H264/90000
a=fmtp:99 redundant-pic-cap=0;parameter-add=0;packetization-mode=0;level-asymmetry-allowed=0
a=rtpmap:104 MP4V-ES/90000
a=sendrecv
m=text 18452 RTP/AVP 105 106
a=rtpmap:105 RED/1000
a=fmtp:105 106/106/106
a=rtpmap:106 T140/1000
a=sendrecv
<--- SIP read from UDP:x.x.x.x:44786 --->
PUBLISH sip:101@midominio.dyndns.org:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP x.x.x.x:44786;branch=z9hG4bK-d8754z-a781af2eda53ac08-1---d8754z-
Max-Forwards: 70
Contact: <sip:101@x.x.x.x:44786;transport=UDP>
To: <sip:101@midominio.dyndns.org:5060;transport=UDP>
From: <sip:101@midominio.dyndns.org:5060;transport=UDP>;tag=ec370725
Call-ID: ZWYxMDI1MTQ0YzljMjFjYjgxMTcxMWQ3ODU1ZGQ2MzI.
CSeq: 1 PUBLISH
Expires: 600
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/pidf+xml
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
User-Agent: Z 3.2.21357 r21367
Event: presence
Allow-Events: presence, kpml
Content-Length: 272
<?xml version="1.0" encoding="UTF-8"?>
<presence xmlns="urn:ietf:params:xml:ns:pidf" entity="sip:101@midominio.dyndns.org:5060;transport=UDP"> <tuple id="101" > <status><basic>open</basic></status> <note>Online</note> </tuple>
</presence>
<------------->
--- (16 headers 3 lines) ---
Sending to x.x.x.x:44786 (no NAT)
<--- Transmitting (no NAT) to x.x.x.x:44786 --->
SIP/2.0 489 Bad Event
Via: SIP/2.0/UDP x.x.x.x:44786;branch=z9hG4bK-d8754z-a781af2eda53ac08-1---d8754z-;received=x.x.x.x
From: <sip:101@midominio.dyndns.org:5060;transport=UDP>;tag=ec370725
To: <sip:101@midominio.dyndns.org:5060;transport=UDP>;tag=as67ebbcaf
Call-ID: ZWYxMDI1MTQ0YzljMjFjYjgxMTcxMWQ3ODU1ZGQ2MzI.
CSeq: 1 PUBLISH
Server: Asterisk PBX 11.4.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
Really destroying SIP dialog 'ZWYxMDI1MTQ0YzljMjFjYjgxMTcxMWQ3ODU1ZGQ2MzI.' Method: PUBLISH
<--- SIP read from UDP:x.x.x.x:44786 --->
SUBSCRIBE sip:101@midominio.dyndns.org:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP x.x.x.x:44786;branch=z9hG4bK-d8754z-50de3ecfd6b237b6-1---d8754z-
Max-Forwards: 70
Contact: <sip:101@x.x.x.x:44786;transport=UDP>
To: <sip:101@midominio.dyndns.org:5060;transport=UDP>
From: <sip:101@midominio.dyndns.org:5060;transport=UDP>;tag=ae6e1237
Call-ID: YzQwYmI5YjAyN2M1OTY1NzdjZGYyMjEyY2QzZDIwMjY.
CSeq: 1 SUBSCRIBE
Expires: 600
Accept: application/watcherinfo+xml
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
User-Agent: Z 3.2.21357 r21367
Event: presence.winfo
Allow-Events: presence, kpml
Content-Length: 0
<------------->
--- (16 headers 0 lines) ---
Sending to x.x.x.x:44786 (no NAT)
Creating new subscription
Sending to x.x.x.x:44786 (no NAT)
list_route: hop: <sip:101@x.x.x.x:44786;transport=UDP>
Found peer '101' for '101' from x.x.x.x:44786
<--- Transmitting (no NAT) to x.x.x.x:44786 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP x.x.x.x:44786;branch=z9hG4bK-d8754z-50de3ecfd6b237b6-1---d8754z-;received=x.x.x.x
From: <sip:101@midominio.dyndns.org:5060;transport=UDP>;tag=ae6e1237
To: <sip:101@midominio.dyndns.org:5060;transport=UDP>;tag=as30f496da
Call-ID: YzQwYmI5YjAyN2M1OTY1NzdjZGYyMjEyY2QzZDIwMjY.
CSeq: 1 SUBSCRIBE
Server: Asterisk PBX 11.4.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="28329a19"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'YzQwYmI5YjAyN2M1OTY1NzdjZGYyMjEyY2QzZDIwMjY.' in 11968 ms (Method: SUBSCRIBE)
Retransmitting #1 (no NAT) to x.x.x.x:44786:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP x.x.x.x:44786;branch=z9hG4bK-d8754z-75d8daeda92539c1-1---d8754z-;received=x.x.x.x
From: <sip:101@midominio.dyndns.org:5060;transport=UDP>;tag=ef4fe13a
To: <sip:102@midominio.dyndns.org:5060;transport=UDP>;tag=as1be4137f
Call-ID: YzM3YTAxMDVmZDk2ZDZjZWY4MzVmOTg3NWU5ZmZhMWE.
CSeq: 2 INVITE
Server: Asterisk PBX 11.4.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<--- SIP read from UDP:x.x.x.x:44786 --->
ACK sip:102@midominio.dyndns.org:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP x.x.x.x:44786;branch=z9hG4bK-d8754z-75d8daeda92539c1-1---d8754z-
Max-Forwards: 70
To: <sip:102@midominio.dyndns.org:5060;transport=UDP>;tag=as1be4137f
From: <sip:101@midominio.dyndns.org:5060;transport=UDP>;tag=ef4fe13a
Call-ID: YzM3YTAxMDVmZDk2ZDZjZWY4MzVmOTg3NWU5ZmZhMWE.
CSeq: 2 ACK
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Really destroying SIP dialog 'YzM3YTAxMDVmZDk2ZDZjZWY4MzVmOTg3NWU5ZmZhMWE.' Method: ACK
<--- SIP read from UDP:x.x.x.x:44786 --->
SUBSCRIBE sip:101@midominio.dyndns.org:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP x.x.x.x:44786;branch=z9hG4bK-d8754z-535185b278bcb8b6-1---d8754z-
Max-Forwards: 70
Contact: <sip:101@x.x.x.x:44786;transport=UDP>
To: <sip:101@midominio.dyndns.org:5060;transport=UDP>
From: <sip:101@midominio.dyndns.org:5060;transport=UDP>;tag=ae6e1237
Call-ID: YzQwYmI5YjAyN2M1OTY1NzdjZGYyMjEyY2QzZDIwMjY.
CSeq: 2 SUBSCRIBE
Expires: 600
Accept: application/watcherinfo+xml
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
User-Agent: Z 3.2.21357 r21367
Authorization: Digest username="101",realm="asterisk",nonce="28329a19",uri="sip:101@midominio.dyndns.org:5060;transport=UDP",response="121418713178869e270387bbe2690378",algorithm=MD5
Event: presence.winfo
Allow-Events: presence, kpml
Content-Length: 0