⋮
Trabajo con freepbx, pero las llamadas entrante se cortan a los 30 segundos.
Estuve investigando un poco y parece que es cosa de NAT, ya vi en la configuración sip de freepbx y si está la ip pública, ip privada , la de la telefonía y una vpn que tengo.
ya habilite el sip en sip_general_additional.conf
el cli de asterisk me manda ésto...
Executing [h@ivr-2:1] Hangup("PJSIP/metroC-00000001", "") in new stack == Spawn extension (ivr-2, h, 1) exited non-zero on 'PJSIP/metroC-00000001' -- PJSIP/metroC-00000001 Internal Gosub(crm-hangup,s,1) start -- Executing [s@crm-hangup:1] NoOp("PJSIP/metroC-00000001", "Sending Hangup to CRM") in new stack -- Executing [s@crm-hangup:2] NoOp("PJSIP/metroC-00000001", "HANGUP CAUSE: 18") in new stack -- Executing [s@crm-hangup:3] ExecIf("PJSIP/metroC-00000001", "0?Set(__CRM_VOICEMAIL=)") in new stack -- Executing [s@crm-hangup:4] NoOp("PJSIP/metroC-00000001", "MASTER CHANNEL: 1575334619.1 = 1575334619.1") in new stack -- Executing [s@crm-hangup:5] GotoIf("PJSIP/metroC-00000001", "0?return") in new stack -- Executing [s@crm-hangup:6] Set("PJSIP/metroC-00000001", "__CRM_HANGUP=1") in new stack -- Executing [s@crm-hangup:7] AGI("PJSIP/metroC-00000001", "sangomacrm.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi -- <PJSIP/metroC-00000001>AGI Script sangomacrm.agi completed, returning 0 -- Executing [s@crm-hangup:8] Return("PJSIP/metroC-00000001", "") in new stack == Spawn extension (ivr-2, h, 1) exited non-zero on 'PJSIP/metroC-00000001' -- PJSIP/metroC-00000001 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=