Incoming calls ends 1s

Hi Communitty,

We have recently Install in a KVM, with a local server FreePBX v15 and our SIP Trunking Provider is Telnyx. Further, conversations and debugging deeply how the calls are traced, they can confirm the calls are accepting, but after 1s the call ends and they detected our IP Public (Which is dynamic), rejecting the calls after the call is tranferred via SIP Trunking.
That’s why probably the issue can happens with my current Configuration which I made following this article: Telnyx Developers
The Outbound calls are working totally fine, and the Inbounds from my Mobile Phone next to the SNOM IP Phone I have is ringing, obviously I setup a ring Group, where is ringing all the extensions available. However, when external customer let’s say from long distance is trying to call to our Phone Line, the behaviour happens , 1s and the call ends.

I have traced the calls from FreePBX and definetly that happens… ringing (1s), Trying and then Hangsup. So, I wanted know if that happens to you or perhaps knows where to start (I’m kind of newbie at FreePBX and I would like to see what information you will need in order to giving me some advice) Thanks In advance.

This is the trace taken from Asterisk:

[2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:1] NoOp(“PJSIP/kobu-smart-local-000000e3”, “Catch-All DID Match - Found 442045202452 - You probably want a DID for this.”) in new stack
58531 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [442[email protected]:2] Set(“PJSIP/kobu-smart-local-000000e3”, “__FROM_DID=442045202452”) in new stack
58532 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:3] Goto(“PJSIP/kobu-smart-local-000000e3”, “ext-did,s,1”) in new stack
58533 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx_builtins.c: Goto (ext-did,s,1)
58534 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:1] Set(“PJSIP/kobu-smart-local-000000e3”, “__DIRECTION=INBOUND”) in new stack
58535 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:2] Set(“PJSIP/kobu-smart-local-000000e3”, “CHANNEL(tonezone)=uk”) in new stack
58536 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/kobu-smart-local-000000e3”, “0?Set(__FROM_DID=s)”) in new stack
58537 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:4] Set(“PJSIP/kobu-smart-local-000000e3”, “returnhere=1”) in new stack
58538 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:5] Gosub(“PJSIP/kobu-smart-local-000000e3”, “app-blacklist-check,s,1()”) in new stack
58539 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:1] GotoIf(“PJSIP/kobu-smart-local-000000e3”, “0?blacklisted”) in new stack
58540 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:2] Set(“PJSIP/kobu-smart-local-000000e3”, “CALLED_BLACKLIST=1”) in new stack
58541 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:3] Return(“PJSIP/kobu-smart-local-000000e3”, “”) in new stack
58542 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:6] Set(“PJSIP/kobu-smart-local-000000e3”, “CDR(did)=442045202452”) in new stack
58543 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:7] GotoIf(“PJSIP/kobu-smart-local-000000e3”, “0?”) in new stack
58544 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:8] ExecIf(“PJSIP/kobu-smart-local-000000e3”, “0 ?Set(CALLERID(name)=442083707900)”) in new stack
58545 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:9] Set(“PJSIP/kobu-smart-local-000000e3”, “alreturnhere=1”) in new stack
58546 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:10] Gosub(“PJSIP/kobu-smart-local-000000e3”, “app-allowlist-check,s,1()”) in new stack
58547 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:1] GosubIf(“PJSIP/kobu-smart-local-000000e3”, “0?app-allowlist-check-predial-hook,s,1()”) in new stack
58548 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:2] GotoIf(“PJSIP/kobu-smart-local-000000e3”, “0?returnto”) in new stack
58549 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:3] Gosub(“PJSIP/kobu-smart-local-000000e3”, “app-allowlist-pause-check,s,1()”) in new stack
58550 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:1] NoOp(“PJSIP/kobu-smart-local-000000e3”, “Current time 1674226066”) in new stack
58551 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:2] NoOp(“PJSIP/kobu-smart-local-000000e3”, "Pause timer expire ") in new stack
58552 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:3] GosubIf(“PJSIP/kobu-smart-local-000000e3”, “0?app-allowlist-pause-disable,s,1()”) in new stack
58553 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:4] Return(“PJSIP/kobu-smart-local-000000e3”, “”) in new stack
58554 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:4] GotoIf(“PJSIP/kobu-smart-local-000000e3”, “0?returnto”) in new stack
58555 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:5] GotoIf(“PJSIP/kobu-smart-local-000000e3”, “1?check-contacts”) in new stack
58556 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx_builtins.c: Goto (app-allowlist-check,s,8)
58557 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:8] GotoIf(“PJSIP/kobu-smart-local-000000e3”, “1?nonallowlisted”) in new stack
58558 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx_builtins.c: Goto (app-allowlist-check,s,13)
58559 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:13] Answer(“PJSIP/kobu-smart-local-000000e3”, “”) in new stack
58560 [2023-01-20 14:47:46] WARNING[18059] res_pjsip_registrar.c: Endpoint ‘anonymous’ (185.59.221.141:53631) has no configured AORs
58561 [2023-01-20 14:47:46] WARNING[6174] res_pjsip_registrar.c: Endpoint ‘anonymous’ (185.59.221.141:53648) has no configured AORs
58562 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:14] Set(“PJSIP/kobu-smart-local-000000e3”, “ALDEST=”) in new stack
58563 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:15] ExecIf(“PJSIP/kobu-smart-local-000000e3”, “1?Set(ALDEST=app-blackhole,hangup,1)”) in new stack
58564 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:16] GotoIf(“PJSIP/kobu-smart-local-000000e3”, “1?returnto”) in new stack
58565 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx_builtins.c: Goto (app-allowlist-check,s,18)
58566 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:18] Return(“PJSIP/kobu-smart-local-000000e3”, “”) in new stack
58567 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:11] GotoIf(“PJSIP/kobu-smart-local-000000e3”, “22?app-blackhole,hangup,1”) in new stack
58568 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx_builtins.c: Goto (app-blackhole,hangup,1)
58569 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:1] NoOp(“PJSIP/kobu-smart-local-000000e3”, “Blackhole Dest: Hangup”) in new stack
58570 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Executing [[email protected]:2] Hangup(“PJSIP/kobu-smart-local-000000e3”, “”) in new stack
58571 [2023-01-20 14:47:46] VERBOSE[11045][C-000000e1] pbx.c: Spawn extension (app-blackhole, hangup, 2) exited non-zero on ‘PJSIP/kobu-smart-local-000000e3’

Hi Guys, I have solved the problem, and sincerely. So, sorry for this …
The Problem was solved due Outbound Route Configuration I was having at my Route CID +442045202452 instead of 442045202452, what’s not detecting the prepend, as I am having at my Telnyx config without prepend …

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