Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    N900 SIP Client with Asterisk

    Reply
    Page 2 of 5 | Prev |   1   2   3     4   | Next | Last
    ehsjoar | # 11 | 2009-12-06, 23:37 | Report

    Still not working. Man, what is the problem....

    What asterisk did you run? I am on 1.6.1.6

    Edit | Forward | Quote | Quick Reply | Thanks

     
    bbrindle | # 12 | 2009-12-07, 14:13 | Report

    Hmm. I'm running a much older release of Asterisk than you. (1.2.18).

    From the Asterisk CLI do a sip debug and see if there's any other information in the messages coming from the N900. Also try dialing your N900 from the CLI and see if that works. (Rule out any issues between sip endpoints.)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    FiSHBoY | # 13 | 2009-12-07, 15:51 | Report

    ehsjoar:

    I noticed in your settings that you didn't have a realm set, did you also add that when copying bbrindle's settings? Make sure you try realm=asterisk.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    smurfy | # 14 | 2009-12-07, 16:28 | Report

    i have another problem with sip. if im in wlan i can connect to my asterisk server.

    if im in another wlan or umts, i installed openvpn to get a home ip adress.

    but the buildin sip client seems to only try to connect over umts directly,

    ssh or pinging works on both ends of openvpn

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ehsjoar | # 15 | 2009-12-07, 17:28 | Report

    FISHBoY,

    I read somewhere that realm will default to Asterisk if not set. I tried setting it now though and it didn't change anything. I did open a ticket for this, even though others have gotten it working. The ticket is on https://bugs.maemo.org/show_bug.cgi?id=6641

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ehsjoar | # 16 | 2009-12-07, 17:30 | Report

    smurfy,

    That is interesting. So you are running the openvpn server on the Asterisk server and then have openvpn client on your N900?

    Also, what version of Asterisk and what firmware version on your N900 are you running?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    smurfy | # 17 | 2009-12-07, 18:20 | Report

    Openvpn Server on a Linux box with bridging (to get in the same network), ssh, ping etc all works great.

    Openvpn Client + Applet from extra-devel i guess. (latest)

    Asterisk 1.4.17~dfsg-2ubuntu1 on another server in my network.

    N900: 1.2009.42-11 (retail)

    sip.conf
    [XXXXXX]
    type=friend
    secret=XXXX
    callerid="n900" <1234>
    canreinvite=no ;needed this!
    nat=yes ; and that
    host=dynamic
    disallow=all
    allow=gsm
    allow=ulaw
    allow=alaw

    extensions.conf:
    exten => _X.,1,NoOp(${CALLERID(num)} ${EXTEN})
    exten => _X.,2,Dial(CAPI/contr1/${EXTEN})
    exten => _X.,3,Hangup

    i needed canreinvite=no and nat=yes, to get it to work to talk with another sip client (fritzbox).

    my problem never was that i cant connect to the other sip telephone, the problem was that i either can hear the other party or talk to the other party

    Edit:

    as i stated before, i can connect to the asterisk server if i connect to my local wlan. (without openvpn) if i connected to umts or another wlan and the only connection to my network is openvpn i can't connect to the asterisk server.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by smurfy; 2009-12-07 at 18:24.

     
    smurfy | # 18 | 2009-12-07, 18:31 | Report

    hm, its somewhat sporadic, i got it working, then disconected the openvpn connection, and reconnected and now it is broken again

    ok, i enabled sip debugging and something about nat

    i will try with different sip settings in asterisk.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by smurfy; 2009-12-07 at 18:37.

     
    ehsjoar | # 19 | 2009-12-07, 19:35 | Report

    Smurfy,

    So I was never successful connecting the N900 to asterisk at all. I do use openvpn for other soft-phones though. Very handy when you are out traveling and you are on the hotel's LAN.

    I had to add a general localnet parameter to the VPN subnet in sip.conf for this to work though.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jebba | # 20 | 2009-12-07, 19:35 | Report

    Originally Posted by R-R View Post
    Could the package be made available please?
    (He's talking about asterisk running on N900 itself)

    I just got permission to upload files to extras-devel this morning, so watch for the package in the next day or so. I'm not sure how long it takes to be available after I upload.

    Have fun,

    -Jeff

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to jebba For This Useful Post:
    mannakiosk, nashith, R-R

     
    Page 2 of 5 | Prev |   1   2   3     4   | Next | Last
vBulletin® Version 3.8.8
Normal Logout