Incoming calls - Not going to extension

Hi

i am using the latest stable build for FreePBX from the FreePBX site , all built using the .iso file.

I am having trouble with incoming calls, it rings but will not ring the extension. .

However I can ring between extensions and ring out with them too.

The logs are below:

I have replaced the UK number in the format 44NUMBER with 8484848484

== Setting global variable ‘SIPDOMAIN’ to ‘xxxxxxxxxxxx’
– Executing [8484848484@from-internal:1] ResetCDR(“PJSIP/Yay-00000387”, “”) in new stack
– Executing [8484848484@from-internal:2] NoCDR(“PJSIP/Yay-00000387”, “”) in new stack
– Executing [8484848484@from-internal:3] Progress(“PJSIP/Yay-00000387”, “”) in new stack
– Executing [8484848484@from-internal:4] Wait(“PJSIP/Yay-00000387”, “1”) in new stack
– Executing [8484848484@from-internal:5] Playback(“PJSIP/Yay-00000387”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
– <PJSIP/Yay-00000387> Playing ‘silence/1.ulaw’ (language ‘en’)
– <PJSIP/Yay-00000387> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
– <PJSIP/Yay-00000387> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)
– Executing [8484848484@from-internal:6] Wait(“PJSIP/Yay-00000387”, “1”) in new stack
– Executing [8484848484@from-internal:7] Congestion(“PJSIP/Yay-00000387”, “20”) in new stack
== Spawn extension (from-internal, 8484848484, 7) exited non-zero on ‘PJSIP/Yay-00000387’
– Executing [h@from-internal:1] Macro(“PJSIP/Yay-00000387”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/Yay-00000387”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/Yay-00000387”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“PJSIP/Yay-00000387”, " montior file= ") in new stack
– Executing [s@macro-hangupcall:5] GotoIf(“PJSIP/Yay-00000387”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] Hangup(“PJSIP/Yay-00000387”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/Yay-00000387’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/Yay-00000387’

If the log lines provided are intended to be an inbound call from a trunk, then the trunk context is not set correctly. You want it set to from-trunk not from-internal

this is the strange thing the trunk is set to from-trunk

Clearly it’s getting set to “from-internal” somewhere. Check all of your trunk configurations, just to make sure.

Fixed. I thought I had disabled all other trunks whilst i tested this but there was one still active so it must have been hitting that first

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