Ayuda al llamar se me cae la llamada a los 7 segundos

Hola primero que todo estoy muy contento de entrar a esta comunidad y espero que aprenda mucho con ustedes, soy novato en freepbx tengo la versión 2.8.1 con Elastix y al llamar se me cae la llamada en aproximadamente 7 segundos.

Esto es lo que sucede con mi ext 3000

== Using SIP RTP TOS bits 184

== Using SIP RTP CoS mark 5

– Executing [[email protected]:1] Macro("SIP/3000-00000c1b", "user-callerid,SKIPTTL,") in new stack

– Executing [[email protected]:1] Set("SIP/3000-00000c1b", "AMPUSER=3000") in new stack

– Executing [[email protected]:2] GotoIf("SIP/3000-00000c1b", "0?report") in new stack

– Executing [[email protected]:3] ExecIf("SIP/3000-00000c1b", "1?Set(REALCALLERIDNUM=3000)") in new stack

– Executing [[email protected]:4] Set("SIP/3000-00000c1b", "AMPUSER=3000") in new stack

– Executing [[email protected]:5] Set("SIP/3000-00000c1b", "AMPUSERCIDNAME=Sistemas") in new stack

– Executing [[email protected]:6] GotoIf("SIP/3000-00000c1b", "0?report") in new stack

– Executing [[email protected]:7] Set("SIP/3000-00000c1b", "AMPUSERCID=3000") in new stack

– Executing [[email protected]:8] Set("SIP/3000-00000c1b", "CALLERID(all)="Sistemas" <3000>") in new stack

– Executing [[email protected]:9] ExecIf("SIP/3000-00000c1b", "0?Set(CHANNEL(language)=)") in new stack

– Executing [[email protected]:10] GotoIf("SIP/3000-00000c1b", "1?continue") in new stack

– Goto (macro-user-callerid,s,19)

– Executing [[email protected]:19] Set("SIP/3000-00000c1b", "CALLERID(number)=3000") in new stack

– Executing [[email protected]:20] Set("SIP/3000-00000c1b", "CALLERID(name)=Sistemas") in new stack

– Executing [[email protected]:21] NoOp("SIP/3000-00000c1b", "Using CallerID "Sistemas" <3000>") in new stack

– Executing [[email protected]:2] NoOp("SIP/3000-00000c1b", "Calling Out Route: Todas") in new stack

– Executing [[email protected]:3] Set("SIP/3000-00000c1b", "MOHCLASS=default") in new stack

– Executing [[email protected]:4] Set("SIP/3000-00000c1b", "_NODEST=") in new stack

– Executing [[email protected]:5] Macro("SIP/3000-00000c1b", "record-enable,3000,OUT,") in new stack

– Executing [[email protected]:1] GotoIf("SIP/3000-00000c1b", "1?check") in new stack

– Goto (macro-record-enable,s,4)

– Executing [[email protected]:4] ExecIf("SIP/3000-00000c1b", "0?MacroExit()") in new stack

– Executing [[email protected]:5] GotoIf("SIP/3000-00000c1b", "0?Group:OUT") in new stack

– Goto (macro-record-enable,s,15)

– Executing [[email protected]:15] GotoIf("SIP/3000-00000c1b", "0?IN") in new stack

– Executing [[email protected]:16] ExecIf("SIP/3000-00000c1b", "1?MacroExit()") in new stack

– Executing [[email protected]:6] Macro("SIP/3000-00000c1b", "dialout-trunk,3,5904573,") in new stack

– Executing [[email protected]:1] Set("SIP/3000-00000c1b", "DIAL_TRUNK=3") in new stack

– Executing [[email protected]:2] GosubIf("SIP/3000-00000c1b", "0?sub-pincheck,s,1") in new stack

– Executing [[email protected]:3] GotoIf("SIP/3000-00000c1b", "0?disabletrunk,1") in new stack

– Executing [[email protected]:4] Set("SIP/3000-00000c1b", "DIAL_NUMBER=5904573") in new stack

– Executing [[email protected]:5] Set("SIP/3000-00000c1b", "DIAL_TRUNK_OPTIONS=tr") in new stack

– Executing [[email protected]:6] Set("SIP/3000-00000c1b", "OUTBOUND_GROUP=OUT_3") in new stack

– Executing [[email protected]:7] GotoIf("SIP/3000-00000c1b", "1?nomax") in new stack

– Goto (macro-dialout-trunk,s,9)

– Executing [[email protected]:9] GotoIf("SIP/3000-00000c1b", "0?skipoutcid") in new stack

– Executing [[email protected]:10] Set("SIP/3000-00000c1b", "DIAL_TRUNK_OPTIONS=") in new stack

– Executing [[email protected]:11] Macro("SIP/3000-00000c1b", "outbound-callerid,3") in new stack

– Executing [[email protected]:1] ExecIf("SIP/3000-00000c1b", "0?Set(CALLERPRES()=)") in new stack

– Executing [[email protected]:2] ExecIf("SIP/3000-00000c1b", "0?Set(REALCALLERIDNUM=3000)") in new stack

– Executing [[email protected]:3] GotoIf("SIP/3000-00000c1b", "1?normcid") in new stack

– Goto (macro-outbound-callerid,s,6)

– Executing [[email protected]:6] Set("SIP/3000-00000c1b", "USEROUTCID=") in new stack

– Executing [[email protected]:7] Set("SIP/3000-00000c1b", "EMERGENCYCID=") in new stack

– Executing [[email protected]:8] Set("SIP/3000-00000c1b", "TRUNKOUTCID=43208560") in new stack

– Executing [[email protected]:9] GotoIf("SIP/3000-00000c1b", "1?trunkcid") in new stack

– Goto (macro-outbound-callerid,s,12)

– Executing [[email protected]:12] ExecIf("SIP/3000-00000c1b", "1?Set(CALLERID(all)=43208560)") in new stack

– Executing [[email protected]:13] ExecIf("SIP/3000-00000c1b", "0?Set(CALLERID(all)=)") in new stack

– Executing [[email protected]:14] ExecIf("SIP/3000-00000c1b", "0?Set(CALLERID(all)=)") in new stack

– Executing [[email protected]:15] ExecIf("SIP/3000-00000c1b", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack

– Executing [[email protected]:12] GosubIf("SIP/3000-00000c1b", "0?sub-flp-3,s,1") in new stack

– Executing [[email protected]:13] Set("SIP/3000-00000c1b", "OUTNUM=5904573") in new stack

– Executing [[email protected]:14] Set("SIP/3000-00000c1b", "custom=SIP/43208560") in new stack

– Executing [[email protected]:15] ExecIf("SIP/3000-00000c1b", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack

– Executing [[email protected]:16] Macro("SIP/3000-00000c1b", "dialout-trunk-predial-hook,") in new stack

– Executing [[email protected]:1] MacroExit("SIP/3000-00000c1b", "") in new stack

– Executing [[email protected]:17] GotoIf("SIP/3000-00000c1b", "0?bypass,1") in new stack

– Executing [[email protected]:18] GotoIf("SIP/3000-00000c1b", "0?customtrunk") in new stack

– Executing [[email protected]:19] Dial("SIP/3000-00000c1b", "SIP/43208560/5904573,300,") in new stack

== Using SIP RTP TOS bits 184

== Using SIP RTP CoS mark 5

– Called SIP/43208560/5904573

– SIP/43208560-00000c1c is ringing

– SIP/43208560-00000c1c is making progress passing it to SIP/3000-00000c1b

– SIP/43208560-00000c1c answered SIP/3000-00000c1b

– Locally bridging SIP/3000-00000c1b and SIP/43208560-00000c1c

– Executing [[email protected]:1] Macro("SIP/3000-00000c1b", "hangupcall,") in new stack

– Executing [[email protected]:1] GotoIf("SIP/3000-00000c1b", "1?endmixmoncheck") in new stack

– Goto (macro-hangupcall,s,9)

– Executing [[email protected]:9] NoOp("SIP/3000-00000c1b", "End of MIXMON check") in new stack

– Executing [[email protected]:10] GotoIf("SIP/3000-00000c1b", "1?nomeetmemon") in new stack

– Goto (macro-hangupcall,s,28)

– Executing [[email protected]:28] NoOp("SIP/3000-00000c1b", "End of MEETME check") in new stack

– Executing [[email protected]:29] GotoIf("SIP/3000-00000c1b", "1?noautomon") in new stack

– Goto (macro-hangupcall,s,34)

– Executing [[email protected]:34] NoOp("SIP/3000-00000c1b", "TOUCH_MONITOR_OUTPUT=") in new stack

– Executing [[email protected]:35] GotoIf("SIP/3000-00000c1b", "1?noautomon2") in new stack

– Goto (macro-hangupcall,s,41)

– Executing [[email protected]:41] NoOp("SIP/3000-00000c1b", "MONITOR_FILENAME=") in new stack

– Executing [[email protected]:42] GotoIf("SIP/3000-00000c1b", "1?skiprg") in new stack

– Goto (macro-hangupcall,s,45)

– Executing [[email protected]:45] GotoIf("SIP/3000-00000c1b", "1?skipblkvm") in new stack

– Goto (macro-hangupcall,s,48)

– Executing [[email protected]:48] GotoIf("SIP/3000-00000c1b", "1?theend") in new stack

– Goto (macro-hangupcall,s,50)

– Executing [[email protected]:50] AGI("SIP/3000-00000c1b", "hangup.agi") in new stack

– Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi

– <SIP/3000-00000c1b>AGI Script hangup.agi completed, returning 0

– Executing [[email protected]:51] Hangup("SIP/3000-00000c1b", "") in new stack

== Spawn extension (macro-hangupcall, s, 51) exited non-zero on ‘SIP/3000-00000c1b’ in macro ‘hangupcall’

== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/3000-00000c1b’

== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on ‘SIP/3000-00000c1b’ in macro ‘dialout-trunk’

== Spawn extension (from-internal, 95904573, 6) exited non-zero on ‘SIP/3000-00000c1b’

Muchas Gracias de antemano si me pueden ayudar a solucionarlo

Que tal.
Lo mas probable es que se tiene un problema en la red/NATeo que impide que el protocolo SIP sea negociado correctamente.
Requerimos nos envies un trazado pcap capturado al momento de realizar la llamada.

Lo puedes hacer por medio del comando tcpdump
Aqui una mayor explicacion: Capture TCPDumps - PBX Platforms - Documentation

Hola muchas gracias por responder.

espero que me puedas ayudar. te mando el archivo pcap mediante este link :slightly_smiling_face:

hice la llamada desde la ext 3000 al numero 94870817

Gracias de Antemano

El archivo pcap parece estar dañado y ademas no tiene información relevante como para analizar hay apenas un solo paquete udp de 4 bytes de data.
No hay mucha información para poder ver. (tanto verbose como el trace)

Hola,

Si la llamada cae a los 7 segundos, lo mas probable es que no estés recibiendo el ACK de respuesta al 200OK. Esto puede ser debido a que el origen no lo esté enviando o que lo esté enviando a una dirección/puerto equivocado. Típicamente se debe a que el ACK se envia a la IP:Puerto que indica la cabecera contact del 200OK y es probable que sea una IP privada, por lo tanto no llega nunca.
El operador debería usar alguna técnica de NAT helper que evite este problema.

Muchas Gracias

Voy a tratar de implementar esa solución, ya te cuento como me fue :wink:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.