Como crear SIP TRUNK PJSIP

Hola Comunidad

Estoy intentado crear una troncal PJSIP , ya me quedaron las llamadas entrantes pero no las salientes, ya cree mi ruta saliente pero las llamadas se quedan en el Free.

Esta es mi configuración:

Espero me pueda apoyar esta comunidad tan grande.
Saludos desde MX
Eduardo

Bienvenido

It may be helpful to see the entire call trace beginning to end. You can isolate and share via pastebin:
https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs-PartII

[2021-06-10 18:17:58] ERROR[7197] res_pjsip.c: Endpoint ‘6007275389’: Could not create dialog to invalid URI ‘6007275389’. Is endpoint registered and reachable?
[2021-06-10 18:17:58] ERROR[7197] chan_pjsip.c: Failed to create outgoing session to endpoint ‘6007275389’
[2021-06-10 18:17:58] WARNING[12552][C-00000019] app_dial.c: Unable to create channel of type ‘PJSIP’ (cause 3 - No route to destination)
[2021-06-10 18:17:58] VERBOSE[12552][C-00000019] app_dial.c: No devices or endpoints to dial (technology/resource)
[2021-06-10 18:17:58] VERBOSE[12552][C-00000019] pbx.c: Executing [s@macro-dialout-trunk:35] NoOp(“PJSIP/201-00000011”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 3”) in new stack
[2021-06-10 18:17:58] VERBOSE[12552][C-00000019] pbx.c: Executing [s@macro-dialout-trunk:36] GotoIf(“PJSIP/201-00000011”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2021-06-10 18:17:58] VERBOSE[12552][C-00000019] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2021-06-10 18:17:58] VERBOSE[12552][C-00000019] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“PJSIP/201-00000011”, “RC=3”) in new stack
[2021-06-10 18:17:58] VERBOSE[12552][C-00000019] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“PJSIP/201-00000011”, “3,1”) in new stack
[2021-06-10 18:17:58] VERBOSE[12552][C-00000019] pbx_builtins.c: Goto (macro-dialout-trunk,3,1)
[2021-06-10 18:17:58] VERBOSE[12552][C-00000019] pbx.c: Executing [3@macro-dialout-trunk:1] Goto(“PJSIP/201-00000011”, “continue,1”) in new stack
[2021-06-10 18:17:58] VERBOSE[12552][C-00000019] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)
[2021-06-10 18:17:58] VERBOSE[12552][C-00000019] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp(“PJSIP/201-00000011”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 3 - failing through to other trunks”) i

Revisa que tu troncal esté registrada correctamente:

[2021-06-10 18:17:58] ERROR[7197] res_pjsip.c: Endpoint ‘6007275389’: Could not create dialog to invalid URI ‘6007275389’. Is endpoint registered and reachable?
[2021-06-10 18:17:58] ERROR[7197] chan_pjsip.c: Failed to create outgoing session to endpoint ‘6007275389’
[2021-06-10 18:17:58] WARNING[12552][C-00000019] app_dial.c: Unable to create channel of type ‘PJSIP’ (cause 3 - No route to destination)
[2021-06-10 18:17:58] VERBOSE[12552][C-00000019] app_dial.c: No devices or endpoints to dial (technology/resource)

También revisa que el CallerID de salida sea el esperado por tu troncal.

Saludos.

Verifica en la ruta saliente en la solapa "Configuración de Ruta" en el ultimo ítem "Secuencia troncal para rutas…" si esta asignado el proveedor que configuraste (Net2phone )

Hola, un gusto, si me aparece registrada, pero en el endpoints me aparece unavailible.

image

image

Hola , un gusto, si la tengo asignada, no se si sea un tema de mi Ext o de la cuenta, si recibe llamadas la troncal pero me manda ese error al realizar una llmada saliente.

[2021-06-10 18:52:20] ERROR[14409] res_pjsip.c: Endpoint ‘6007275389’: Could not create dialog to invalid URI ‘6007275389’. Is endpoint registered and reachable?
[2021-06-10 18:52:20] ERROR[14409] chan_pjsip.c: Failed to create outgoing session to endpoint ‘6007275389’
[2021-06-10 18:52:20] WARNING[17989][C-00000028] app_dial.c: Unable to create channel of type ‘PJSIP’ (cause 3 - No route to destination)
[2021-06-10 18:52:20] VERBOSE[17989][C-00000028] app_dial.c: No devices or endpoints to dial (technology/resource)
[2021-06-10 18:52:20] VERBOSE[17989][C-00000028] pbx.c: Executing [s@macro-dialout-trunk:35] NoOp(“PJSIP/201-00000022”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 3”) in new stack
[2021-06-10 18:52:20] VERBOSE[17989][C-00000028] pbx.c: Executing [s@macro-dialout-trunk:36] GotoIf(“PJSIP/201-00000022”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2021-06-10 18:52:20] VERBOSE[17989][C-00000028] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2021-06-10 18:52:20] VERBOSE[17989][C-00000028] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“PJSIP/201-00000022”, “RC=3”) in new stack
[2021-06-10 18:52:20] VERBOSE[17989][C-00000028] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“PJSIP/201-00000022”, “3,1”) in new stack
[2021-06-10 18:52:20] VERBOSE[17989][C-00000028] pbx_builtins.c: Goto (macro-dialout-trunk,3,1)
[2021-06-10 18:52:20] VERBOSE[17989][C-00000028] pbx.c: Executing [3@macro-dialout-trunk:1] Goto(“PJSIP/201-00000022”, “continue,1”) in new stack
[2021-06-10 18:52:20] VERBOSE[17989][C-00000028] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)
[2021-06-10 18:52:20] VERBOSE[17989][C-00000028] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp(“PJSIP/201-00000022”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 3 - failing through to other trunks”)

Podrías modificar el nombre de la troncal?? se hace confuso con el URI

Mejor usar nombres como "ruta_net2phone" y de paso revisar los parámetros para conectarte al proveedor.

Listo, ya lo cambie pero sigue igual

Gracias, un detalle, que modo de autenticación esta requiriendo net2phone?? (depende de la información que te haya pasado Net2phone para configurar la troncales).

(IP Authentication (IP address) o Digest Authentication) si es Digest Authentication en la configuración de la troncal activa el Registro ya que esta en la opción Nada.

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