Beiträge von daveyman123

    Code
    2016-07-23 23:08:15,927 [INFO]  	[doorpi.sipphone.from_linphone] channel [0x1095780]: received [336] new bytes from [UDP://192.168.1.113:5060]:
    SIP/2.0 405 Method not allowed
    Via: SIP/2.0/UDP 192.168.1.113:5060;branch=z9hG4bK.AH7qtroQl;rport
    From: "DoorPi" <sip:Daveyman123@192.168.1.113>;tag=KCGd7Dg5D
    To: "DoorPi" <sip:Daveyman123@192.168.1.113>;tag=-GQ2Z
    Call-ID: BroP1ju1Jc
    CSeq: 21 REGISTER
    Allow: INVITE, CANCEL, ACK, BYE, SUBSCRIBE, NOTIFY, MESSAGE, OPTIONS, INFO

    here is my output from doorpi_cli --trace

    hello pah,
    I do not necessarily want the number hardcoded
    right now I am concerned with making a call at all.


    What should be the format of the numbers? "0624"? "0624@default"? "sip.daveyman@linphone.org"??


    I am using asterisk and can make a call using that CLI, however,
    I cannot make a call with DoorPi
    the script I run returns nothing and I cannot see any logs or errors



    Thank you for the suggestion and I will continue searching for the format,
    Daveyman123

    what is the format to enter a number to make a call?


    I use this script but it does nothing.. how do i log errors?

    i can make a call using asterisk but i cannot make a call with this script:

    here is my doorpi.ini

    thank you for any help :)
    -daveyman123

    that is my call.py script and
    This is my doorpi.ini file

    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)

    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)

    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

    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

    Thank you so much for the prompt reply


    I currently dont have any server set up.. i thought linphone was the sip server..


    I am very new and could use some direction.


    or maybe more research

    im getting this error now

    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