Macro-hangupcall,s,7

Hola buena tarde.

Saben tengo el tema curioso de que si no contesto las llamadas a los 2 tonos se cortan, Si las contesto antes de que terminen esos 2 tonos la llamada anda sin problema.

Esto pasa cuando me quiero comunicar desde cualquier PBX la extensión 58XX, el CLI después de que suena 2 veces dice…

-- Called PJSIP/5850/sip:[email protected]:5287

== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
– PJSIP/5850-0000094b is ringing
– PJSIP/5850-0000094b is ringing
== Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘IAX2/192.168.19.254:1052-12453’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 26) exited non-zero on ‘IAX2/192.168.19.254:1052-12453’ in macro ‘exten-vm’
== Spawn extension (ext-local, 5850, 2) exited non-zero on ‘IAX2/192.168.19.254:1052-12453’
– Executing [[email protected]:1] Macro(“IAX2/192.168.19.254:1052-12453”, “hangupcall,”) in new stack
– Executing [[email protected]:1] GotoIf(“IAX2/192.168.19.254:1052-12453”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] ExecIf(“IAX2/192.168.19.254:1052-12453”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]:4] NoOp(“IAX2/192.168.19.254:1052-12453”, "PJSIP/5850-0000094b montior file= ") in new stack
– Executing [[email protected]:5] GotoIf(“IAX2/192.168.19.254:1052-12453”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]:7] Hangup(“IAX2/192.168.19.254:1052-12453”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘IAX2/192.168.19.254:1052-12453’ in macro ‘hangupcall’
== Spawn extension (ext-local, h, 1) exited non-zero on ‘IAX2/192.168.19.254:1052-12453’
– Hungup ‘IAX2/192.168.19.254:1052-12453’

Si se conecta al peer.-

iaxveracruz 192.168.8.254 (D) 255.255.255.255 1024 OK (9 ms)

con un iax2 show registry, me muestra rechazado pero si conectan y si hay ping entre ambos pbx.-

192.168.8.254:4569 N iaxaereo 192.168.8.254:4569 60 Rejected

Igual el log.- /var/log/asterisk/full.-
[2020-01-23 11:29:11] VERBOSE[15188][C-00000519] app_dial.c: PJSIP/5850-00000954 is ringing
[2020-01-23 11:29:11] VERBOSE[15188][C-00000519] app_dial.c: PJSIP/5850-00000954 is ringing

[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] app_macro.c: Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘IAX2/192.168.19.254:1052-9560’ in macro ‘dial-one’
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] app_macro.c: Spawn extension (macro-exten-vm, s, 26) exited non-zero on ‘IAX2/192.168.19.254:1052-9560’ in macro ‘exten-vm’
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] pbx.c: Spawn extension (ext-local, 5850, 2) exited non-zero on ‘IAX2/192.168.19.254:1052-9560’
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] pbx.c: Executing [[email protected]:1] Macro(“IAX2/192.168.19.254:1052-9560”, “hangupcall,”) in new stack
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] pbx.c: Executing [[email protected]:1] GotoIf(“IAX2/192.168.19.254:1052-9560”, “1?theend”) in new stack
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] pbx.c: Executing [[email protected]:3] ExecIf(“IAX2/192.168.19.254:1052-9560”, “0?Set(CDR(recordingfile)=)”) in new stack
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] pbx.c: Executing [[email protected]:4] NoOp(“IAX2/192.168.19.254:1052-9560”, "PJSIP/5850-00000954 montior file= ") in new stack
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] pbx.c: Executing [[email protected]:5] GotoIf(“IAX2/192.168.19.254:1052-9560”, “1?skipagi”) in new stack
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] pbx_builtins.c: Goto (macro-hangupcall,s,7)
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] pbx.c: Executing [[email protected]:7] Hangup(“IAX2/192.168.19.254:1052-9560”, “”) in new stack
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘IAX2/192.168.19.254:1052-9560’ in macro ‘hangupcall’
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] pbx.c: Spawn extension (ext-local, h, 1) exited non-zero on ‘IAX2/192.168.19.254:1052-9560’
[2020-01-23 11:29:15] VERBOSE[15188][C-00000519] chan_iax2.c: Hungup ‘IAX2/192.168.19.254:1052-9560’
[2020-01-23 11:29:16] VERBOSE[2389] chan_iax2.c: Registered IAX2 ‘iaxveracruz’ (AUTHENTICATED) at 192.168.8.254:1052

Saben que puede ser o por donde le puedo buscar?

Al final era una configuración en el pbx desde donde hablaba en el extensions.conf

<< exten => _35XX,1,Dial(IAX2/iaxdia/${EXTEN},5)

> exten => _35XX,1,Dial(IAX2/iaxdia/${EXTEN},15)

Asi los tonos de marcado duran 15 segundos y si no contestan se cuelga.

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