Hola, tengo un problema raro, hoy a un cliente le han cambiado de internet por el operador orange (españa)
este operador utiliza el puerto 5060 para su telefonia, el problema es que el cliente se conecta por voip a nosotros bien, y puede recibir y emitir llamadas bien, se le escucha bien, pero a el no se le escucha.
Y no se que pueda ser, he abierto puertos del 10 mil a 20 mil nada.
pego el log por si ayuda a que detecten algo que no me diera cuenta veo que va al puerto 5061 y tenemos el 5060 no se si se puede poner que escuche en ambos o donde cambiarlo por si sea eso
<--- SIP read from UDP:92.185.176.157:5061 --->
INVITE sip:1001@voz.xxxx.com;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 92.185.176.157:5061;branch=z9hG4bK-d8754z-b9291fa24e5e483b-1---d8754z-
Max-Forwards: 70
Contact: <sip:5002@92.185.176.157:5061;transport=UDP>
To: <sip:1001@voz.xxxxxx.com;transport=UDP>
From: <sip:5002@voz.xxxxx.com;transport=UDP>;tag=9310777f
Call-ID: NTFkOTVjZWRiM2M5OTgwMGNhZjk3YzM4NDg1MmJkYjk.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
User-Agent: Zoiper for Windows 2.43 r24984
Allow-Events: presence, kpml
Content-Length: 331
v=0
o=Zoiper_user 0 0 IN IP4 92.185.176.157
s=Zoiper_session
c=IN IP4 92.185.176.157
t=0 0
m=audio 8016 RTP/AVP 3 0 8 110 98 101
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:110 speex/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
<------------->
--- (14 headers 15 lines) ---
Sending to 92.185.176.157:5061 (NAT)
Sending to 92.185.176.157:5061 (NAT)
Using INVITE request as basis request - NTFkOTVjZWRiM2M5OTgwMGNhZjk3YzM4NDg1MmJkYjk.
Found peer '5002' for '5002' from 92.185.176.157:5061
<--- Reliably Transmitting (NAT) to 92.185.176.157:5061 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 92.185.176.157:5061;branch=z9hG4bK-d8754z-b9291fa24e5e483b-1---d8754z-;received=92.185.176.157;rport=5061
From: <sip:5002@voz.xxxxx.com;transport=UDP>;tag=9310777f
To: <sip:1001@voz.xxxxxx.com;transport=UDP>;tag=as344c6dd2
Call-ID: NTFkOTVjZWRiM2M5OTgwMGNhZjk3YzM4NDg1MmJkYjk.
CSeq: 1 INVITE
Server: FPBX-2.11.0(11.17.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7d9596cd"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'NTFkOTVjZWRiM2M5OTgwMGNhZjk3YzM4NDg1MmJkYjk.' in 11840 ms (Method: INVITE)
<--- SIP read from UDP:92.185.176.157:5061 --->
ACK sip:1001@voz.xxxxxx.com;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 92.185.176.157:5061;branch=z9hG4bK-d8754z-b9291fa24e5e483b-1---d8754z-
Max-Forwards: 70
To: <sip:1001@voz.xxxxx.com;transport=UDP>;tag=as344c6dd2
From: <sip:5002@voz.xxxxxxx.com;transport=UDP>;tag=9310777f
Call-ID: NTFkOTVjZWRiM2M5OTgwMGNhZjk3YzM4NDg1MmJkYjk.
CSeq: 1 ACK
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:92.185.176.157:5061 --->
INVITE sip:1001@voz.xxxxxxx.com;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 92.185.176.157:5061;branch=z9hG4bK-d8754z-aae0cf0f09b54ef8-1---d8754z-
Max-Forwards: 70
Contact: <sip:5002@92.185.176.157:5061;transport=UDP>
To: <sip:1001@voz.xxxxxx.com;transport=UDP>
From: <sip:5002@voz.xxxxxx.com;transport=UDP>;tag=9310777f
Call-ID: NTFkOTVjZWRiM2M5OTgwMGNhZjk3YzM4NDg1MmJkYjk.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
User-Agent: Zoiper for Windows 2.43 r24984
Authorization: Digest username="5002",realm="asterisk",nonce="7d9596cd",uri="sip:1001@voz.xxxxx.com;transport=UDP",response="8e4321b5de8c71f8611c727018044bc0",algorithm=MD5
Allow-Events: presence, kpml
Content-Length: 331
v=0
o=Zoiper_user 0 0 IN IP4 92.185.176.157
s=Zoiper_session
c=IN IP4 92.185.176.157
t=0 0
m=audio 8016 RTP/AVP 3 0 8 110 98 101
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:110 speex/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
<------------->
--- (15 headers 15 lines) ---
Sending to 92.185.176.157:5061 (NAT)
Using INVITE request as basis request - NTFkOTVjZWRiM2M5OTgwMGNhZjk3YzM4NDg1MmJkYjk.
Found peer '5002' for '5002' from 92.185.176.157:5061
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Found RTP audio format 3
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 110
Found RTP audio format 98
Found RTP audio format 101
Found audio description format GSM for ID 3
Found audio description format PCMU for ID 0
Found audio description format PCMA for ID 8
Found audio description format speex for ID 110
Found audio description format iLBC for ID 98
Found audio description format telephone-event for ID 101
Capabilities: us - (alaw), peer - audio=(gsm|ulaw|alaw|speex|ilbc)/video=(nothing)/text=(nothing), combined - (alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 92.185.176.157:8016
Looking for 1001 in from-internal (domain voz.xxxxx.com)
list_route: hop: <sip:5002@92.185.176.157:5061;transport=UDP>
<--- Transmitting (NAT) to 92.185.176.157:5061 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 92.185.176.157:5061;branch=z9hG4bK-d8754z-aae0cf0f09b54ef8-1---d8754z-;received=92.185.176.157;rport=5061
From: <sip:5002@voz.xxxxx.com;transport=UDP>;tag=9310777f
To: <sip:1001@voz.xxxxx.com;transport=UDP>
Call-ID: NTFkOTVjZWRiM2M5OTgwMGNhZjk3YzM4NDg1MmJkYjk.
CSeq: 2 INVITE
Server: FPBX-2.11.0(11.17.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:1001@213.231.90.192:5060>
Content-Length: 0
<------------>
-- Executing [1001@from-internal:1] GotoIf("SIP/5002-000079ee", "0?ext-local,1001,1") in new stack
-- Executing [1001@from-internal:2] Macro("SIP/5002-000079ee", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/5002-000079ee", "TOUCH_MONITOR=1509720409.32062") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/5002-000079ee", "AMPUSER=5002") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/5002-000079ee", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/5002-000079ee", "1?Set(REALCALLERIDNUM=5002)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/5002-000079ee", "AMPUSER=5002") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/5002-000079ee", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/5002-000079ee", "AMPUSERCIDNAME=Agente 5002") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/5002-000079ee", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/5002-000079ee", "AMPUSERCID=5002") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/5002-000079ee", "DIAL_OPTIONS=trTwW") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/5002-000079ee", "CALLERID(all)="Agente 5002" <5002>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/5002-000079ee", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/5002-000079ee", "0?Set(GROUP(concurrency_limit)=5002)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/5002-000079ee", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/5002-000079ee", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/5002-000079ee", "TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/5002-000079ee", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/5002-000079ee", "CALLERID(number)=5002") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/5002-000079ee", "CALLERID(name)=Agente 5002") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/5002-000079ee", "CDR(cnum)=5002") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/5002-000079ee", "CDR(cnam)=Agente 5002") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/5002-000079ee", "CHANNEL(language)=es") in new stack
-- Executing [1001@from-internal:3] Set("SIP/5002-000079ee", "DIAL_OPTIONS=trTwWI") in new stack
-- Executing [1001@from-internal:4] Set("SIP/5002-000079ee", "CONNECTEDLINE(num)=1001") in new stack
-- Executing [1001@from-internal:5] Gosub("SIP/5002-000079ee", "sub-presencestate-display,s,1(1001)") in new stack
[2017-11-03 15:46:49] WARNING[4690][C-000249ec]: func_presencestate.c:132 presence_read: PRESENCE_STATE unknown
-- Executing [s@sub-presencestate-display:1] Goto("SIP/5002-000079ee", "state-,1") in new stack
-- Goto (sub-presencestate-display,state-,1)
-- Executing [state-@sub-presencestate-display:1] Set("SIP/5002-000079ee", "PRESENCESTATE_DISPLAY=") in new stack
-- Executing [state-@sub-presencestate-display:2] Return("SIP/5002-000079ee", "") in new stack
-- Executing [1001@from-internal:6] Set("SIP/5002-000079ee", "CONNECTEDLINE(name,i)=Moises") in new stack
-- Executing [1001@from-internal:7] Set("SIP/5002-000079ee", "FM_DIALSTATUS=NOT_INUSE") in new stack
-- Executing [1001@from-internal:8] Set("SIP/5002-000079ee", "EXTTOCALL=1001") in new stack
-- Executing [1001@from-internal:9] Set("SIP/5002-000079ee", "PICKUPMARK=1001") in new stack
-- Executing [1001@from-internal:10] Macro("SIP/5002-000079ee", "blkvm-setifempty,") in new stack
-- Executing [s@macro-blkvm-setifempty:1] GotoIf("SIP/5002-000079ee", "1?init") in new stack
-- Goto (macro-blkvm-setifempty,s,4)
-- Executing [s@macro-blkvm-setifempty:4] Set("SIP/5002-000079ee", "BLKVM_CHANNEL=SIP/5002-000079ee") in new stack
-- Executing [s@macro-blkvm-setifempty:5] Set("SIP/5002-000079ee", "SHARED(BLKVM,SIP/5002-000079ee)=TRUE") in new stack
-- Executing [s@macro-blkvm-setifempty:6] Set("SIP/5002-000079ee", "GOSUB_RETVAL=TRUE") in new stack
-- Executing [s@macro-blkvm-setifempty:7] MacroExit("SIP/5002-000079ee", "") in new stack
-- Executing [1001@from-internal:11] GotoIf("SIP/5002-000079ee", "1?skipov") in new stack
-- Goto (from-internal,1001,14)
-- Executing [1001@from-internal:14] Set("SIP/5002-000079ee", "RRNODEST=") in new stack
-- Executing [1001@from-internal:15] Set("SIP/5002-000079ee", "NODEST=1001") in new stack
-- Executing [1001@from-internal:16] GosubIf("SIP/5002-000079ee", "0?sub-fmsetcid,s,1()") in new stack
-- Executing [1001@from-internal:17] Set("SIP/5002-000079ee", "RecordMethod=Group") in new stack
-- Executing [1001@from-internal:18] Gosub("SIP/5002-000079ee", "sub-record-check,s,1(exten,1001,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/5002-000079ee", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/5002-000079ee", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/5002-000079ee", "MON_FMT=WAV") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/5002-000079ee", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/5002-000079ee", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/5002-000079ee", "0?Set(REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/5002-000079ee", "0?exten,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/5002-000079ee", "REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/5002-000079ee", "NOW=1509720410") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/5002-000079ee", "DAY=03") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/5002-000079ee", "MONTH=11") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/5002-000079ee", "YEAR=2017") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/5002-000079ee", "TIMESTR=20171103-154650") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/5002-000079ee", "FROMEXTEN=5002") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/5002-000079ee", "CALLFILENAME=exten-1001-5002-20171103-154650-1509720409.32062") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/5002-000079ee", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("SIP/5002-000079ee", "0?callee") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/5002-000079ee", "REC_POLICY_MODE=always") in new stack
-- Executing [exten@sub-record-check:3] GotoIf("SIP/5002-000079ee", "0?caller") in new stack
-- Executing [exten@sub-record-check:4] GotoIf("SIP/5002-000079ee", "0?callee") in new stack
-- Executing [exten@sub-record-check:5] ExecIf("SIP/5002-000079ee", "2?Set(CALLER_PRI=10):Set(CALLER_PRI=0)") in new stack
-- Executing [exten@sub-record-check:6] ExecIf("SIP/5002-000079ee", "2?Set(CALLEE_PRI=10):Set(CALLEE_PRI=0)") in new stack
-- Executing [exten@sub-record-check:7] GotoIf("SIP/5002-000079ee", "1?caller:callee") in new stack
-- Goto (sub-record-check,exten,10)
-- Executing [exten@sub-record-check:10] Set("SIP/5002-000079ee", "REC_POLICY_MODE=always") in new stack
-- Executing [exten@sub-record-check:11] GosubIf("SIP/5002-000079ee", "1?record,1(exten,1001,5002)") in new stack
-- Executing [record@sub-record-check:1] Set("SIP/5002-000079ee", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [record@sub-record-check:2] MixMonitor("SIP/5002-000079ee", "2017/11/03/exten-1001-5002-20171103-154650-1509720409.32062.WAV,,") in new stack
-- Executing [record@sub-record-check:3] Set("SIP/5002-000079ee", "REC_STATUS=RECORDING") in new stack
-- Executing [record@sub-record-check:4] Set("SIP/5002-000079ee", "CDR(recordingfile)=exten-1001-5002-20171103-154650-1509720409.32062.WAV") in new stack
-- Executing [record@sub-record-check:5] Return("SIP/5002-000079ee", "") in new stack
-- Executing [exten@sub-record-check:12] Return("SIP/5002-000079ee", "") in new stack
-- Executing [1001@from-internal:19] Set("SIP/5002-000079ee", "RingGroupMethod=ringallv2") in new stack
-- Executing [1001@from-internal:20] Set("SIP/5002-000079ee", "_FMGRP=1001") in new stack
-- Executing [1001@from-internal:21] GotoIf("SIP/5002-000079ee", "0?doconfirm") in new stack
-- Executing [1001@from-internal:22] Macro("SIP/5002-000079ee", "dial,20,m(default),1001") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/5002-000079ee", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/5002-000079ee", "dialparties.agi") in new stack
== Begin MixMonitor Recording SIP/5002-000079ee
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is 'Agente 5002' number is '5002'
dialparties.agi: Methodology of ring is 'ringallv2'
-- dialparties.agi: Added extension 1001 to extension map
> dialparties.agi: got fmgrp_prering: 2, fmgrp_grptime: 20
> dialparties.agi: fmgrp_totalprering: 22
> dialparties.agi: found extension in pre-ring and array
> dialparties.agi: ringallv2 ring times: REALPRERING: 22, PRERING: 2
-- dialparties.agi: Extension 1001 cf is disabled
-- dialparties.agi: Extension 1001 do not disturb is disabled
> dialparties.agi: extnum 1001 has: cw: 1; hascfb: 0 [] hascfu: 0 []
-- dialparties.agi: dbset CALLTRACE/1001 to 5002
-- dialparties.agi: Filtered ARG3: 1001
> dialparties.agi: NODEST: 1001 adding M(auto-blkvm) to dialopts: m(default)M(auto-blkvm)
> dialparties.agi: NODEST: 1001 blkvm enabled macro already in dialopts: m(default)M(auto-blkvm)
-- <SIP/5002-000079ee>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/5002-000079ee", "SIP/1001,22,m(default)M(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/1001
-- Started music on hold, class 'default', on SIP/5002-000079ee
[2017-11-03 15:46:50] WARNING[4690][C-000249ec]: translate.c:343 framein: no samples for alawtolin
Audio is at 12442
Adding codec 100004 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
<--- Transmitting (NAT) to 92.185.176.157:5061 --->
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 92.185.176.157:5061;branch=z9hG4bK-d8754z-aae0cf0f09b54ef8-1---d8754z-;received=92.185.176.157;rport=5061
From: <sip:5002@voz.xxxxx.com;transport=UDP>;tag=9310777f
To: <sip:1001@voz.xxxxxxxx.com;transport=UDP>;tag=as5c010a60
Call-ID: NTFkOTVjZWRiM2M5OTgwMGNhZjk3YzM4NDg1MmJkYjk.
CSeq: 2 INVITE
Server: FPBX-2.11.0(11.17.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:1001@213.231.90.192:5060>
Content-Type: application/sdp
Require: timer
Content-Length: 240
v=0
o=root 1342093195 1342093195 IN IP4 213.231.90.192
s=Asterisk PBX 11.17.1
c=IN IP4 213.231.90.192
t=0 0
m=audio 12442 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------>
-- SIP/1001-000079ef is ringing
> 0xb0e58c20 -- Probation passed - setting RTP source address to 92.185.176.157:8016
-- SIP/1001-000079ef answered SIP/5002-000079ee
-- Executing [s@macro-auto-blkvm:1] Set("SIP/1001-000079ef", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] Set("SIP/1001-000079ef", "CFIGNORE=") in new stack
-- Executing [s@macro-auto-blkvm:3] Set("SIP/1001-000079ef", "MASTER_CHANNEL(CFIGNORE)=") in new stack
-- Executing [s@macro-auto-blkvm:4] Set("SIP/1001-000079ef", "FORWARD_CONTEXT=from-internal") in new stack
-- Executing [s@macro-auto-blkvm:5] Set("SIP/1001-000079ef", "MASTER_CHANNEL(FORWARD_CONTEXT)=from-internal") in new stack
-- Executing [s@macro-auto-blkvm:6] Macro("SIP/1001-000079ef", "blkvm-clr,") in new stack
-- Executing [s@macro-blkvm-clr:1] Set("SIP/1001-000079ef", "SHARED(BLKVM,SIP/5002-000079ee)=") in new stack
-- Executing [s@macro-blkvm-clr:2] Set("SIP/1001-000079ef", "GOSUB_RETVAL=") in new stack
-- Executing [s@macro-blkvm-clr:3] MacroExit("SIP/1001-000079ef", "") in new stack
-- Executing [s@macro-auto-blkvm:7] ExecIf("SIP/1001-000079ef", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(num))=1001)") in new stack
-- Executing [s@macro-auto-blkvm:8] ExecIf("SIP/1001-000079ef", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(name))=Moises)") in new stack
-- Stopped music on hold on SIP/5002-000079ee
Audio is at 12442
Adding codec 100004 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
<--- Reliably Transmitting (NAT) to 92.185.176.157:5061 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 92.185.176.157:5061;branch=z9hG4bK-d8754z-aae0cf0f09b54ef8-1---d8754z-;received=92.185.176.157;rport=5061
From: <sip:5002@voz.xxxxxx.com;transport=UDP>;tag=9310777f
To: <sip:1001@voz.xxxxxxx.com;transport=UDP>;tag=as5c010a60
Call-ID: NTFkOTVjZWRiM2M5OTgwMGNhZjk3YzM4NDg1MmJkYjk.
CSeq: 2 INVITE
Server: FPBX-2.11.0(11.17.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:1001@213.231.90.192:5060>
Content-Type: application/sdp
Require: timer
Content-Length: 240
v=0
o=root 1342093195 1342093195 IN IP4 213.231.90.192
s=Asterisk PBX 11.17.1
c=IN IP4 213.231.90.192
t=0 0
m=audio 12442 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------>
> 0xb4c00018 -- Probation passed - setting RTP source address to 213.231.90.192:62076
> 0xb4c00018 -- Probation passed - setting RTP source address to 213.231.90.192:62076
<--- SIP read from UDP:92.185.176.157:5061 --->
ACK sip:1001@213.231.90.192:5060 SIP/2.0
Via: SIP/2.0/UDP 92.185.176.157:5061;branch=z9hG4bK-d8754z-b9948572e5ecb6ad-1---d8754z-
Max-Forwards: 70
Contact: <sip:5002@92.185.176.157:5061;transport=UDP>
To: <sip:1001@voz.hgmnetwork.com;transport=UDP>;tag=as5c010a60
From: <sip:5002@voz.hgmnetwork.com;transport=UDP>;tag=9310777f
Call-ID: NTFkOTVjZWRiM2M5OTgwMGNhZjk3YzM4NDg1MmJkYjk.
CSeq: 2 ACK
User-Agent: Zoiper for Windows 2.43 r24984
Authorization: Digest username="5002",realm="asterisk",nonce="7d9596cd",uri="sip:1001@voz.hgmnetwork.com;transport=UDP",response="8e4321b5de8c71f8611c727018044bc0",algorithm=MD5
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
<--- SIP read from UDP:92.185.176.157:5061 --->
[2017-11-03 15:47:21] WARNING[3147]: chan_sip.c:4024 retrans_pkt: Retransmission timeout reached on transmission 4b954cafc9b63d56a353bc37572739b5 for seqno 1 (Non-critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 32000ms with no response
[2017-11-03 15:47:21] WARNING[3147]: chan_sip.c:4086 retrans_pkt: Timeout on 4b954cafc9b63d56a353bc37572739b5 on non-critical invite transaction.
<--- SIP read from UDP:92.185.176.157:5061 --->
<------------->
Reliably Transmitting (NAT) to 92.185.176.157:5061:
OPTIONS sip:5002@92.185.176.157:5061;rinstance=11b9d0019b2053c5;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 213.231.90.192:5060;branch=z9hG4bK6efece2d;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@213.231.90.192>;tag=as0c64e461
To: <sip:5002@92.185.176.157:5061;rinstance=11b9d0019b2053c5;transport=UDP>
Contact: <sip:Unknown@213.231.90.192:5060>
Call-ID: 6c1f9cd324e011e85ccf4b0765169339@213.231.90.192:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.17.1)
Date: Fri, 03 Nov 2017 14:47:35 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<--- SIP read from UDP:92.185.176.157:5061 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 213.231.90.192:5060;branch=z9hG4bK6efece2d;rport=5060
Contact: <sip:192.168.1.138:5060>
To: <sip:5002@92.185.176.157:5061>
To: <sip:5002@92.185.176.157:5061;rinstance=11b9d0019b2053c5;transport=UDP>;tag=cb49cf44
From: "Unknown"<sip:Unknown@213.231.90.192>;tag=as0c64e461
Call-ID: 6c1f9cd324e011e85ccf4b0765169339@213.231.90.192:5060
CSeq: 102 OPTIONS
Accept: application/sdp, application/sdp
Accept-Language: en
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
User-Agent: Zoiper for Windows 2.43 r24984
Allow-Events: presence, kpml
Content-Length: 0
<------------->
--- (15 headers 0 lines) ---
Really destroying SIP dialog '6c1f9cd324e011e85ccf4b0765169339@213.231.90.192:5060' Method: OPTIONS
[2017-11-03 15:47:40] NOTICE[3147]: chan_sip.c:29196 check_rtp_timeout: Disconnecting call 'SIP/5002-000079ee' for lack of RTP activity in 31 seconds
-- Executing [h@macro-dial:1] Macro("SIP/5002-000079ee", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/5002-000079ee", "0?endmixmoncheck") in new stack
-- Executing [s@macro-hangupcall:2] Set("SIP/5002-000079ee", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/exten-1001-5002-20171103-154650-1509720409.32062.WAV") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/5002-000079ee", "1?defaultmixmondir") in new stack
-- Goto (macro-hangupcall,s,5)
-- Executing [s@macro-hangupcall:5] System("SIP/5002-000079ee", "test -e /var/spool/asterisk/monitor/exten-1001-5002-20171103-154650-1509720409.32062.WAV") in new stack
-- Executing [s@macro-hangupcall:6] NoOp("SIP/5002-000079ee", "SYSTEMSTATUS = APPERROR") in new stack
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/5002-000079ee", "0?endmixmoncheck") in new stack
-- Executing [s@macro-hangupcall:8] Set("SIP/5002-000079ee", "CDR(recordingfile)=") in new stack
-- Executing [s@macro-hangupcall:9] NoOp("SIP/5002-000079ee", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/5002-000079ee", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/5002-000079ee", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/5002-000079ee", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/5002-000079ee", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/5002-000079ee", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/5002-000079ee", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/5002-000079ee", "0?noautomon3") in new stack
-- Executing [s@macro-hangupcall:43] System("SIP/5002-000079ee", "test -e /var/spool/asterisk/monitor/2017/11/03/exten-1001-5002-20171103-154650-1509720409.32062.WAV*") in new stack
-- Executing [s@macro-hangupcall:44] NoOp("SIP/5002-000079ee", "SYSTEMSTATUS = SUCCESS") in new stack
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/5002-000079ee", "0?errornoautomon2") in new stack
-- Executing [s@macro-hangupcall:46] Set("SIP/5002-000079ee", "CDR(recordingfile)=/var/spool/asterisk/monitor/2017/11/03/exten-1001-5002-20171103-154650-1509720409.32062.WAV") in new stack
-- Executing [s@macro-hangupcall:47] NoOp("SIP/5002-000079ee", "End of MIXMONITOR_FILENAME check") in new stack
-- Executing [s@macro-hangupcall:48] NoOp("SIP/5002-000079ee", "MIXMONITOR_FILENAME=/var/spool/asterisk/monitor/2017/11/03/exten-1001-5002-20171103-154650-1509720409.32062.WAV") in new stack
-- Executing [s@macro-hangupcall:49] GotoIf("SIP/5002-000079ee", "1?noautomon4") in new stack
-- Goto (macro-hangupcall,s,51)
-- Executing [s@macro-hangupcall:51] NoOp("SIP/5002-000079ee", "ONETOUCH_RECFILE=") in new stack
-- Executing [s@macro-hangupcall:52] GotoIf("SIP/5002-000079ee", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,55)
-- Executing [s@macro-hangupcall:55] GotoIf("SIP/5002-000079ee", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,58)
-- Executing [s@macro-hangupcall:58] GotoIf("SIP/5002-000079ee", "1?theend") in new stack
-- Goto (macro-hangupcall,s,60)
-- Executing [s@macro-hangupcall:60] AGI("SIP/5002-000079ee", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/5002-000079ee>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:61] Hangup("SIP/5002-000079ee", "") in new stack
== Spawn extension (macro-hangupcall, s, 61) exited non-zero on 'SIP/5002-000079ee' in macro 'hangupcall'
== Spawn extension (macro-dial, h, 1) exited non-zero on 'SIP/5002-000079ee'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/5002-000079ee' in macro 'dial'
== Spawn extension (from-internal, 1001, 22) exited non-zero on 'SIP/5002-000079ee'
Scheduling destruction of SIP dialog 'NTFkOTVjZWRiM2M5OTgwMGNhZjk3YzM4NDg1MmJkYjk.' in 11840 ms (Method: ACK)
set_destination: Parsing <sip:5002@92.185.176.157:5061;transport=UDP> for address/port to send to
set_destination: set destination to 92.185.176.157:5061
Reliably Transmitting (NAT) to 92.185.176.157:5061:
BYE sip:5002@92.185.176.157:5061;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 213.231.90.192:5060;branch=z9hG4bK37587b85;rport
basicamente he visto esto
<--- Reliably Transmitting (NAT) to 92.185.176.157:5061 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 92.185.176.157:5061;branch=z9hG4bK-d8754z-b9291fa24e5e483b-1---d8754z-;received=92.185.176.157;rport=5061
que nose porque da un 401 si sera porque le tengo que añadir el puerto 5061 en algun sitio al servidor
posteriormente la llamada se corta sola y he detectado esto
[2017-11-03 15:47:21] WARNING[3147]: chan_sip.c:4024 retrans_pkt: Retransmission timeout reached on transmission 4b954cafc9b63d56a353bc37572739b5 for seqno 1 (Non-critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 32000ms with no response
[2017-11-03 15:47:21] WARNING[3147]: chan_sip.c:4086 retrans_pkt: Timeout on 4b954cafc9b63d56a353bc37572739b5 on non-critical invite transaction.
igual es configurar algo que no me doy cuenta o no doy con que es, agradezco cualquier ayuda