Results 1 to 9 of 9

Thread: asterisk14-gui problems

  1. #1

    asterisk14-gui problems

    I recently installed asterisk14 from the optware repository. Works better for me the the 1.2 version.

    I played around with the asterisk-gui on x86, and didn't have any problems installing and / or running it.

    On the WL500 however, the gui seems to work only partialy, meaning I can access the non-static content (/httpstatus, /manager) but no luck trying to load the sample gui, which is located in the static part of the web-interface.

    I tried to find anything solid on this subject on asterisk and optware pages, but again no luck... As I would hesitate to use this gui to configure company's PBX/IVR it would be a nice addition to a home VoIP / Answering machine...

    Perhaps sb here already tried to run this GUI and succeeded ?

  2. #2
    Hi!

    Can you please detail the steps how you installed asterisk14? I tried installing it with ipkg and it did install, although wouldnt seem to start:

    [admin@(none) sbin]$ /opt/sbin/asterisk -vv
    -sh: /opt/sbin/asterisk: not found


    Thanks

  3. #3
    Having the exact same issues as the first user described.
    i folowed this guide to activate the webgui
    http://www.ip-phone-forum.de/showthread.php?t=122920


    but i am not able to access "http://routerip:8088/asterisk/static/config/cfgadvanced.html" it gives me a "Nothing to see here. Move along." from the Asterisk Webserver. So basicly its on but I cant acces it, kinda weired.
    Using a wl-500gp and asterisk14 + 14gui.
    Hopey anyone can help me...

  4. #4
    I have installed it and when I run it I am having such errors:

    Code:
    $ /opt/sbin/asterisk -vv
    Asterisk 1.2.24, Copyright (C) 1999 - 2007 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>
    Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'show license' for details.
    =========================================================================
    Errors detected in logger.conf: see above; default settings will be used.
    Asterisk Event Logger Started /opt/var/log/asterisk/event_log
    Asterisk Dynamic Loader loading preload modules:
      == Manager registered action Ping
      == Manager registered action Events
      == Manager registered action Logoff
      == Manager registered action Hangup
      == Manager registered action Status
      == Manager registered action Setvar
      == Manager registered action Getvar
      == Manager registered action Redirect
      == Manager registered action Originate
      == Manager registered action Command
      == Manager registered action ExtensionState
      == Manager registered action AbsoluteTimeout
      == Manager registered action MailboxStatus
      == Manager registered action MailboxCount
      == Manager registered action ListCommands
    Feb 14 12:53:04 NOTICE[13951]: manager.c:1686 init_manager: Unable to open management configuration manager.conf.  Call management disabled.
    Feb 14 12:53:04 NOTICE[13951]: cdr.c:1214 do_reload: CDR simple logging enabled.
      == RTP Allocating from port range 5000 -> 31000
    Asterisk PBX Core Initializing
    Registering builtin applications:
     [AbsoluteTimeout]
      == Registered application 'AbsoluteTimeout'
     [Answer]
      == Registered application 'Answer'
     [BackGround]
      == Registered application 'BackGround'
     [Busy]
      == Registered application 'Busy'
     [Congestion]
      == Registered application 'Congestion'
     [DigitTimeout]
      == Registered application 'DigitTimeout'
     [Goto]
      == Registered application 'Goto'
     [GotoIf]
      == Registered application 'GotoIf'
     [GotoIfTime]
      == Registered application 'GotoIfTime'
     [ExecIfTime]
      == Registered application 'ExecIfTime'
     [Hangup]
      == Registered application 'Hangup'
     [NoOp]
      == Registered application 'NoOp'
     [Progress]
      == Registered application 'Progress'
     [ResetCDR]
      == Registered application 'ResetCDR'
     [ResponseTimeout]
      == Registered application 'ResponseTimeout'
     [Ringing]
      == Registered application 'Ringing'
     [SayNumber]
      == Registered application 'SayNumber'
     [SayDigits]
      == Registered application 'SayDigits'
     [SayAlpha]
      == Registered application 'SayAlpha'
     [SayPhonetic]
      == Registered application 'SayPhonetic'
     [SetAccount]
      == Registered application 'SetAccount'
     [SetAMAFlags]
      == Registered application 'SetAMAFlags'
     [SetGlobalVar]
      == Registered application 'SetGlobalVar'
     [SetLanguage]
      == Registered application 'SetLanguage'
     [Set]
      == Registered application 'Set'
     [SetVar]
      == Registered application 'SetVar'
     [ImportVar]
      == Registered application 'ImportVar'
     [Wait]
      == Registered application 'Wait'
     [WaitExten]
      == Registered application 'WaitExten'
      == Manager registered action DBGet
      == Manager registered action DBPut
    Asterisk Dynamic Loader Starting:
    Feb 14 12:53:04 WARNING[13951]: loader.c:565 load_modules: Unable to open modules directory /opt/usr/lib/asterisk/modules.
    Feb 14 12:53:04 WARNING[13951]: loader.c:565 load_modules: Unable to open modules directory /opt/usr/lib/asterisk/modules.
    Feb 14 12:53:04 WARNING[13951]: loader.c:565 load_modules: Unable to open modules directory /opt/usr/lib/asterisk/modules.
    Feb 14 12:53:04 WARNING[13951]: loader.c:565 load_modules: Unable to open modules directory /opt/usr/lib/asterisk/modules.
    Asterisk Ready.
    Executing last minute cleanups
    at the same time I am not able to see the web page at

    Code:
    http://192.168.1.1:8088/asterisk/static/config/cfgadvanced.html
    Also there is no asterisk process listed when I run PS command...

    at the same time there are such files are present @ /opt/etc/asterisk/sample
    Code:
    adsi.conf           enum.conf           musiconhold.conf
    adtranvofr.conf     extconfig.conf      osp.conf
    agents.conf         extensions.ael      oss.conf
    alarmreceiver.conf  extensions.conf     phone.conf
    alsa.conf           features.conf       privacy.conf
    asterisk.adsi       festival.conf       queues.conf
    asterisk.conf       iax.conf            res_odbc.conf
    cdr.conf            iaxprov.conf        rpt.conf
    cdr_custom.conf     indications.conf    rtp.conf
    cdr_manager.conf    logger.conf         sip.conf
    cdr_odbc.conf       manager.conf        sip_notify.conf
    cdr_pgsql.conf      meetme.conf         skinny.conf
    cdr_tds.conf        mgcp.conf           telcordia-1.adsi
    codecs.conf         misdn.conf          voicemail.conf
    dnsmgr.conf         modem.conf          vpb.conf
    dundi.conf          modules.conf        zapata.conf
    file http.conf is not present there...

    So the question is how to configure it and run?

    It looks like I need to install modules into /opt/usr/lib/asterisk/modules but where can I get them?

    Also it looks like I need to move config files from /opt/etc/asterisk/sample to /opt/etc/asterisk/ configure them and make them executable? Am I an the right way?
    Last edited by sonice; 15-02-2008 at 12:57.

  5. #5
    Any Help appreciated with this!

    I was following this guide http://gentoo-wiki.com/HOWTO_Asterisk and was able to create some *.config files according to this guide http://econf.switch.ch/econfportal/w.../asterisk.html

    Now asterisk starts but I still unable to connect to it with my XLite...
    $ /opt/sbin/asterisk -vv
    Asterisk 1.2.24, Copyright (C) 1999 - 2007 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>
    Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'show license' for details.
    ================================================== =======================
    == Parsing '/opt/etc/asterisk/logger.conf': Found
    Asterisk Event Logger Started /opt/var/log/asterisk/event_log
    Asterisk Dynamic Loader loading preload modules:
    == Parsing '/opt/etc/asterisk/modules.conf': Found
    == Manager registered action Ping
    == Manager registered action Events
    == Manager registered action Logoff
    == Manager registered action Hangup
    == Manager registered action Status
    == Manager registered action Setvar
    == Manager registered action Getvar
    == Manager registered action Redirect
    == Manager registered action Originate
    == Manager registered action Command
    == Manager registered action ExtensionState
    == Manager registered action AbsoluteTimeout
    == Manager registered action MailboxStatus
    == Manager registered action MailboxCount
    == Manager registered action ListCommands
    Feb 15 10:08:35 NOTICE[670]: manager.c:1686 init_manager: Unable to open management configuration manager.conf. Call management disabled.
    Feb 15 10:08:35 NOTICE[670]: cdr.c:1214 do_reload: CDR simple logging enabled.
    == RTP Allocating from port range 5000 -> 31000
    Asterisk PBX Core Initializing
    Registering builtin applications:
    [AbsoluteTimeout]
    == Registered application 'AbsoluteTimeout'
    [Answer]
    == Registered application 'Answer'
    [BackGround]
    == Registered application 'BackGround'
    [Busy]
    == Registered application 'Busy'
    [Congestion]
    == Registered application 'Congestion'
    [DigitTimeout]
    == Registered application 'DigitTimeout'
    [Goto]
    == Registered application 'Goto'
    [GotoIf]
    == Registered application 'GotoIf'
    [GotoIfTime]
    == Registered application 'GotoIfTime'
    [ExecIfTime]
    == Registered application 'ExecIfTime'
    [Hangup]
    == Registered application 'Hangup'
    [NoOp]
    == Registered application 'NoOp'
    [Progress]
    == Registered application 'Progress'
    [ResetCDR]
    == Registered application 'ResetCDR'
    [ResponseTimeout]
    == Registered application 'ResponseTimeout'
    [Ringing]
    == Registered application 'Ringing'
    [SayNumber]
    == Registered application 'SayNumber'
    [SayDigits]
    == Registered application 'SayDigits'
    [SayAlpha]
    == Registered application 'SayAlpha'
    [SayPhonetic]
    == Registered application 'SayPhonetic'
    [SetAccount]
    == Registered application 'SetAccount'
    [SetAMAFlags]
    == Registered application 'SetAMAFlags'
    [SetGlobalVar]
    == Registered application 'SetGlobalVar'
    [SetLanguage]
    == Registered application 'SetLanguage'
    [Set]
    == Registered application 'Set'
    [SetVar]
    == Registered application 'SetVar'
    [ImportVar]
    == Registered application 'ImportVar'
    [Wait]
    == Registered application 'Wait'
    [WaitExten]
    == Registered application 'WaitExten'
    == Manager registered action DBGet
    == Manager registered action DBPut
    == Parsing '/opt/etc/asterisk/enum.conf': Found
    Asterisk Dynamic Loader Starting:
    == Parsing '/opt/etc/asterisk/modules.conf': Found
    Asterisk Ready.
    Any idea how can I debug?
    asterisk -c
    Asterisk 1.2.24, Copyright (C) 1999 - 2007 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>
    Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for d etails.
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'show license' for details.
    ================================================== ==================== ===
    [ Booting...Feb 15 10:26:49 NOTICE[748]: cdr.c:1214 do_reload: CDR sim ple logging enabled.
    ]
    Asterisk Ready.
    *CLI> set verbose 20
    Verbosity was 0 and is now 20
    *CLI> set debug 10
    Core debug was 0 and is now 10
    *CLI> extensions reload
    No such command 'extensions' (type 'help' for help)
    *CLI> show dialplan
    -= 0 extensions (0 priorities) in 0 contexts. =-
    *CLI> show modules
    Module Description Use Count
    0 modules loaded
    *CLI>
    here is the XLite log-

    SEND TIME: 100235234
    SEND >> 192.168.1.1:5060
    INVITE sip:500@192.168.1.1 SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.189:5060;rport;branch=z9hG4bKACBCC53B78B A4044BE064EF498717385
    From: First Extension <sip:1234@192.168.1.1>;tag=564606588
    To: <sip:500@192.168.1.1>
    Contact: <sip:1234@192.168.1.189:5060>
    Call-ID: AB4C3390-FB62-4A20-B48B-A87CD6E061F9@192.168.1.189
    CSeq: 27023 INVITE
    Max-Forwards: 70
    Content-Type: application/sdp
    User-Agent: X-Lite release 1103m
    Content-Length: 297

    v=0
    o=1234 100224140 100224156 IN IP4 192.168.1.189
    s=X-Lite
    c=IN IP4 192.168.1.189
    t=0 0
    m=audio 8000 RTP/AVP 0 8 3 98 97 101
    a=rtpmap:0 pcmu/8000
    a=rtpmap:8 pcma/8000
    a=rtpmap:3 gsm/8000
    a=rtpmap:98 iLBC/8000
    a=rtpmap:97 speex/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    Last edited by sonice; 16-02-2008 at 05:26.

  6. #6
    show me your extensions.conf and sip.conf and i maybe able to help ya.
    btw. the gui is not really usefull at all even if you can make it run.
    So you have to get used to config files anyway.

    I hope I have some time in the fututre to wright some tutorials for asterisk on this forum. Had that plan allready some month ago!

  7. #7
    thejew, thanks for your prompt reply!

    I copied all config files from here: http://econf.switch.ch/econfportal/w.../asterisk.html

    My extensions.conf file-

    Code:
    [general]
    static=yes
    writeprotect=yes
    
    [globals]
    
    [default]
    exten => 1234,1,Dial(SIP/1234,20)
    exten => 1234,2,Voicemail(1234)
    
    exten => 1235,1,Dial(SIP/1235,20)
    exten => 1235,2,Voicemail(1235)

  8. #8
    Yes, the problem was resolved- I had an old asterisk version 1.2.24 installed.

    I just did

    ipkg uninstall asterisk

    ipkg install asterisk14

    reboot

    I have such errors in the CLI log-

    [Feb 17 02:10:55] WARNING[593]: file.c:568 ast_openstream_full: File vm-theperson does not exist in any format
    [Feb 17 02:10:55] WARNING[593]: file.c:871 ast_streamfile: Unable to open vm-theperson (format 0x4 (ulaw)): No such file or directory
    Last edited by sonice; 17-02-2008 at 02:12.

  9. #9
    Hi again ...
    Thats just a minor error you have their.
    Asterisk seems to be unable to find some sound files that belong to the mailbox.
    Have you installed any additional sound packages like:

    ipkg install asterisk14-core-sounds-en-gsm

    if not try to, could help.

    its available in different codecs if gsm doesnt suit your needs.

Similar Threads

  1. Default Photo Album upload problems
    By Korpse in forum WL-700g Q&A
    Replies: 11
    Last Post: 22-08-2007, 09:29
  2. Asus FW 1.9.6.9 USB-HDD problems
    By olli84 in forum WL-500gP Q&A
    Replies: 1
    Last Post: 15-08-2006, 08:51
  3. problems with file handling or file size
    By black_bottom in forum WL-HDD Q&A
    Replies: 1
    Last Post: 28-03-2006, 15:55
  4. Newbie Questions and problems.
    By tokyoturnip in forum WL-500g Q&A
    Replies: 2
    Last Post: 08-02-2006, 10:13
  5. msn hotmail and alot of other problems
    By dvshoaib in forum WL-500g Q&A
    Replies: 2
    Last Post: 17-10-2004, 19:49

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •