I didn’t see anything wrong after reviewing that document.
this is what I see. This is working from the raspbx
Executing s@macro-dialout-trunk:23 Dial(SIP/6001-00000010, IAX2/Slave1/1001,300,Ttr
app_dial.c: – Called IAX2/Slave1/1001
chan_iax2.c: – Call accepted by 192.168.15.1 (format alaw)
chan_iax2.c: – Format for call is (alaw)
app_dial.c: – IAX2/Slave1-4778 is ringing
app_dial.c: – IAX2/Slave1-4778 is ringing
chan_iax2.c: – Hungup IAX2/Slave1-4778
This is dial from the FreePBX PC to the raspbx
pbx.c: – Executing [s@macro-dialout-trunk:17] Macro( SIP/1001-00000021, dialout-trunk-predial-hook, in new stack
pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit( SIP/1001-00000021 ) in new stack
pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf ( SIP/1001-00000021 , 0?bypass,1) in new stack
pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf ( SIP/1001-00000021, “1?Set(CONNECTEDLINE(num,i)=6001)”) in new stack
pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/1001-00000021”, “1?Set(CONNECTEDLINE(name,i)=CID:1001)”) in new stack
pbx.c: – Executing [s@macro-dialout-trunk:21] ExecIf(“SIP/1001-00000021”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)1001)”) in new stack
pbx.c: – Executing [s AT macro-dialout-trunk:22] GotoIf(“SIP/1001-00000021”, “0?customtrunk”) in new stack
pbx.c: – Executing [s AT macro-dialout-trunk:23] Dial(“SIP/1001-00000021”, “IAX2/Master/6001,300,Ttr”) in new stack
app_dial.c: – Called IAX2/Master/6001
chan_iax2.c: – Hungup 'IAX2/Master-4876’
app_macro.c: == Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on ‘SIP/1001-00000021’ in macro 'dialout-trunk’
pbx.c: == Spawn extension (from-internal, 6001, 7) exited non-zero on 'SIP/1001-00000021’
pbx.c: – Executing [h@from-internal:1] Macro(“SIP/1001-00000021”, “hangupcall”) in new stack
Hi Dicko,
Well I found a typo and thats what the issue was. That one last little bug … Thank you for your suggestions earlier today. Hope you have a great weekend…