This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PBX In A Flash and SIP

Hey Fellas,

Ok so quick question for you.  I recently just setup a killer PBX setup with google voice from here The Incredible PBX.  Ok so now I want to connect a SIP device to my PBXIF box.  I have opened up the SIP port 5060 and forwarded it through DNAT to my PBX box.  I also opened up the other ports 10000-20000 and also sent those where they need to go.  However I cannot for the life of me get sip to work.  I have checked every setting I can think of but no love.  Any help or guidance that you can provide is greatly appreciated and thank you very much for your time.


This thread was automatically locked due to age.
Parents
  • I think the sip helper won't work that way.  AFAIK, it thinks the server is outside and client inside.   Is it possible to set up a VPN from the remote site and have your remote IP phone use the internal address?
  • So I got it to work,  I am not sure exactly which item in my trial and error got it to go but its working [:)].  I added my network information to the sip.conf as well as sip_nat.conf.  Oh and I also created another packet filter rule as well.  So hey its working and thats awesome.
  • So I got it to work,  I am not sure exactly which item in my trial and error got it to go but its working [:)].  I added my network information to the sip.conf as well as sip_nat.conf.  Oh and I also created another packet filter rule as well.  So hey its working and thats awesome.


    Could you share your setup?  I'm also attempting to get PBX in a flash to work with astaro security gateway and I'm having zero success.
Reply
  • So I got it to work,  I am not sure exactly which item in my trial and error got it to go but its working [:)].  I added my network information to the sip.conf as well as sip_nat.conf.  Oh and I also created another packet filter rule as well.  So hey its working and thats awesome.


    Could you share your setup?  I'm also attempting to get PBX in a flash to work with astaro security gateway and I'm having zero success.
Children
  • Could you share your setup?  I'm also attempting to get PBX in a flash to work with astaro security gateway and I'm having zero success.


    Ok so first off I followed the setup that Mr. Fuzz did in the link up above.  Found out after the fact that you don't need to modify any of the FreePBX files like sip.conf sip_nat_custom.conf or any of those.  
    You also don't need the VOiP helper either
    Ok so after I got all of that setup I still could not connect to my server, so I started to tail the log files under /var/log/asterisk/full (tail -f /var/log/asterisk/full) Then I started to see stupid errors showing up in the log file where you could see that the device was trying to connect to the extension but it wasn't btw you can also add grep to your tail command tail -f /var/log/astersik/full | grep (your extension number)
    So after seeing this I decided for the time being to disable IPTables and fail2ban 
    /etc/init.d/iptables stop and /etc/init.d/fail2ban
    BTW keep in mind that I am doing all of this on my PBX box not the Astaro box
    After I did that my external sip device authenticated with the server
    Once you can do that and make sure that you can authenticate turn back on iptables and fail2ban
    /etc/init.d/iptables start && /etc/init.d/fail2ban start
    Ok now go back to your FreePBX web page and go to extensions, click on the extension that you want to be able to use remotely
    Scroll down to where the permit and deny section is, change the permit IP to the IP of the remote location if the remote location has a static IP or just change it to 0.0.0.0/0.0.0.0
    Once you are all done with that double check your sip settings under tools > sip and make sure that you are setup for Nat and you have the right IP settings in place.
    All done activate your changes and you should be good to go. If you are not let me know.
  • Hello! 

    Please check www.flashphoner.com 
    This is RTMP-SIP server which can help you here 

    Functions: 
    - Audio - Speex, g.711, g.729 
    - Video - h.263, h.264 
    - SIP - calls, transfer, hold, DTMF 
    - API - ActionScript, JavaScript 
    - Open source client 
    - Open source server java app 

    Thanks, 
    Pavel