1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you had a PIAF Forum account in the vBulletin days, log in with your old credentials. Otherwise, sign up again and we'll get you back in business as soon as we can.
  3. Guest: We think the problem with locked threads from long message subjects has been resolved. Post a link here if you still see a problem.

TUTORIAL U Need Travelin' Man

Discussion in 'Add-On Install Instructions' started by wardmundy, Jun 28, 2010.

  1. rossiv Guru

    In Webmin, Networking, Linux Firewall, Add Rule, set Source address or network to your DynDNS FQDN.
  2. dandy_don New Member

    Greeting Ward, et. al.,

    First -- Thanks for all of your great work!

    I've got traveling man working, but it works for inbound calls only. I can never ring the external softphone from anywhere behind the firewall. Calls into any of the extensions behind the firewall with the server work fine and I can also place calls to real world phones. However, I can not ever call the traveling man extension from any of the extensions inside the firewall.

    I followed the instructions in the article, forwarded the ports as instructed, etc. When try calling extension 501, I get error code 503 shown on the internal extension I'm dialing from. If I phone into the server from a phone from the outside world and then try dialing out to extension 501, I get the voice message "Your call cannot be completed as dialed..."

    I thought that once the remote extension successfully registers with the server, that the server should be able to communicate back to the remote extension...

    I've posted this problem elsewhere but haven't gotten any responses, so I'm stumped. Is traveling man supposed to permit dialing out to the remote extension? If so, how should I troubleshoot this? Any help is greatly appreciated.

    Thanks,
    Don
  3. dandy_don New Member

    This is probably a very basic (stupid) question but I've looked and haven't yet found the reason... IAX uses a single port for everything and from what I have read, is much better at traversing NAT, etc. while keeping audio intact. And it seems to have other advantages over SIP. If this isn't correct, please help me to better understand.

    So then why is using a SIP softphone vs. an IAX softphone better? Or what I'm actually asking is what is the advantage of using a remote SIP softphone instead of a remote IAX softphone?

    And if using an IAX softphone, shouldn't/couldn't something akin to traveling man be used to open that port for only when it is needed by the legitimate remote IAX softphones? That way iptables could also protect the IAX port.

    Thanks,
    Don
  4. ramboaz New Member

    No Audio

    Hello,

    I have been experimenting with Travelin' Man, and while my remote extension connects and registers there is no audio in either direction when calls are made.

    If possible, I'd also like to be able to take advantage of calling features such as wake-up calls.

    The setup is PIAF Purple on an Intel Atom 330 Mini-ITX board, 2GB RAM, 160GB Hard Drive behind a Linksys WRT54GS-based router (DD-WRT), UDP ports opened as per setup instructions. 10000-20000 open as well.
    24Mbps Down/1Mbps Upload connection.
    On the remote end, I have a Linksys PAP2T behind a Linksys E1000 router.
    Do I need a STUN Server? Please let me know what I've done wrong, or what else needs to be done.

    Thanks,
    Ram

    PIAF Purple:
    Asterisk = ONLINE | Zap/Dahdi = UNKNOWN | MySQL = ONLINE │
    │ SSH = ONLINE | Apache = ONLINE | Iptables = ONLINE │
    │ Fail2ban = ONLINE | Internet = ONLINE | Ip6Tables = ONLINE │
    │ BlueTooth = ONLINE | Hidd = ONLINE | NTPD = ONLINE │
    │ SendMail = ONLINE | Samba = ONLINE | Webmin = ONLINE │
    │ Ethernet0 = ONLINE | Ethernet1 = N/A | Wlan0 = N/A │
    │ │
    │ PBX in a Flash Version = 1.7.5.6 Running on *HARDWARE* │
    │ FreePBX Version = 2.8.1.4 │
    │ Running Asterisk Version = 1.8.4.1 │
    │ Asterisk Source Version = UNKNOWN │
    │ Zap/Dahdi Source Version = N/A │
    │ Libpri Source Version = UNKNOWN │
    │ IP Address = 192.168.1.105 on eth0 │
    │ Operating System = CentOS release 5.7 (Final) │
    │ Kernel Version = 2.6.18-238.19.1.el5 - 32 Bit │
  5. dad311 Guru


    Why not install a OpenVPN server on the PBX and a OpenVPN client on your E1000 router (with dd-wrt firmware)? No NAT, no STUN, only one port to open up on the server side and your pap2t will be on the same network as your PBX.


    http://pbxinaflash.com/forum/showthread.php?t=12198
  6. ramboaz New Member

    Thanks for the prompt reply. The script says it works on CentOS 6+, and I'm running 5.7. Do I have to upgrade the CentOS first? Should I take the plunge and upgrade the whole system to the latest PIAF/Incredible PBX?
  7. dad311 Guru

    Attached is Easy OpenVPN-1.1.1. It should work on Centos 5.7.

    Make sure your E1000 router version , supports dd-wrt.

    Attached Files:

  8. ramboaz New Member

    Thanks for the prompt reply. I appreciate the information and I'll post back in a day or so when I'm able to get to the remote location to do the updates.
  9. dad311 Guru

    Try the attached script, its Easy OpenVPN v1.1.1(for centos 5) with v1.2 dd-wrt configuration. Its untested, but should work. Please let me know if it worked for you.

    Attached Files:

  10. jjsmd New Member

    Just out of curiosity, is TravellinMan still available and does it work on the latest PbxIaf and incredible PBX3?

    Joe
  11. wardmundy Nerd Uno

    Travelin' Man 2 coming shortly. Stay tuned!
  12. grillovillegas New Member

  13. wardmundy Nerd Uno

    That should work on 32-bit systems until the final release.
  14. darmock PIAF Developer

    The one that is to be released is a ground up rewrite specifically for PBX in a Flash 2.0.6.2.X and you must have incredible pbx 3.0 installed. Older versions other versions wont work.

    The new program is install-travelman2. Hopefully this will differentiate it from travelinman2.


    TOm
  15. virshu New Member

    I am copying a conversation from Google discussion:

    Me: I have a question... Let's say my primary place is defined as FQDN (myplace.dyn.com). Everything is fine until IP changes. ipcheck goes through *.iptables, but the primary FQDN doesn't have associated *.iptables file. So, as soon as IP changes, I'll be locked.

    Is this analysis correct? For now I created primary .iptables similar to other files that get created as result of add-fqdn. Can't hurt even if I am wrong :)

    Ross Lindsay
    They way TM works with FQDNs is that the IPChecker script checks for IP changes, and if the IP changes, updates the applicable rules in IPTables and removes the old ones.
    Me:
    I am sorry, Ross - either you misunderstand my question, or I misunderstand your answer... IPChecker script checks for IP changes of what? Isn't it running through account array that lists *.iptables files?

    So, my question still remains: as implemented, wouldn't ipchecker miss the change in the IP of the primary FQDN?
  16. krakastan Guru

    any reason not to create a ,iptables file for your primary FQDN ?
  17. wardmundy Nerd Uno

    That gets set up automatically when you install Travelin' Man 3. You can install both!

Share This Page