.titleBar { margin-bottom: 5px!important; }

FBF Problem With Asterisk

Dieses Thema im Forum "Asterisk Allgemein" wurde erstellt von kandy, 11 Apr. 2005.

  1. kandy

    kandy Neuer User

    Registriert seit:
    19 Feb. 2005
    Beiträge:
    61
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    I have a problem with my FBF and Asterisk, when I connect the FBF on the network it automaticly register himself on asterisk, but after 15 min the FBF is not register any more. If I pickup the phone and I call everything goes well, but if someone call me they are not able to reach me.

    Here you have my sip.conf
    Code:
    [general]
    context=default   
    port=5060
    bindaddr=192.168.0.1
    srvlookup=no     
    maxexpirey=1900
    defaultexpirey=120 
    disallow=all
    allow=g729
    allow=alaw
    allow=ulaw                     
    allow=gsm
    ....
    
    [700]
    type = friend
    username = 700
    secret = XXXXX
    host = dynamic
    dtmfmode=RFC2833
    callerid="Mio" <700>
    context=from-sip
    mailbox=700
    language=it
    canreinvite = no
    qualify=30000
    nat=yes
    ...
    
    if you need
    extensions.conf
    Code:
    ...
    [from-sip]
    ...
    exten => 700,1,Dial(sip/700,30)
    exten => 700,2,Voicemail(u700)
    exten => 700,102,Voicemail(b700)
    ... 
    Any suggestion?
     
  2. rajo

    rajo Admin-Team

    Registriert seit:
    31 März 2004
    Beiträge:
    1,958
    Zustimmungen:
    0
    Punkte für Erfolge:
    36
    Hmm... is there anything visible in the *-log (/var/log/asterisk/messages) after those 15min?

    Are the incoming calls after the 15min still visible on the *-CLI? If they don't reach * at all, it might be some router problem.

    If not, whats the status of the FBF in *? (sip show peers)
     
  3. kandy

    kandy Neuer User

    Registriert seit:
    19 Feb. 2005
    Beiträge:
    61
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    after some test I reach this point

    -- Got SIP response 489 "Bad Event" back from 192.168.0.15
    -- Got SIP response 489 "Bad Event" back from 192.168.0.15
    -- Executing VoiceMailMain("SIP/700-a794", "") in new stack
    -- Playing 'vm-login' (language 'it')
    -- Got SIP response 489 "Bad Event" back from 192.168.0.15
    -- Playing 'vm-password' (language 'it')
    -- Playing 'vm-youhave' (language 'it')
    -- Playing 'digits/2' (language 'it')
    -- Playing 'vm-INBOX' (language 'it')
    -- Playing 'vm-messages' (language 'it')
    -- Playing 'vm-onefor' (language 'it')
    -- Playing 'vm-INBOX' (language 'it')
    -- Playing 'vm-messages' (language 'it')
    -- Playing 'vm-opts' (language 'it')
    -- Playing 'vm-first' (language 'it')
    -- Playing 'vm-message' (language 'it')
    == Parsing '/var/spool/asterisk/voicemail/default/700/INBOX/msg0000.txt': Found
    -- Playing 'vm-received' (language 'it')
    -- Playing 'digits/day-0' (language 'it')
    -- Playing 'digits/mon-3' (language 'it')
    -- Playing 'digits/h-10' (language 'it')
    -- Playing 'digits/2' (language 'it')
    -- Playing 'digits/thousand' (language 'it')
    -- Playing 'digits/5' (language 'it')
    Apr 12 00:00:36 WARNING[30169]: file.c:475 ast_openstream: File digits/it does not exist in any format
    Apr 12 00:00:36 WARNING[30169]: file.c:779 ast_streamfile: Unable to open digits/it (format alaw): No such file or directory
    Apr 12 00:00:36 WARNING[30169]: say.c:488 wait_file: Unable to play message digits/it
    == Spawn extension (from-sip, 444, 1) exited non-zero on 'SIP/700-a794'

    I have the direcory digits/it
     
  4. kandy

    kandy Neuer User

    Registriert seit:
    19 Feb. 2005
    Beiträge:
    61
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Someone knows why I need to pickup the phone in order to have the fritz registered on my asterisk.
    I need to configure the fbf in a special way?
    :lol:
     
  5. TinTin

    TinTin Aktives Mitglied

    Registriert seit:
    6 Mai 2004
    Beiträge:
    1,864
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    @kandy

    not sure if it will fix your problem, but there is a statement missing in your sip.conf [general] context:

    localnet = 192.168.0.0/255.255.255.0

    Also, if you want to reach the outside, there should be an

    externip =

    entry, if you don't have a static IP on your internet connection, get a subdomain via dyndns.org, put that in your router and use that as externip

    hth,
    Tin
     
  6. kandy

    kandy Neuer User

    Registriert seit:
    19 Feb. 2005
    Beiträge:
    61
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hi,
    now I added the itwo lines
    Did you know why I have this error Got SIP response 489 "Bad Event" back from 192.168.0.15 ?
     
  7. TinTin

    TinTin Aktives Mitglied

    Registriert seit:
    6 Mai 2004
    Beiträge:
    1,864
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    @kandy

    sorry, I don't have a FBF, but other FBF users seem to have similar problems too. Maybe you can gather some useful information from this thread:

    http://www.ip-phone-forum.de/forum/viewtopic.php?p=59374

    It is in german however... Probably someone like "rollo" can help you better in this case.

    Tin