You are here

Meshphone on PBX issue

8 posts / 0 new
Last post
KE0RSX
KE0RSX's picture
Meshphone on PBX issue

Hi, everyone,

So I'm setting our PBX up to work with Meshphone and have been following the steps on N2MH's guide (Version 2). Everything works up to the testing of the meshphone.conf file. When I dial 78 (or 78#) 9203 I get a busy signal. Same with any of the utility extensions (they work if I just dial 92xx though). 

Here's my log from asterisk when I make a call:

28580[2022-05-27 20:49:39] VERBOSE[24660] netsock2.c: Using SIP RTP Audio TOS bits 184

28581[2022-05-27 20:49:39] VERBOSE[24660] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
28582[2022-05-27 20:49:39] VERBOSE[24660] netsock2.c: Using SIP RTP Audio CoS mark 5
28583[2022-05-27 20:49:39] VERBOSE[5404][C-00000043] pbx.c: Executing [78@from-internal:1] Set("PJSIP/9205-00000043", "CALLERID(number)=5639205") in new stack
28584[2022-05-27 20:49:39] VERBOSE[5404][C-00000043] pbx.c: Executing [78@from-internal:2] Set("PJSIP/9205-00000043", "CALLERID(ANI)=5639205") in new stack
28585[2022-05-27 20:49:39] VERBOSE[5404][C-00000043] pbx.c: Executing [78@from-internal:3] DISA("PJSIP/9205-00000043", "no-password,MeshPhone,,") in new stack
28586[2022-05-27 20:49:48] VERBOSE[5404][C-00000043] pbx.c: Spawn extension (from-internal, 78, 3) exited non-zero on 'PJSIP/9205-00000043'
28587[2022-05-27 20:49:48] VERBOSE[5404][C-00000043] pbx.c: Executing [h@from-internal:1] Macro("PJSIP/9205-00000043", "hangupcall") in new stack
28588[2022-05-27 20:49:48] VERBOSE[5404][C-00000043] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("PJSIP/9205-00000043", "1?theend") in new stack
28589[2022-05-27 20:49:48] VERBOSE[5404][C-00000043] pbx_builtins.c: Goto (macro-hangupcall,s,3)
28590[2022-05-27 20:49:48] VERBOSE[5404][C-00000043] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("PJSIP/9205-00000043", "0?Set(CDR(recordingfile)=)") in new stack
28591[2022-05-27 20:49:48] VERBOSE[5404][C-00000043] pbx.c: Executing [s@macro-hangupcall:4] Hangup("PJSIP/9205-00000043", "") in new stack
28592[2022-05-27 20:49:48] VERBOSE[5404][C-00000043] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/9205-00000043' in macro 'hangupcall'
28593[2022-05-27 20:49:48] VERBOSE[5404][C-00000043] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/9205-00000043'
 
And here's my copy of the meshphone.conf file from asterisk:
; config file  meshphone.conf  2022-05-28 00:36:03 UTC N2MH file generator

; Copyright (c) 2015, 2017, 2018, 2019, 2021 by Mark Herson, N2MH
; All Rights Reserved

; This is an include file that contains the 7-digit MeshPhone
; routing guide template. Routing instructions can be as broad or
; as specific as appropriate for your environment.

; Entrance into this context is via the Access Code 78 (local user)
; or incoming MeshPhone call from another MeshPhone PBX.

; Traffic flow for this context can be in one of four directions:

; 1. A local user who dials access code 78 (outbound). This call
; exits via a MeshPhone trunk to another MeshPhone PBX or via the
; Sorry message.

; 2. Inbound traffic from a trunk from another MeshPhone PBX. This
; traffic terminates on a local extension.

; 3. Inbound traffic from a trunk from another MeshPhone PBX. This
; traffic exits via a Meshphone trunk to another MeshPhone PBX.
; (This traffic is called "Transit" or "Tandem" traffic.)

; 4. Traffic with an incorrect number. This traffic exits to the
; Sorry message which alerts the caller that there is a problem with
; the number as dialed. An "Office Code" is also given which can
; aid in the diagnosis of the dialing problem.

; Important: read the Notes at the end of this file for instructions
; on how to enter various parameters related to your individual
; configuration.

[MeshPhone]
exten => _56392xx,1,GoTo(from-internal,${EXTEN:3},1) local extensions
; See Note 1 below.

exten =>  1312165,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten =>  1312165,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 01:17:00 UTC

exten => _13163xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _13163xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 01:18:00 UTC

exten => _16180xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _16180xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2020-04-23 19:57:19 UTC

exten =>  1641359,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten =>  1641359,n,GoTo(Utilities,Sorry,1)
; Last updated: 2020-04-23 19:55:32 UTC

exten => _16420xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _16420xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2020-04-23 17:36:23 UTC

exten => _164227[6789],1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _164227[6789],n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 01:43:13 UTC

exten =>  1644350,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten =>  1644350,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 01:44:37 UTC

exten => _16464xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _16464xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 01:47:41 UTC

exten => _16474xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _16474xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2020-04-23 20:00:18 UTC

exten => _201213[78],1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _201213[78],n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 01:53:01 UTC

exten => _201216[67],1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _201216[67],n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 01:54:19 UTC

exten => _20123xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _20123xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 01:55:27 UTC

exten => _2152[01]xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _2152[01]xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2021-03-09 16:53:15 UTC

exten => _2153[0-5]xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _2153[0-5]xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2021-03-03 17:26:57 UTC

exten => _314xxxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _314xxxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2021-03-03 17:42:26 UTC

exten => _36083xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _36083xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 02:43:34 UTC

exten => _401xxxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _401xxxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2020-04-23 23:03:10 UTC

exten => _4035[01]xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _4035[01]xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:26:11 UTC

exten => _42337xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _42337xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:27:13 UTC

exten => _42337xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _42337xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2021-03-03 23:01:21 UTC

exten => _42339xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _42339xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:28:12 UTC

exten => _50381xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _50381xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 02:40:45 UTC

exten => _51043xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _51043xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2021-07-23 02:17:10 UTC

exten => _521xxxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _521xxxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2021-03-11 02:42:53 UTC

exten => _523xxxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _523xxxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2021-03-11 04:20:23 UTC

exten => _525xxxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _525xxxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2021-03-11 02:43:49 UTC

exten => _53324xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _53324xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2019-04-18 09:40:58 UTC

exten => _53334xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _53334xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:30:28 UTC

exten => _53391xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _53391xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:31:31 UTC

exten => _53392xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _53392xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 07:04:07 UTC

exten => _54141xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _54141xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 02:29:05 UTC

exten => _54161xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _54161xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2019-02-23 18:07:45 UTC

exten => _54182xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _54182xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 02:42:06 UTC

exten => 5554998,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => 5554998,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 02:49:28 UTC

exten => _57310xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _57310xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2020-04-26 18:53:10 UTC

exten => _5770[34]xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _5770[34]xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 12:17:11 UTC

exten => _5772xxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _5772xxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 12:20:26 UTC

exten => _5774xxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _5774xxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 12:21:31 UTC

exten => _5775xxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _5775xxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 12:22:44 UTC

exten =>  5779992,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten =>  5779992,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 12:25:31 UTC

exten =>  5779994,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten =>  5779994,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 12:24:16 UTC

exten => _60821xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _60821xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2021-03-03 17:17:29 UTC

exten => _60821xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _60821xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2021-03-11 02:32:19 UTC

exten => _615214[1234],1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _615214[1234],n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:34:36 UTC

exten => _615214[6789],1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _615214[6789],n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:35:39 UTC

exten => _615215[01234],1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _615215[01234],n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 04:26:49 UTC

exten =>  6152177,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten =>  6152177,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:38:35 UTC

exten =>  6152179,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten =>  6152179,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:39:53 UTC

exten => _615217[01],1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _615217[01],n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:36:36 UTC

exten => _615217[45],1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _615217[45],n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:37:41 UTC

exten =>  6152189,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten =>  6152189,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-04 11:38:35 UTC

exten => _615218[23456],1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _615218[23456],n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:40:52 UTC

exten => _6153[45]xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _6153[45]xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 02:42:02 UTC

exten => _61542xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _61542xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-10 02:47:52 UTC

exten => _61544xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _61544xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2019-01-25 03:50:07 UTC

exten => _6293[45]xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _6293[45]xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 04:25:46 UTC

exten => _636xxxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _636xxxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2021-07-23 02:11:00 UTC

exten => _70389xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _70389xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-16 02:35:05 UTC

exten => _71448xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _71448xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2021-07-25 16:27:45 UTC

exten => _7312145,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _7312145,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 04:27:47 UTC

exten => _73132xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _73132xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 04:32:06 UTC

exten => _80112xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _80112xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2020-04-20 18:57:41 UTC

exten => _808xxxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _808xxxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2020-04-23 22:54:07 UTC

exten => _816xxxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _816xxxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 20:16:58 UTC

exten => _81753xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _81753xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 03:13:22 UTC

exten => _84758xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _84758xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 09:35:41 UTC

exten => _84767xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _84767xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 09:38:27 UTC

exten => _84788xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _84788xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 03:16:55 UTC

exten => _865217[23],1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _865217[23],n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:39:08 UTC

exten => _86538xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _86538xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:40:29 UTC

exten => _9013[01]xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _9013[01]xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:41:37 UTC

exten =>  9082132,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten =>  9082132,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:42:37 UTC

exten => _909[67]xxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _909[67]xxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:43:43 UTC

exten => _91041xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _91041xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:44:49 UTC

exten => _913xxxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _913xxxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 20:16:31 UTC

exten => _92830xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _92830xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:46:00 UTC

exten =>  9312176,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten =>  9312176,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:49:21 UTC

exten =>  9312178,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten =>  9312178,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:50:24 UTC

exten =>  9312181,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten =>  9312181,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:51:21 UTC

exten => _93133xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _93133xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:52:31 UTC

exten => _93136xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _93136xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:53:32 UTC

exten => _9370xxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _9370xxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:55:42 UTC

exten => _93710xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _93710xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 12:29:54 UTC

exten => _93711xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _93711xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2019-02-26 02:36:46 UTC

exten => _9372169,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _9372169,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:56:46 UTC

exten => _937216[012],1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _937216[012],n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:54:42 UTC

exten => _94030xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _94030xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-03-12 02:03:30 UTC

exten => _94126xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _94126xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:57:50 UTC

exten => _94968xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _94968xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 06:58:59 UTC

exten => _951xxxx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _951xxxx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 07:00:13 UTC

exten => _973219x,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _973219x,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 07:02:54 UTC

exten => _97321[012]x,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _97321[012]x,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 07:01:16 UTC

exten => _97331xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _97331xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 07:03:58 UTC

exten => _97333xx,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => _97333xx,n,GoTo(Utilities,Sorry,1)
; Last updated: 2018-12-01 07:04:48 UTC

exten => 9992500,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => 9992500,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 02:45:16 UTC

exten => 9995000,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => 9995000,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 02:46:30 UTC

exten => 9996373,1,Dial(IAX2/${NEIGHBOR}/${EXTEN})
exten => 9996373,n,GoTo(Utilities,Sorry,1)
; Last updated: 2022-02-21 02:48:17 UTC

exten => _xxxxxxx,1,GoTo(Utilities,Sorry,1)

; Notes

; 1. Edit this statement to allow incoming calls to complete to your
; local extensions following these rules:

; _ indicates a range of numbers, not just a single number. Leave
; this intact.
; 199 - replace this with your MeshPhone network location code (Area
; Code for US, 1+country code for international locations).
; 31xx - replace the 31 with the first two digits of your local
; extension range. Leave the xx intact.

; 2. ${NEIGHBOR} is defined in file globals_custom.conf. This
; variable is the name of your outgoing trunk to your neighbor
; MeshPhone PBX.

; 3. Include this file into your extensions.conf (or
; extensions_custom.conf for FreePBX\) with a \#include statement.
; e.g.

; #include "/etc/asterisk/meshphone.conf"

; 4. Area code 533 and 577 are defined as a "non-geograpic" area
; codes. They are typically used for end offices that do not have
; a fixed location. Thus, it is used  here for mobile pbx's,
; Go-Kits, and Hamshack Hotline.

; https://www.nationalnanpa.com/enas/npa_query.do

; (Enter "533" or "577" into the search box.)

; 5. This file available via wget:

; wget http://10.73.73.72/dl/meshphone.conf.new 

; Remember to copy over the treatment for local extensions from
; the old file into the new file. When that is done, both the old
; and new meshphone.conf files have to be renamed in this sequence:

; mv meshphone.conf meshphone.conf.old
; mv meshphone.conf.new meshphone.conf

; Powered by AC/DC

; End of include file
 


My guess is it's something simple. But, I'm not sure where to look. I don't have a neighbor trunk set up yet, so it might be trying to use my outbound trunk for Hamshack Hotline.

Thanks and have a great day. :)
Patrick.

nc8q
nc8q's picture
Meshphone(N2MH): Utility '78'

Hi, Patrick:
I am a 'meshphone' user and definitely not an asterisk guru. :-|
AFAIK, dialing 78 should return a dial tone after (5 seconds).
Dialing 78# should return a dial tone immediately.
I think one would not dial 78, then local office code extensions...including local utility extensions.
One dials local office extensions by dialing the office code extension only.

73, Chuck


 

KE0RSX
KE0RSX's picture
Bah!!!! It's the simple things that are screwing with me...
I never even considered that we had to dial the whole number. I guess when I read the notes at the end of the meshphone.conf file, I took it to mean that we could dial our extension. I just tried 78 5639203 and it worked exactly as it should.

Maybe I need more sleep. Yeah, I'm going with that. And, I'm not listed yet, as I don't have a neighboring trunk to connect to. I'm setting everything up on my end and then I'll find a trunk to get on the larger mesh.

Thank you very much for clarifying that for me.

73. Patrick.
N2MH
N2MH's picture
Dial Plan inside your phone

Patrick,

In MeshPhone, there are two ways to make a network call. First way is as you describe, dial 78, wait for dial tone, then dial the 7-digit MeshPhone number. The second way is to dial 77 followed immediately by the 7-digit network number, all in one string.

However, there is a gotcha in this process and it's in your phone. Inside virtually every voip phone there is something usually called "Dial Plan" which tells the phone what digits to expect before sending those digits to the pbx. Usually, there is some default Dial Plan configured from the factory. And, usually, that default Dial Plan does not know about MeshPhone. Thus, if you dial 78, you will have to wait 5 seconds or so for the phone to time out waiting for further digits before it sends the 78 to the pbx. As Chuck points out, if you dial a # after the 78, that is equivalent to the return/enter button on a pc, and the digits will be sent immediately. Once the pbx finally receives the 78, it will return dial tone and expect 7 digits, no more and no less, to complete the MeshPhone call. In some cases. the default dial plan is pretty strict and dialing something that doesn't match will block the call and return busy tone or some sort of error tone. Perhaps this is what you are experiencing.

When configuring Dial Plan inside your phone, you will need to set it to accept your local extension range as well as the access code range for MeshPhone. Or, just blank  it out and remember to dial # after dialing extension numbers or access codes. If you don't dial the #, the call will still go through but you will have to wait 5 seconds for the phone to time out.

You will need to consult your phone vendor's documentation for the Dial Plan syntax. Fortunately, it's pretty much similar from one vendor to another. But, there are subtle differences here and there. In general, Dial Plan is a mask or filter which tells the phone which digits to expect on any given line. So, for example, say your local extension range is 4100 through 4199, that mask would be 41xx. Likewise, MeshPhone access codes can range from 70 through 79. Thus, that mask would be 7x. Putting this all together, this would look like {41xx|7x} for the line in question.

Hope this helps.
73, Mark, N2MH

 

KE0RSX
KE0RSX's picture
It was a PEBCAK issue not a phone issue...

Hi, Mark,

No. It was purely me misreading your guide. For some reason when I read it, I didn't realize that I had to dial the entire seven-digit number to test it out. I was just dialing my extension numbers (9203, 9291, etc) instead of 5639203, 5639291, etc. Once I started dialing 56392xx, everything worked as expected. I should add that I've tried both a Grandstream GXP1405 and a Cisco SPA-942 phone and both work essentially the same way (either 78 and wait five seconds or 78# and dial tone comes up immediately). The wait is annoying, but nothing worth trying to remove.

It's been like this all week. LOL I couldn't get DTMF tones to work and calls dropped after 30 seconds. I found out that was because my local network range got removed from SIP Settings-> NAT Settings for some reason. But, it took two days of searching and scratching my head to learn that. That's after having to completely reinstall FreePBX on my Raspberry Pi, because I had tried to migrate a backup from a regular computer and screwed things up. So my trunks wouldn't work properly.

Thank you and have a great weekend. :)
Patrick.

nc8q
nc8q's picture
I was dialing my extension numbers (9203, 9291, etc) instead
I dial my 4 digit 'office code' (10xx) to reach extensions and utility numbers (109x).
I have also configured the 4 digit 'office codes' of my local neighbors PBXs in area code 937.
Since 21xx is unused in our local exchanges, I can dial Mark N2MH's extensions with its 4 digit office code.
Just saying.
3s, Chuck

 
KE0RSX
KE0RSX's picture
I would like to see that.

I would like to see that. Just because it might be easier to set up for our local NPA, once we have other groups online. I'd rather just have to dial 6709 instead of 5636709.

In the first part of your reply, I guess I wasn't clear. I have the stock configuration, so dialing 78 then 929x shouldn't work (and it didn't work). I had misread the guide and thought it should work, hence why I posted the question originally. From your original reply, I found that dialing 78 then 563929x works So, everything works as it should... Except maybe my brain last week. :-D

Have a great day. :)
Patrick.

nc8q
nc8q's picture
I'd rather just have to dial 6709 instead of 5636709.

Hi, Patrick:

Near the bottom of extensions_custom.conf is
; Insert your existing translations here, including the [from-internal] line.
You add

[from-internal]
;
exten => _14xx,1,GoTo(MeshPhone,937${EXTEN},1) ; CCARA Extensions
exten => _14xx,n,GoTo(Utilities,Sorry,1)
;


Edit the '14' to be your trunked neighbor PBX's two digit 'office code'.
Edit the '937' to be your trunked neighbor PBX's NPA (Area code).

Voila!
Now you can dial your neighbor PBX's extensions by their 4 digit office code.
73, Chuck

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer