connecting Two Freepbx servers Over iax Trunk

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024
  • in this video i have configured an Iax trunk between two freepbx servers and configured Dialplan rules that both sides of severs be able to have connectivity & reachability .
    for more info :
    www.seldomtuts.com
    Facebook :
    seldomtuts

Комментарии • 47

  • @munongotony
    @munongotony 7 лет назад

    Great tutorial - very easy to follow and understand. I am a biginner with FreePBX and this video answered a number of confusing settings I was reading about. Thank you!!!

  • @CoolTI-Daniel
    @CoolTI-Daniel 3 года назад

    Thank you so much, I was having trouble with the one from the freepbx wiki. I ended up following your walkthrough and it worked perfectly.
    My setup is over internet with NAT routers so I port Forwarded 4569 UDP (Default IAX port) to the PBX on both routers.
    I recommend having both locations with static IP's and setting up the NAT with From Source to keep it a bit more secured.

  • @teksyscomputers2339
    @teksyscomputers2339 8 лет назад +2

    Thank you !! its been years since I did this and I had completley forgotten, your video got me done in under 5 mins.. VERY helpful !

  • @thefmmax
    @thefmmax 8 лет назад +1

    Thanks a million!!! Your video brought to light a very important point. Other tutorials show the context as being context=from-internal as yours shows context=from-trunk which makes all the difference if you're connecting over a trunk. We were having a big headache because of that. You have relieved us from an endless looping problem.

    • @seldomtutorials7401
      @seldomtutorials7401  8 лет назад

      well , for the context its from-trunk
      but for the context its from-internal
      why did we do that for internal ?
      because once the incomming call hit the server , we want it to be able to reach our internal phones # ans thats the trick here
      again its my pleasure that this video helped you .
      if you want more vidz u can subscribe , im gonna add more videos soon

    • @thefmmax
      @thefmmax 8 лет назад

      Great!!! Thanks for the clarifying this!!

  • @travelshotz
    @travelshotz 7 лет назад +2

    @Seldom Tutorials does that work with a local freepbx and a public one ? (i have 2 servers one in a local network and one over the internet with a public ip )

  • @sammykinyua3223
    @sammykinyua3223 5 лет назад +2

    why context=internal from an incoming connection of one pbx and other pbx context=from trunk and yet both sections are for for incoming configurations.I thought both pbx incoming connections should have same context configuration

    • @AlvatronsYT
      @AlvatronsYT 11 месяцев назад

      I have the same question, did you find why this is?

  • @bestattitude
    @bestattitude 3 года назад +1

    Ahmed, thank you so much for these 2 videos, they’re both very helpful. Still, I have 3 questions :
    - what is the difference between setting up a SIP trunk and an IAX trunk ? Which one is better in your opinion, and why ?
    - is there a way to use the BLF functionality when connecting two FreePBX servers that are in two different locations (two different cities) ? It would be great to be able to monitor the status of an extension that’s on the « remote » PBX 😃
    - does the Intercom/paging functionality work between the two PBX (assuming the dialplan is set up accordingly) ?
    Thank you for your kind reply !

    • @giancarlosrm
      @giancarlosrm 2 года назад

      HI Karim, read your message and I would like if you were able to do it?

    • @bestattitude
      @bestattitude 2 года назад +1

      @@giancarlosrm Hi Giancarlo! Actually, I haven’t tried yet. I’ve been willing to try this out for years now, but I keep postponing… 😅

    • @giancarlosrm
      @giancarlosrm 2 года назад

      @@bestattitude next week I will do a lab, lets see if works, I let you know, send me your email

  • @DiyintheGhetto
    @DiyintheGhetto 7 лет назад

    Hello with this sertup We will be able to transfer calls from one FreePBX to the second FreePBX? I know the lines will be inuse on the first one But it will still transfer the calls?

  • @joediamondcpa796
    @joediamondcpa796 Год назад

    Nice job!

  • @ИльяКакаяразница
    @ИльяКакаяразница 11 месяцев назад

    Hi Ahmad, is it possible to do iax2 trunk via IPv6. If it is, please tell how.

  • @thetechsquaddetroit4834
    @thetechsquaddetroit4834 6 лет назад

    could you set this up on ViciDial as well? If so, how would the dial plan be setup for that?

  • @stevecarr3019
    @stevecarr3019 7 лет назад +1

    hi, thank you, very informative. I set this up today using another tutorial from the freepbx forum, it worked a treat although I didn't need to set up the incoming part on either pix. ?.

  • @ezguitarworship954
    @ezguitarworship954 3 года назад

    thank u so much man!!! u saved me

  • @davemartinx
    @davemartinx 8 лет назад +1

    Great..! What if you pbx2 is behind a NAT, do you need to open some ports?

    • @seldomtutorials7401
      @seldomtutorials7401  8 лет назад

      well i cant give you direct answer untill we have full details on the topology you have .
      all what you need is you have to make sure that the 2 severs ips reach others .
      if there are servers behind routers or behind nat , then you will need to do portforwardig to the IAX port

  • @jeffkleinhenz5594
    @jeffkleinhenz5594 6 лет назад

    Your video has been helpful, but I have some further testing and verification to see if my configs match up how they should.
    I am trying to run two PBX servers in parallel for live testing while we try and migrate from an older FreePBX system running Asterisk 1.8 to a newer FreePBX system running FreePBX 12 or higher.
    EDIT: Both servers are currently on the same subnet and we have physical desk phones for testing. I have one manually configured to register to PBX2 instead of pulling the config from PBX1 and overriding my settings.
    Last time I worked on this (several weeks ago), the IAX2 was established successfully between the two servers and they were able to see each other.
    My goal is to have the same set of extensions exist on PBX1 and PBX2.
    For example...
    PBX1 would have extension 1000, PBX2 would also have extension 1000.
    A phone is registered to PBX2.
    A dial plan would be added (in addition to the existing dial plans) that would force any calls bound for extension 1000 over the IAX2 trunk to PBX2 and ring the phone registered to it.
    Last time I tested this, the result was either "Your call can not be completed as dialed" or line busy or something. Something isn't right, and at the moment, I suspect it could be a dial plan issue.
    EDIT: Additionally, the phone I have set up to test says No Service (could be a registration issue due to my manual configuration).
    Is what I've described even possible? To have the same extensions on each server and just selectively route the calls via an additional dial plan?
    Please correct me if I'm wrong in any of this. I am by no means an expert with Asterisk, but I've worked my way through things the past year and a half after inheriting our aging PBX from the old network admin.
    EDIT: Also, I have yet to try the softphone testing, but I will try it. I'll give Zoiper a try.

  • @DiyintheGhetto
    @DiyintheGhetto 4 года назад

    Hello I have tried the iax one of your video and I can not get it to work. I can get ping the address from one server to the second one. I can see everything from one server to another one and vs versa but I can not dial a ext. can you please help me?

  • @VinnyFerrari
    @VinnyFerrari 4 года назад

    Still working! Thankss!!

  • @talrudnitsky1484
    @talrudnitsky1484 7 лет назад +1

    You rock man

  • @salim-aminebouaram6798
    @salim-aminebouaram6798 5 лет назад

    Verry good video Dude,Thanks!

  • @MrFazzyb1
    @MrFazzyb1 6 лет назад

    Hi Ahmed
    Firstly want to say this is a very good and well explained Tutorials so good job.
    I would also like to ask a question that a previous user ask but i didnt see an answer for it , it would be great if you can let us know about 2 servers one in a local network and one over the internet with a public ip
    Thank you for your time

  • @nitzcomighud6809
    @nitzcomighud6809 4 года назад

    can you create a video in setting up IAX trunk on Incredible PBX 13.0.197.14 ?

  • @muhammadhassansiddiqui9129
    @muhammadhassansiddiqui9129 6 лет назад

    Hello, very well and very informative. but i have question that i did the same. when i try make a call its ask me to enter password.

  • @muhammadhassansiddiqui9129
    @muhammadhassansiddiqui9129 6 лет назад

    should i mention external IP or Internal IP if both Server are on faraway

  • @abidurrehman89
    @abidurrehman89 7 лет назад

    Great great video. Thanks a lot.

  • @kevinbradt835
    @kevinbradt835 3 года назад

    The config in the video does not work at all it will only bounce the call back to the calling party

  • @adeelahmed3958
    @adeelahmed3958 8 лет назад +1

    hy i need help followed your tutorial saw status its ok same all working , but when i try to call it says all cicuits are busy now please call try again later

    • @seldomtutorials7401
      @seldomtutorials7401  8 лет назад

      are you sure that trunk is Up ?
      did you setup the dial pan rules correctly ?

    • @adeelahmed3958
      @adeelahmed3958 8 лет назад

      yes i know about dial plan rules i have set them up correctly the problem isnt their i think

    • @adeelahmed3958
      @adeelahmed3958 8 лет назад

      hy i just used wireshark ,and in sip packets it says Unauthorized ,i checked both of the sip settings ,its already check that allow anonymous calls

  • @joecrosss527
    @joecrosss527 8 лет назад

    This video was great it showed me what i had wrong with my config (I used SIP) and was able to make a call from one pbx to the other. The one issue I am having is on pbx1 I have a conference number set up 950 and works on pbx1 and I want to call this from pbx2 and I can't get it to work. I have ext 800's and 900's on pbx1 and 100's on pbx2 and they can make calls . Any idea?

    • @seldomtutorials7401
      @seldomtutorials7401  8 лет назад

      did you setup the dial plan for the conference 950 ?
      i mean on pbx2 , setup outbound rule that match 950 # and it should be directed to the trunk you setup .
      did you do that ?

  • @anoork
    @anoork 7 лет назад +1

    how to create user account in PBX for trunks

  • @adeelahmed3958
    @adeelahmed3958 8 лет назад +1

    9 out of 10

  • @kevinbradt835
    @kevinbradt835 4 года назад

    This dose not work at all