Five (5) years ago...

On 2/25/19 21:09, Mark Herson, N2MH wrote:
Moe and Chuck,

Here's how I did dialing to N8JJ's users. As you can see, I really don't
send calls to his pbx. Instead, I send calls to the various user's phones
ip address. However, I make it look like their MeshPhone number is
937-0xxx where xxx is the 3 digit extension that JJ uses. This code
snippet is from meshphone.conf

; 0xxx extensions correspond to n8jj pbx extensions
exten =>  9370102,1,Dial(SIP/10.81.226.170,30)          ; JJ, N8JJ
exten =>  9370201,1,Dial(SIP/10.82.33.156,30)           ; Reuben,  W8GUC
exten =>  9370401,1,Dial(SIP/10.22.27.26,30)            ; Moe, AB8XA
exten =>  9370410,1,Dial(SIP/10.118.97.219,30)          ; DARA Clubhouse <-- IP still active, but dialing 78# 9370410 did not ring the phone at DARA.
exten =>  9370501,1,Dial(SIP/10.199.152.217,30)         ; Bill, WA8APB
;exten =>  9370502,1,Dial(SIP/10.199.152.211,30)        ; Bill, WA8APB
exten =>  9370502,1,Dial(SIP/10.143.159.68,30)          ; Bill, WA8APB   <-- responds, but does not seem to be a VoIP phone
exten =>  9370801,1,Dial(SIP/10.197.239.234,30)         ; Tim, N8NQH

It's been a while since I put this together, so you should verify the
individual ip address for each phone to make sure that they are still
correct.

Each statement takes the MeshPhone number, translates it to a sip call
directly to the ip address of the respective phone and then waits 30
seconds for the call to be answered. If it is not answered within that 30
second period, the call drops and busy tone gets returned to the caller.
If you would prefer that the Sorry message gets returned after the call
times out, you will need to insert one line after each extension:

exten =>  9370401,n,GoTo(Utilities,Sorry,1)

This is the same treatment for other MeshPhone statements - the only
difference being that the exten => number is different.

73, Mark