Configuration Troubles

  • I am having troubles.. Here is my configuration file


    I get this when i run sudo doorpi_cli --trace
    this repeats over and over ever 15 seconds or so

  • im getting this error now

  • Hey, try this:

    Code
    sudo /etc/init.d/doorpi stop

    then:

    Code
    sudo pkill -9 doorpi

    then start doorpi again:

    Code
    sudo /etc/init.d/doorpi start


    This problem exist when doorpi is running in background.


    Now the other problem:
    What kind of Sipserver do you have?

  • I have modified extensions.conf and sip.conf as you said Nea:


    the extensions.conf:

    Code
    [general] [internal] exten => _XXXX,1,Dial(SIP/${EXTEN}) [phones] include => in$ => internal


    and the sip.conf:

    here is my doorpi.ini

    when i try to make a call with asterisk i get the following:

    Code
    raspberrypi*CLI> console dial
    [Jul 20 16:55:02] WARNING[14276]: chan_oss.c:488 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
    [Jul 20 16:55:02] NOTICE[14276]: console_video.c:137 console_video_start: voice only, console video support not present
    raspberrypi*CLI> console hangup
    raspberrypi*CLI>

    when i try to use call.py python script nothing happens

  • Hey,


    this is my extensions.conf

    Code: extensions.conf
    [globals]
    [general]
    [internal]
    exten => _XXXX,1,Dial(SIP/${EXTEN})
    exten => 0624,1,Dial(SIP/0624&SIP/0621)
    exten => 0623,1,Dial(SIP/0623&SIP/0621)
    exten => 0622,1,Dial(SIP/0622&SIP/0621)
    exten => 0621,1,Dial(SIP/0621)
    [phones]
    include => internal

    When i call 0624 the phones ring with the number 0624 and 0621
    .....



    Is this an copy and paste failure? I hope so ;)


    Do you have a router called FritzBox?

  • Thank you Nea for the quick reply


    I do not have a router called FrizBox


    here is my sip.conf (no copy/paste errors)

    Im not sure what to enter for secret

  • You can set a password of your choice. The same password must set to your clients, like a tablet or mobile phone, to connect to your SIP-Server "asterisk". When the password is not the same the SIP-Server canceld the request.


    The numbers, like this [0620] in your sip.conf are numbers from the clients only one must be set from your doorpi. My doorpi has the number [0620]

  • i added [default] in the extensions.conf


    now i get this error when calling 0624

    Code
    raspberrypi*CLI> console dial 0624
    [Jul 20 22:39:49] WARNING[813]: chan_oss.c:488 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
    [Jul 20 22:39:49] NOTICE[813]: console_video.c:137 console_video_start: voice only, console video support not present
    [Jul 20 22:39:49] WARNING[814][C-00000000]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
  • now i cant seem to make a call something to do with sound drivers.


    I will work on it more later


    Code
    raspberrypi*CLI> console dial 1234
    [Jul 21 17:19:41] WARNING[918]: chan_oss.c:488 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
    [Jul 21 17:19:41] NOTICE[918]: console_video.c:137 console_video_start: voice only, console video support not present
        -- Executing [1234@default:1] playback("Console/dsp", "transfer,skip")
        -- Auto fallthrough, channel 'Console/dsp' status is 'UNKNOWN'
     << Hangup on console >> 
    [Jul 21 17:24:28] NOTICE[678]: chan_sip.c:23561 handle_response_peerpoke: Peer 'David' is now Lagged. (3830ms / 2000ms)
    [Jul 21 17:24:28] NOTICE[678]: chan_sip.c:23561 handle_response_peerpoke: Peer 'David' is now Reachable. (7ms / 2000ms)
  • that is my call.py script and
    This is my doorpi.ini file