Hmm, I tried that and it just gives a busy signal. I did find a setting that is working, but the Sangoma phone looks like it is still waiting for the other end to answer, but it does connect and I can page over the other phone system:
PJSIP/403@Adtran,300,Tb
Again, if I use another Sangoma phone on the FreePBX system and dial the custom ext (403), the Toshiba system does go into paging mode and I can talk over the Toshiba system.
Now if I add that same custom extensions (403) to the Paging group, it doesn’t work. No appearance on the Toshiba system and the phone looks like it is paging, but never looks like it dials in the log.
Here’s an asterisk full output: (2999 is the page group and Ext 2002 is a local FreePBX ext making the call)
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@from-internal:1] Goto("PJSIP/2002-000154f8", "app-pagegroups,2999,1") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx_builtins.c: Goto (app-pagegroups,2999,1)
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:1] Macro("PJSIP/2002-000154f8", "user-callerid,") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:1] Set("PJSIP/2002-000154f8", "TOUCH_MONITOR=1533165742.548432") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:2] Set("PJSIP/2002-000154f8", "AMPUSER=2002") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("PJSIP/2002-000154f8", "0?report") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("PJSIP/2002-000154f8", "1?Set(REALCALLERIDNUM=2002)") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:5] Set("PJSIP/2002-000154f8", "AMPUSER=2002") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("PJSIP/2002-000154f8", "0?limit") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:7] Set("PJSIP/2002-000154f8", "AMPUSERCIDNAME=Test Ext2002") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:8] ExecIf("PJSIP/2002-000154f8", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:9] GotoIf("PJSIP/2002-000154f8", "0?report") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:10] Set("PJSIP/2002-000154f8", "AMPUSERCID=2002") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:11] Set("PJSIP/2002-000154f8", "__DIAL_OPTIONS=HhTtr") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:12] Set("PJSIP/2002-000154f8", "CALLERID(all)="Test Ext2002" <2002>") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:13] GotoIf("PJSIP/2002-000154f8", "0?limit") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("PJSIP/2002-000154f8", "0?Set(GROUP(concurrency_limit)=2002)") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:15] ExecIf("PJSIP/2002-000154f8", "0?Set(CHANNEL(language)=)") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:16] NoOp("PJSIP/2002-000154f8", "Macro Depth is 1") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:17] GotoIf("PJSIP/2002-000154f8", "1?report2:macroerror") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:18] GotoIf("PJSIP/2002-000154f8", "0?continue") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:19] ExecIf("PJSIP/2002-000154f8", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:20] Set("PJSIP/2002-000154f8", "__TTL=64") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:21] GotoIf("PJSIP/2002-000154f8", "1?continue") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx_builtins.c: Goto (macro-user-callerid,s,37)
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:37] Set("PJSIP/2002-000154f8", "CALLERID(number)=2002") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:38] Set("PJSIP/2002-000154f8", "CALLERID(name)=Test Ext2002") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:39] GotoIf("PJSIP/2002-000154f8", "0?cnum") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:40] Set("PJSIP/2002-000154f8", "CDR(cnam)=Test Ext2002") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:41] Set("PJSIP/2002-000154f8", "CDR(cnum)=2002") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:42] Set("PJSIP/2002-000154f8", "CHANNEL(language)=en") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:43] ExecIf("PJSIP/2002-000154f8", "0?Set(CALLERID(name)=)") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [s@macro-user-callerid:44] GosubIf("PJSIP/2002-000154f8", "0?app-check-classofservce,s,1()") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:2] Set("PJSIP/2002-000154f8", "_PAGEGROUP=2999") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:3] Set("PJSIP/2002-000154f8", "_PVOL=3") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:4] GotoIf("PJSIP/2002-000154f8", "1?:busy") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:5] Set("PJSIP/2002-000154f8", "DEVICE_STATE(Custom:PAGE2999)=INUSE") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:6] Gosub("PJSIP/2002-000154f8", "app-paging,ssetup,1()") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [ssetup@app-paging:1] Set("PJSIP/2002-000154f8", "_SIPURI=") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [ssetup@app-paging:2] Set("PJSIP/2002-000154f8", "_ALERTINFO=Ring Answer") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [ssetup@app-paging:3] Set("PJSIP/2002-000154f8", "_CALLINFO=<uri>;answer-after=0") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [ssetup@app-paging:4] Set("PJSIP/2002-000154f8", "_SIPURI=intercom=true") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [ssetup@app-paging:5] Set("PJSIP/2002-000154f8", "_DTIME=5") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [ssetup@app-paging:6] Set("PJSIP/2002-000154f8", "_ANSWERMACRO=") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [ssetup@app-paging:7] Set("PJSIP/2002-000154f8", "PAGE_CONF=1533165742789") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [ssetup@app-paging:8] Return("PJSIP/2002-000154f8", "") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:7] Set("PJSIP/2002-000154f8", "PAGEMODE=FPAGE") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:8] Set("PJSIP/2002-000154f8", "PAGE_MEMBERS=403") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:9] Set("PJSIP/2002-000154f8", "PAGE_CONF_OPTS=") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:10] Set("PJSIP/2002-000154f8", "ANNOUNCEMENT=") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:11] Set("PJSIP/2002-000154f8", "_DOPTIONS=A()") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:12] Set("PJSIP/2002-000154f8", "_EXTRINGTIME=true") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:13] Set("PJSIP/2002-000154f8", "STREAM=NONE") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:14] Set("PJSIP/2002-000154f8", "CALLERID(name)=TEST: Test Ext2002") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:15] AGI("PJSIP/2002-000154f8", "page.agi") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/page.agi
[2018-08-01 18:22:22] VERBOSE[30432] dial.c: Called s@app-page-stream
[2018-08-01 18:22:22] VERBOSE[30433][C-0000a100] pbx.c: Executing [s@app-page-stream:1] Wait("Local/s@app-page-stream-000015e8;2", "1") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] res_agi.c: <PJSIP/2002-000154f8>AGI Script page.agi completed, returning 0
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:16] Set("PJSIP/2002-000154f8", "CONFBRIDGE(user,template)=page_user_duplex") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:17] Set("PJSIP/2002-000154f8", "CONFBRIDGE(user,admin)=yes") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:18] Set("PJSIP/2002-000154f8", "CONFBRIDGE(user,marked)=yes") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:19] Answer("PJSIP/2002-000154f8", "") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [2999@app-pagegroups:20] ConfBridge("PJSIP/2002-000154f8", "1533165742789,,,admin_menu") in new stack
[2018-08-01 18:22:22] VERBOSE[30419][C-0000a0ff] bridge_channel.c: Channel PJSIP/2002-000154f8 joined 'softmix' base-bridge <9207b850-56a6-406c-872b-b03568c42bf6>
[2018-08-01 18:22:22] VERBOSE[30436] bridge_channel.c: Channel CBAnn/1533165742789-000015e9;2 joined 'softmix' base-bridge <9207b850-56a6-406c-872b-b03568c42bf6>
[2018-08-01 18:22:22] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:22] VERBOSE[30441] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:22] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:22] VERBOSE[30442] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:23] VERBOSE[30433][C-0000a100] pbx.c: Executing [s@app-page-stream:2] Answer("Local/s@app-page-stream-000015e8;2", "") in new stack
[2018-08-01 18:22:23] VERBOSE[30432] dial.c: Local/s@app-page-stream-000015e8;1 answered
[2018-08-01 18:22:23] VERBOSE[30433][C-0000a100] pbx.c: Executing [s@app-page-stream:3] Set("Local/s@app-page-stream-000015e8;2", "CONFBRIDGE(user,template)=page_user_duplex") in new stack
[2018-08-01 18:22:23] VERBOSE[30433][C-0000a100] pbx.c: Executing [s@app-page-stream:4] Set("Local/s@app-page-stream-000015e8;2", "CONFBRIDGE(user,marked)=yes") in new stack
[2018-08-01 18:22:23] VERBOSE[30433][C-0000a100] pbx.c: Executing [s@app-page-stream:5] ConfBridge("Local/s@app-page-stream-000015e8;2", "1533165742789,,,") in new stack
[2018-08-01 18:22:23] VERBOSE[30433][C-0000a100] bridge_channel.c: Channel Local/s@app-page-stream-000015e8;2 joined 'softmix' base-bridge <9207b850-56a6-406c-872b-b03568c42bf6>
[2018-08-01 18:22:23] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:23] VERBOSE[30447] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:23] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:23] VERBOSE[30448] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:24] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:24] VERBOSE[30453] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:24] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:24] VERBOSE[30454] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:25] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:25] VERBOSE[30461] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:25] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:25] VERBOSE[30462] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:26] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:26] VERBOSE[30469] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:26] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:26] VERBOSE[30470] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:27] VERBOSE[30419][C-0000a0ff] bridge_channel.c: Channel PJSIP/2002-000154f8 left 'softmix' base-bridge <9207b850-56a6-406c-872b-b03568c42bf6>
[2018-08-01 18:22:27] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [h@app-pagegroups:1] ExecIf("PJSIP/2002-000154f8", "1?Set(DEVICE_STATE(Custom:PAGE2999)=NOT_INUSE)") in new stack
[2018-08-01 18:22:27] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [h@app-pagegroups:2] GosubIf("PJSIP/2002-000154f8", "0?record-page,1()") in new stack
[2018-08-01 18:22:27] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [h@app-pagegroups:3] ExecIf("PJSIP/2002-000154f8", "0?System(rm .sln)") in new stack
[2018-08-01 18:22:27] VERBOSE[30419][C-0000a0ff] pbx.c: Executing [h@app-pagegroups:4] ExecIf("PJSIP/2002-000154f8", "0?System(rm -f /var/spool/asterisk/outgoing/)") in new stack
[2018-08-01 18:22:27] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:27] VERBOSE[30506] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:27] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:27] VERBOSE[30508] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:28] VERBOSE[30433][C-0000a100] bridge_channel.c: Channel Local/s@app-page-stream-000015e8;2 left 'softmix' base-bridge <9207b850-56a6-406c-872b-b03568c42bf6>
[2018-08-01 18:22:28] VERBOSE[30436] bridge_channel.c: Channel CBAnn/1533165742789-000015e9;2 left 'softmix' base-bridge <9207b850-56a6-406c-872b-b03568c42bf6>
[2018-08-01 18:22:28] VERBOSE[11933] asterisk.c: Remote UNIX connection
[2018-08-01 18:22:28] VERBOSE[30525] asterisk.c: Remote UNIX connection disconnected
[2018-08-01 18:22:28] VERBOSE[11933] asterisk.c: Remote UNIX connection`