external SIPs disconnect at 20Sec

Discussion in 'General' started by gmkfree, Jun 11, 2009.

  1. gmkfree

    Joined:
    Apr 8, 2009
    Messages:
    21
    Likes Received:
    0
    i have a small problem here i dont know you guys experience the same.

    im using dynamic ip address from my ISP. and i have premium DYNDNS account for update the dns.


    i notice that everytime the ip given by the ISP renewed. all my external sip clients located all over my country can make calls. they successfully dial but at exactly 20 seconds they disconnect.
     
  2. telecomtechnician

    Joined:
    Jan 8, 2008
    Messages:
    422
    Likes Received:
    0
    Hi there
    That could probably be the following:

    1) The ip address is not being upgraded against the domain by DYNDNS due to a failure in their monitoring software.
    2) Do you have an application running in the elastix server that automaticly checks the ip address against the domain and renews it everytime the ip changes?. This application should be provided by DYNDNS.

    Good luck
     
  3. VoIPDoug

    Joined:
    Mar 1, 2009
    Messages:
    28
    Likes Received:
    0
    I had a similar issue on my 1.3 system.
    I edited the /etc/asterisk/sip_custom.conf and added this single line: defaultexpirey=3600
    and all has been good ever since.
     
  4. whbh

    Joined:
    Jun 1, 2009
    Messages:
    23
    Likes Received:
    0
    how to get in the /etc/asterisk/sip_custom.conf for editing the file ?

    Sorry I am primitive in LINUX

    Thank you.
     
  5. VoIPDoug

    Joined:
    Mar 1, 2009
    Messages:
    28
    Likes Received:
    0
    Uhm. . . vim?
     
  6. Patrick_elx

    Joined:
    Dec 14, 2008
    Messages:
    1,120
    Likes Received:
    0
    you can use the elastix gui for that:

    PBX > Tools > File Editor
     
  7. gamba47

    Joined:
    May 28, 2009
    Messages:
    595
    Likes Received:
    0
    Vim is dificult for a beginner.


    Try with:

    Code:
    # yum install mc -y
    # mcedit filename

    Regards.gamba47
     
  8. gmkfree

    Joined:
    Apr 8, 2009
    Messages:
    21
    Likes Received:
    0
    i forgot to mention that my router got automatic dyndns update activated..

    every time the isp gave a new ip address

    the dyndns will update the dns..


    then problem comes... all sip clients located at the other side of the world disconnect at exactly 20 secs


    to make the system normal again..

    i will always have to reboot the system..

    this is really annoying..


    i already put the

    defaultexpirey=3600


    and let's wait for isp to renew my ip...:)


    hope there is not 20seconds nightmare again:)
     

Share This Page