Interbranch calling not working using DUNDI/IAX

Hi Everyone

I am a FreePBX newbie and would like some assistance with setting up inter office calling. I hope there is someone out there that can assist. :smile:
So far I have two PBX’s configured, PBX A with extension range 3XX and PBX B with extension range 25XX. Both are working as independent systems but I would like to be able to call extensions on the other PBX.
I have configured a DUNDI lookup and IAX2 trunk along with the relevant outbound routes.
So far PBX B is able to dial extensions 3XX with no problem but extensions on PBX A cannot dial PBX B extensions.

Is there anything obvious I should be checking?
If I check the log I get the following in the log file:

[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] pbx.c: – Executing [s@macro-dialout-dundi:21] ExecIf(“SIP/303-00009c29”, “1?Set(DIALSTATUS=INVALIDNMBR)”) in new stack
[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] pbx.c: – Executing [s@macro-dialout-dundi:22] GotoIf(“SIP/303-00009c29”, “0?continue,1:s-INVALIDNMBR,1”) in new stack
[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] pbx.c: – Executing [s@macro-dialout-dundi:22] GotoIf(“SIP/303-00009c29”, “0?continue,1:s-INVALIDNMBR,1”) in new stack
[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] pbx.c: – Goto (macro-dialout-dundi,s-INVALIDNMBR,1)
[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] pbx.c: – Goto (macro-dialout-dundi,s-INVALIDNMBR,1)
[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] pbx.c: – Executing [s-INVALIDNMBR@macro-dialout-dundi:1] NoOp(“SIP/303-00009c29”, “Dial failed due to trunk reporting Address Incomplete - giving up”) in new stack
[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] pbx.c: – Executing [s-INVALIDNMBR@macro-dialout-dundi:1] NoOp(“SIP/303-00009c29”, “Dial failed due to trunk reporting Address Incomplete - giving up”) in new stack
[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] pbx.c: – Executing [s-INVALIDNMBR@macro-dialout-dundi:2] Progress(“SIP/303-00009c29”, “”) in new stack
[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] pbx.c: – Executing [s-INVALIDNMBR@macro-dialout-dundi:2] Progress(“SIP/303-00009c29”, “”) in new stack
[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] pbx.c: – Executing [s-INVALIDNMBR@macro-dialout-dundi:3] Playback(“SIP/303-00009c29”, “ss-noservice,noanswer”) in new stack
[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] pbx.c: – Executing [s-INVALIDNMBR@macro-dialout-dundi:3] Playback(“SIP/303-00009c29”, “ss-noservice,noanswer”) in new stack
[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] file.c: – <SIP/303-00009c29> Playing ‘ss-noservice.gsm’ (language ‘en’)
[2015-10-09 15:37:16] VERBOSE[6475][C-00012046] file.c: – <SIP/303-00009c29> Playing ‘ss-noservice.gsm’ (language ‘en’)
[2015-10-09 15:37:17] VERBOSE[6475][C-00012046] app_macro.c: == Spawn extension (macro-dialout-dundi, s-INVALIDNMBR, 3) exited non-zero on ‘SIP/303-00009c29’ in macro ‘dialout-dundi’
[2015-10-09 15:37:17] VERBOSE[6475][C-00012046] app_macro.c: == Spawn extension (macro-dialout-dundi, s-INVALIDNMBR, 3) exited non-zero on ‘SIP/303-00009c29’ in macro ‘dialout-dundi’
[2015-10-09 15:37:17] VERBOSE[6475][C-00012046] pbx.c: == Spawn extension (from-internal, 2501, 6) exited non-zero on ‘SIP/303-00009c29’
[2015-10-09 15:37:17] VERBOSE[6475][C-00012046] pbx.c: == Spawn extension (from-internal, 2501, 6) exited non-zero on ‘SIP/303-00009c29’
[2015-10-09 15:37:17] VERBOSE[4025] chan_sip.c: == Extension Changed 303[ext-local] new state Idle for Notify User 100
[2015-10-09 15:37:17] VERBOSE[4025] chan_sip.c: == Extension Changed 303[ext-local] new state Idle for Notify User 100
[2015-10-09 15:37:17] VERBOSE[6475][C-00012046] pbx.c: – Executing [h@from-internal:1] Hangup(“SIP/303-00009c29”, “”) in new stack
[2015-10-09 15:37:17] VERBOSE[6475][C-00012046] pbx.c: – Executing [h@from-internal:1] Hangup(“SIP/303-00009c29”, “”) in new stack
[2015-10-09 15:37:17] VERBOSE[6475][C-00012046] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/303-00009c29’
[2015-10-09 15:37:17] VERBOSE[6475][C-00012046] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/303-00009c29’