Reply
Thread Tools
Posts: 16 | Thanked: 3 times | Joined on Oct 2007
#11
Still not working. Man, what is the problem....

What asterisk did you run? I am on 1.6.1.6
 
Posts: 23 | Thanked: 4 times | Joined on Oct 2007 @ Virginia
#12
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.)
 
Posts: 17 | Thanked: 6 times | Joined on Dec 2009 @ Washington, DC
#13
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.
 
Posts: 153 | Thanked: 159 times | Joined on Nov 2009
#14
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
 
Posts: 16 | Thanked: 3 times | Joined on Oct 2007
#15
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
 
Posts: 16 | Thanked: 3 times | Joined on Oct 2007
#16
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?
 
Posts: 153 | Thanked: 159 times | Joined on Nov 2009
#17
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.

Last edited by smurfy; 2009-12-07 at 18:24.
 
Posts: 153 | Thanked: 159 times | Joined on Nov 2009
#18
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.

Last edited by smurfy; 2009-12-07 at 18:37.
 
Posts: 16 | Thanked: 3 times | Joined on Oct 2007
#19
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.
 
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#20
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
 

The Following 3 Users Say Thank You to jebba For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 21:49.