After update Asterisk 1.4.26.3 iax peers not work

Discussion in 'General' started by eski, Dec 31, 2009.

  1. eski

    Joined:
    Sep 11, 2008
    Messages:
    28
    Likes Received:
    0
    Hi, i have elastix 32bit 1.6.13 with one iax2 extension on my iphone (siax program)
    After update Asterisk 1.4.26.1 to new version 1.4.26.3 iax not work.
    I deleted iax ext and i was make a new but still not register :(

    Greetings from Athens Greece
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
  3. eski

    Joined:
    Sep 11, 2008
    Messages:
    28
    Likes Received:
    0
    My system is virtual (vmware->elastix->SPA400) so i was reverse it with vmware snapshot in previews version because still not working

    Asterisk log file says:
    ERROR[2827] chan_iax2.c: Call rejected, CallToken Support required. If unexpected, resolve by placing address 192.168.1.2 in the calltokenignore list or setting user 330 requirecalltoken=no

    [Dec 31 17:09:13] ERROR[2829] chan_iax2.c: Call rejected, CallToken Support required. If unexpected, resolve by placing address 192.168.3.2 in the calltokenignore list or setting user 305 requirecalltoken=no

    [Dec 31 17:09:26] ERROR[2821] chan_iax2.c: Call rejected, CallToken Support required. If unexpected, resolve by placing address 192.168.1.2 in the calltokenignore list or setting user 330 requirecalltoken=no

    [Dec 31 17:09:30] ERROR[2823] chan_iax2.c: Call rejected, CallToken Support required. If unexpected, resolve by placing address 192.168.1.2 in the calltokenignore list or setting user 330 requirecalltoken=no



    Thnks..
     
  4. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
  5. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    Re:After update Asterisk 1.4.26.3 iax peers not wo

    Also a quick solution would be to write down on
    /etc/asterisk/iax_custom_post.conf
    requirecalltoken=no
    and from the shell execute
    asterisk -rx "module reload"
     
  6. eski

    Joined:
    Sep 11, 2008
    Messages:
    28
    Likes Received:
    0
    Re:After update Asterisk 1.4.26.3 iax peers not wo

    SOLVED
    vi /etc/asterisk/iax_general_custom.conf
    just add this line
    calltokenoptional = 0.0.0.0/0.0.0.0

    Thnks for your replies.
     
  7. kalderista

    Joined:
    Oct 21, 2008
    Messages:
    179
    Likes Received:
    0
    Re:After update Asterisk 1.4.26.3 iax peers not wo

    YEEEEEAH!

    I've been trying to fix this problem all the fuc%&$@# day!!!!

    Thanks and 1+ karma for you ;)
     
  8. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Re:After update Asterisk 1.4.26.3 iax peers not wo

    And to all who come here:

    calltokenoptional = 0.0.0.0/0.0.0.0

    or

    requirecalltoken=no

    just reverts to the old insecure behaviour and are IMHO both bad advice , The added security was for a "VERY GOOD REASON."

    please reduce the networks allowed to your "Known and trusted" networks only. or be prepared to pay for other folks calls on your nickel. :)

    For rigorous authority, please refer to

    http://downloads.asterisk.org/pub/secur ... urity.html
     

Share This Page