You are here

Two way path

2 posts / 0 new
Last post
WB6YOK
Two way path

So of course embedded images don't work. Meh!

See attachments.

All,

Hope your holidays were absolutely outstanding!

I have been engaged in a private email conversation with Joe regarding the trunking og two freepbx servers. One on the mesh and one on my local network.

Base on some good information from Joe... and fixing some idiocy on my part I can now make a call from a mesh connected phone to a locally connected phone.

The issue has been I can't make calls from the locally connected phone to the mesh connected phone.

I am using iax2 for the trunking protocol. It's much simpler than a SIP trunk. It only requires an open UDP port at 4569.

Here are some screenshots that show what I have currently configured.





Joe, among other things thought I might have to build a custom route using the 59-custom-rules file.

I have looked at the file and really don't have a clue as to how I might set things up there.

#iptables -t nat -A zone_wan_prerouting       -p tcp -m tcp --dport 8082                -j DNAT             --to <IP address of ipcam>            -m comment --comment "my mesh ipCam"
#iptables -t nat -A zone_wifi_postrouting     -p tcp -m tcp -d <IP address of ipcam>    -j SNAT --dport 80  --to-source <IP wifi on this node>    -m comment --comment "my mesh ipCam"
#iptables -t nat -A zone_dtdlink_postrouting  -p tcp -m tcp -d <IP address of ipcam>    -j SNAT --dport 80  --to-source <IP dtdlink on this node> -m comment --comment "my mesh ipCam"

For one, what is a dtdlink ip address?

Here is a bit more info on the node in question.

This has been particular frustrating in that terms and definitions unique to mesh networking are sparse.

I'd appreciate any help you folks can provide.

73,

Chuck
WB6YOK


 

File Attachment: 
nc8q
nc8q's picture
PSTN-PBX<>Mesh-PBX

Public Switched Telephone Network

I have a RasPBX on the mesh.
I have another RasPBX providing a PSTN from a (very cheap) VOIP service via an IAX trunk.
I trunked the two RasPBXs using IAX2.

I simply subscribed to a VOIP service and configured it as a IAX trunk.
(VOIP service is an IAX trunk. The 2 RasPBXs are IAX trunked.)

In keeping with standards (dial 9 for an outside line) and Mark N2MH's "meshphone" (copyleft trademark dial 7x),
to access the PSTN line from mesh, the registered mesh-phone user dials with prefix '79'.
e.g. 79-555-555-1212 or for local calls one may omit my area code, 79-555-1212.

I have created a crude IVR to intercept inbound calls.
Inbound callers may enter an extension or opt to leave a voice message (by extension).
Dialing '9' will ring all my (active and registered) extensions.

Is this anything like what you want?

Chuck

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer