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. A serious FreePBX vulnerability has been reported. Update your Framework Module immediately. Click here for details.

Counterpath Softphone and Dynamic IP

Discussion in 'Help' started by peterbata, Feb 26, 2012.

  1. peterbata Member

    Hello all. For the last few weeks I have setup my softphone to use my dynamic ip address. eg. piafpbx.dyndns.org

    My setup:

    [IMG]

    Port fowarding at the router end has not changed. I have even tried ports 55060 and 5080. Nothing doing. The only time that it will function is when I enter the PIAF server ip: In my case 192.168.0.32

    I should also mention that this is all happening at the same internal location, and that I did a fresh install of PIAF. Complete with ddclient.

    [IMG]


    The setting above always worked up until a day ago.
  2. phonebuff Guru

    I am guessing that your router is connected to a WAN that gives you Dynamic IP Assignments and your IP assignment changed. Your pointing at the dyndns entry probably is handling part of the equation, but what is the content of sip_nat.conf specifically the externip= line ?

    Also, what errors if any do you see in the asterisk log file "full" when you try and connect ?

    -------------------
  3. peterbata Member

    Hello, and thank you so much for the prompt reply. I really appreciate it.

    Yes my IP does change on occasion, but not very often.

    If you are referring to sip_nat.conf located at /etc/asterisk this file is empty.

    I am not really sure how to retrieve or generate log file "full" but was able to copy / paste this.

    [2012-02-26 23:38:22] NOTICE[1769] chan_sip.c: Registration from '"Peter"<sip:701@mypbx.dyndns.org>' failed for '174.xx.xxx.49:9692' - Device does not match ACL
    [2012-02-26 23:38:22] NOTICE[1769] chan_sip.c: Registration from '"Peter"<sip:701@mypbx.dyndns.org>' failed for '174.xx.xxx.49:9692' - Device does not match ACL
    [2012-02-26 23:38:34] VERBOSE[3987] manager.c: == Manager 'admin' logged on from 127.0.0.1

  4. rossiv Guru

    "Device does not match ACL" means that the IP Address that you are trying to register from is denied in Asterisk. Go to FreePBX > Extensions > 701 and look at the Permit and Deny lines. If you need to register from outside the network where the PBX is, change both the Permit and Deny values to 0.0.0.0/0.0.0.0.Be warned though - Anyone can attempt to register to your server this way. I recommend using either a whitelist or Travelinman for the most secure approach.
  5. phonebuff Guru

    Well,

    I agree with the above you should check the extension.

    BUt you should also make sure you have a /etc/asterisk/sip_nat.conf with at least the following statements copied from a FreePBX forum post or voip-Info.org

  6. peterbata Member

    Thank you to both rossiv and phonebuff for taking the time to providing your valuable input. It is greatly appreciated.

    I did forget to mention a couple of things however.
    1) I am able to access such things as Webmin and Travelinman from a pc located outside of our premises. eg. mypiafpbx.dyndns.org:83/12345.

    2) Just around the time that I began experiencing problems, I did notice that the interface of my router login / admin pages had changed dramatically. I assume that my ISP performed some type of firmware update or so without the knowledge of their clientele. I am with Bell using a 2WIRE wireless modem / router combo.

    I will definitely look into the matter of the extension. Sounds like the logical place to start.

    Have yourselves a wonderful day. Thanks again for the assistance. Peter
  7. phonebuff Guru

    Okay,

    UVerse all Bets are off. This 2Wire box they use is a very broken device in my opinion and I gave up on mine and went back to straight DSL for now.

    What you can do with a Browser and how SIP behaves are two totally different worlds, and I would NEVER let a public IP browse into my Asterisk box. Use an SSH Tunnel for this and protect yourself..

    Good Luck..


  8. peterbata Member

    I haven't been very happy with the device ever since our provider decided to replace the older Speedstream units with this door stopper (I wish). Even our smartphones started behaving oddly after the switch was made.

    Thanks again for taking the time to assist me with my issue(s). Back to the drawing board as they say.

  9. peterbata Member

    Well, for what it's worth. I re-installed PIAF. This time choosing to install Purple version 2.9.0.9. Very straightforward install but NO Incredible PBX / NO Travelinman / No Incedible Fax this time. My softphone works just fine when using my dynamic IP address. Must have been something in the way the extensions were configured in the larger install.

    Thanks again. No Pain, No Gain I suppose !

  10. phonebuff Guru

    Well,

    I would bet it will be back. You probably masked the issue instead of identifying and solving it.

    Good Luck.
    ---------------
  11. peterbata Member

    One of the major / obvious differences between the basic install vs install with Incredible PBX are all the pre-configured extensions. So, it may very well have been what rossiv eluded to in one of his earlier responses to me in post #4 where he says:

    "Device does not match ACL" means that the IP Address that you are trying to register from is denied in Asterisk. Go to FreePBX > Extensions > 701 and look at the Permit and Deny lines. If you need to register from outside the network where the PBX is, change both the Permit and Deny values to 0.0.0.0/0.0.0.0.Be warned though - Anyone can attempt to register to your server this way. I recommend using either a whitelist or Travelinman for the most secure approach.

    As far as the problem re-occuring, I hope that you are wrong. But, I'm up for any challenge. Again, I thank you for all the help. Have a great evening. Peter

Share This Page