I'm new to Asterisk and have installed it on OS X. I am trying to use an X-Lite softphone to connect through Asterisk to FreeWorld Dialup and am not having any luck. I have looked at several settings pages at voip-info.com but have had no luck. I am on a school network which I assume has some security but the particulars are unknown as they are not very helpful. It is necessary to authenticate each machine through custom perl scripts which I believe log MAC addresses; don't know if that poses a problem. Additionally, I am using a wireless switch that passes my connection to a school server which assigns IP addresses. I ran both Assistants and have a FreeWorld Dialup number and have routed that number to an extension in Asterisk. I cannot connect using X-Lite using the following instructions. I keep getting login timeout messages. X-Lite configuration: Menu | System Settings | SIP Proxy | default Display Name: Full Name User Name & Authorization User: <username> Password: <secret> Domain/Realm: x.x.x.x SIP Proxy: x.x.x.x x.x.x.x = IP address of Asterisk Are the username and authorization user the same name or number provided from FreeWorld Dialup or is one from the Asterisk setup? I assume that the IP address of Asterisk is the IP of the Mac with Asterisk installed. Has anyone successfully configured Asterisk on OS X with FreeWorld Dialup? Do I need to use an outbound proxy? If so, how do I configure that? Any help or suggestions are greatly appreciated. Thank in advance. Kenton Log: ? 2004 Xten Networks, Inc. All rights reserved. X-Lite release 1103m build stamp 14266 License key: A91031380B8611D99AAB000393BE4F08 Established SIP protocol listen on: 172.30.247.226:5060 Discovered Symmetric NAT Firewall SIP: 172.30.247.226:5060 RTP: 172.30.247.226:8000 NAT: 63.211.54.166 PROXY#0: 172.30.247.226:5060 SEND TIME: 36063869 SEND >> 172.30.247.226:5060 REGISTER sip:172.30.247.226 SIP/2.0 Via: SIP/2.0/UDP 63.211.54.166:5060;rport;branch=z9hG4bKCF9C0A670C2D11D9801D000393BE4F08 From: Kenton Powell <sip:492953@172.30.247.226>;tag=233694996 To: Kenton Powell <sip:492953@172.30.247.226> Contact: "Kenton Powell" <sip:492953@63.211.54.166:5060> Call-ID: CF9BD68C0C2D11D9801D000393BE4F08@172.30.247.226 CSeq: 8393 REGISTER Expires: 1800 Max-Forwards: 70 User-Agent: X-Lite release 1103m Content-Length: 0 RECEIVE TIME: 36063870 RECEIVE << 172.30.247.226:5060 REGISTER sip:172.30.247.226 SIP/2.0 Via: SIP/2.0/UDP 63.211.54.166:5060;rport;branch=z9hG4bKCF9C0A670C2D11D9801D000393BE4F08 From: Kenton Powell <sip:492953@172.30.247.226>;tag=233694996 To: Kenton Powell <sip:492953@172.30.247.226> Contact: "Kenton Powell" <sip:492953@63.211.54.166:5060> Call-ID: CF9BD68C0C2D11D9801D000393BE4F08@172.30.247.226 CSeq: 8393 REGISTER Expires: 1800 Max-Forwards: 70 User-Agent: X-Lite release 1103m Content-Length: 0 SEND TIME: 36065380 SEND >> 172.30.247.226:5060 REGISTER sip:172.30.247.226 SIP/2.0 Via: SIP/2.0/UDP 63.211.54.166:5060;rport;branch=z9hG4bKCF9C0A670C2D11D9801D000393BE4F08 From: Kenton Powell <sip:492953@172.30.247.226>;tag=233694996 To: Kenton Powell <sip:492953@172.30.247.226> Contact: "Kenton Powell" <sip:492953@63.211.54.166:5060> Call-ID: CF9BD68C0C2D11D9801D000393BE4F08@172.30.247.226 CSeq: 8393 REGISTER Expires: 1800 Max-Forwards: 70 User-Agent: X-Lite release 1103m Content-Length: 0 RECEIVE TIME: 36065382 RECEIVE << 172.30.247.226:5060 REGISTER sip:172.30.247.226 SIP/2.0 Via: SIP/2.0/UDP 63.211.54.166:5060;rport;branch=z9hG4bKCF9C0A670C2D11D9801D000393BE4F08 From: Kenton Powell <sip:492953@172.30.247.226>;tag=233694996 To: Kenton Powell <sip:492953@172.30.247.226> Contact: "Kenton Powell" <sip:492953@63.211.54.166:5060> Call-ID: CF9BD68C0C2D11D9801D000393BE4F08@172.30.247.226 CSeq: 8393 REGISTER Expires: 1800 Max-Forwards: 70 User-Agent: X-Lite release 1103m Content-Length: 0 SEND TIME: 36068384 SEND >> 172.30.247.226:5060 REGISTER sip:172.30.247.226 SIP/2.0 Via: SIP/2.0/UDP 63.211.54.166:5060;rport;branch=z9hG4bKCF9C0A670C2D11D9801D000393BE4F08 From: Kenton Powell <sip:492953@172.30.247.226>;tag=233694996 To: Kenton Powell <sip:492953@172.30.247.226> Contact: "Kenton Powell" <sip:492953@63.211.54.166:5060> Call-ID: CF9BD68C0C2D11D9801D000393BE4F08@172.30.247.226 CSeq: 8393 REGISTER Expires: 1800 Max-Forwards: 70 User-Agent: X-Lite release 1103m Content-Length: 0 RECEIVE TIME: 36068386 RECEIVE << 172.30.247.226:5060 REGISTER sip:172.30.247.226 SIP/2.0 Via: SIP/2.0/UDP 63.211.54.166:5060;rport;branch=z9hG4bKCF9C0A670C2D11D9801D000393BE4F08 From: Kenton Powell <sip:492953@172.30.247.226>;tag=233694996 To: Kenton Powell <sip:492953@172.30.247.226> Contact: "Kenton Powell" <sip:492953@63.211.54.166:5060> Call-ID: CF9BD68C0C2D11D9801D000393BE4F08@172.30.247.226 CSeq: 8393 REGISTER Expires: 1800 Max-Forwards: 70 User-Agent: X-Lite release 1103m Content-Length: 0 RECEIVE TIME: 36068883 RECEIVE << 172.30.247.226:5060 SEND TIME: 36074392 SEND >> 172.30.247.226:5060 REGISTER sip:172.30.247.226 SIP/2.0 Via: SIP/2.0/UDP 63.211.54.166:5060;rport;branch=z9hG4bKCF9C0A670C2D11D9801D000393BE4F08 From: Kenton Powell <sip:492953@172.30.247.226>;tag=233694996 To: Kenton Powell <sip:492953@172.30.247.226> Contact: "Kenton Powell" <sip:492953@63.211.54.166:5060> Call-ID: CF9BD68C0C2D11D9801D000393BE4F08@172.30.247.226 CSeq: 8393 REGISTER Expires: 1800 Max-Forwards: 70 User-Agent: X-Lite release 1103m Content-Length: 0 RECEIVE TIME: 36074424 RECEIVE << 172.30.247.226:5060 REGISTER sip:172.30.247.226 SIP/2.0 Via: SIP/2.0/UDP 63.211.54.166:5060;rport;branch=z9hG4bKCF9C0A670C2D11D9801D000393BE4F08 From: Kenton Powell <sip:492953@172.30.247.226>;tag=233694996 To: Kenton Powell <sip:492953@172.30.247.226> Contact: "Kenton Powell" <sip:492953@63.211.54.166:5060> Call-ID: CF9BD68C0C2D11D9801D000393BE4F08@172.30.247.226 CSeq: 8393 REGISTER Expires: 1800 Max-Forwards: 70 User-Agent: X-Lite release 1103m Content-Length: 0 RECEIVE TIME: 36078923 RECEIVE << 172.30.247.226:5060
I am new to the Asterisk-users Mailing list, but i assume that you post your answers to the group? Kenton,> > X-Lite configuration: > Menu | System Settings | SIP Proxy | default > Display Name: Full Name > User Name & Authorization User: <username> > Password: <secret> > Domain/Realm: x.x.x.x > SIP Proxy: x.x.x.x > > x.x.x.x = IP address of Asterisk > > Are the username and authorization user the same name or number > provided from FreeWorld Dialup or is one from the Asterisk setup? I > assume that the IP address of Asterisk is the IP of the Mac with > Asterisk installed.This is from the sip.conf file in /etc/asterisk/ you must specify an entry for the user you are trying to connect as. Look at the voip-info.org Wiki for help on sip.conf You can email me personally for more help after you've read the wiki. -Joe
Benjamin on Asterisk Mailing Lists
2004-Sep-21 19:38 UTC
[Asterisk-Users] Asterisk(OS X) & X-Lite
On Tue, 21 Sep 2004 20:40:38 -0400, Kenton Powell <kpowell1@sva.edu> wrote:> I'm new to Asterisk and have installed it on OS X. I am trying to use > an X-Lite softphone to connect through Asterisk to FreeWorld Dialup and > am not having any luck. > > I have looked at several settings pages at voip-info.com but have had > no luck. I am on a school network which I assume has some security but > the particulars are unknown as they are not very helpful. It is > necessary to authenticate each machine through custom perl scripts > which I believe log MAC addresses; don't know if that poses a problem. > Additionally, I am using a wireless switch that passes my connection to > a school server which assigns IP addresses. > > I ran both Assistants and have a FreeWorld Dialup number and have > routed that number to an extension in Asterisk. I cannot connect using > X-Lite using the following instructions. I keep getting login timeout > messages. > > X-Lite configuration: > Menu | System Settings | SIP Proxy | default > Display Name: Full Name > User Name & Authorization User: <username> > Password: <secret> > Domain/Realm: x.x.x.x > SIP Proxy: x.x.x.x > > x.x.x.x = IP address of Asterisk > > Are the username and authorization user the same name or number > provided from FreeWorld Dialup or is one from the Asterisk setup? I > assume that the IP address of Asterisk is the IP of the Mac with > Asterisk installed. > > Has anyone successfully configured Asterisk on OS X with FreeWorld > Dialup? Do I need to use an outbound proxy? If so, how do I configure > that?If you have used the FWD Assistant, it will have configured your Asterisk server to use FWD through IAX, not SIP. Since you seem to be behind NAT and a firewall, using IAX is a good idea anyway. IAX is NAT friendly, SIP is not. As far as your X-Lite connecting to Asterisk goes, I presume X-Lite and Asterisk are running on different Macs, is that correct? If so, you need to find out if that wireless bridge you're talking about uses NAT between your X-Lite Mac and your Asterisk Mac. SIP doesn't work well with NAT and that is probably the reason why you can't get through to your Asterisk Mac. You could download iaxComm (an IAX softphone - link on the MacOSX page of the Wiki at www.voip-info.org) and again use IAX instead of SIP. In any event, if you want to use Asterisk as a "VoIP Hub" instead of connecting to FWD directly from your softphone, then the chain would be like this ... [softphone]---internal extension--->[asterisk]---FWD number--->[FWD] Wherever there is NAT between two points in the chain, you are saving yourself a lot of trouble if you use IAX instead of SIP for that particular connection, but you don't necessarily have to use the same protocol all the way. Asterisk can translate between SIP and IAX for you. rgds benjk -- Sunrise Telephone Systems, 9F Shibuya Daikyo Bldg., 1-13-5 Shibuya, Tokyo, Japan. NB: Spam filters in place. Messages unrelated to the * mailing lists may get trashed.