ekiga/softphone on LAN

thufir hawat.thufir at gmail.com
Sat Feb 21 04:15:20 UTC 2015


My setup is a little different from:

"The setup I will use in these notes is this: Asterisk is installed on 
the gateway/router to the Internet and Ekiga is installed on an 'inside' 
workstation."

http://wiki.ekiga.org/index.php/Ekiga_as_an_Asterisk_client

(there's a good explanatory graphic)



what I have is the Asterisk server, tleilax, and the pc running the 
softphone client, doge, connected to the gateway.  Both pc's only have 
one NIC, so there's no options there.


I'm **only** trying to connect the softphone to Asterisk so that when I 
plug a third pc into the LAN, I can call it.  I'm not trying to call 
outside the network -- just internal.



How do I connect Ekiga to Asterisk?  Or, will it just not work because 
everything goes through the router?


I tested the connection and got a 200 OK from sipsak:

thufir at doge:~$ 
thufir at doge:~$ sudo sipsak -vv -s sip:345 at tleilax -m "hi"
No SRV record: _sip._tcp.tleilax
No SRV record: _sip._udp.tleilax
using A record: tleilax
Max-Forwards set to 0

message received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 
127.0.1.1:43912;branch=z9hG4bK.79375bce;alias;received=192.168.1.3;rport=43912
From: sip:sipsak at 127.0.1.1:43912;tag=2eeff29e
To: sip:345 at tleilax;tag=as49649914
Call-ID: 787477150 at 127.0.1.1
CSeq: 1 OPTIONS
Server: Asterisk PBX 1.8.29.0-vici
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, 
PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:192.168.1.2:5060>
Accept: application/sdp
Content-Length: 0



** reply received after 0.809 ms **
   SIP/2.0 200 OK
   final received
thufir at doge:~$ 



so that tells me, I think, that there aren't any firewall or port 
problems -- that it's just a matter of configuring Asterisk and Ekiga for 
the connection.  Yes/no?



thanks,

Thufir





More information about the ubuntu-users mailing list