Asterisk an X-lite over a local LAN


#1

Hi,

I am trying to setup communication between Asterisk and 2 X-lite phones. I first want to know if we are able to VoIP within our own building (local LAN segment). When I start X-lite I see the following message “Awaiting proxy login information” and no communication establishes.

Anybody a hint?

Best Regards,

Koert Gielen


#2

Post the configuration you have in your softphone and the corrisponding config in sip.conf


#3

Are you using the external or internal network IP in your X-Lite settings? We have the same problem when we try to login through our external IP. Even with port forwarding X-Lite seems to have problems loggin into Asterisk through a router.


#4

[quote=“zmanea”]Post the configuration you have in your softphone and the corrisponding config in sip.conf[/quote].

Hi,

My x-lite-settings:

Key Name: HKEY_USERS\S-1-5-21-2279839953-2430676915-1478764913-4920\Software\XtenNetworksInc\X-Lite
Class Name:
Last Write Time: 4/13/2005 - 3:50 PM
Value 0
Name: general:UpgradedRegistryAtPrivateBuildNumber
Type: REG_SZ
Data: 1103m

Value 1
Name: evrc:Order
Type: REG_DWORD
Data: 0x4

Value 2
Name: audio_tuning_wizard:ShownAudioTuningWizardOnce
Type: REG_DWORD
Data: 0x1

Value 3
Name: general:RequestLicenseKeyID
Type: REG_SZ
Data: D6FB325618A24D828ABDF5578F1BF780

Value 4
Name: general:ProxyServerEnabled1
Type: REG_DWORD
Data: 0x1

Value 5
Name: general:DisplayName1
Type: REG_SZ
Data: xlite1

Value 6
Name: general:Username1
Type: REG_SZ
Data: Koert Gielen

Value 7
Name: general:ProxyServer1
Type: REG_SZ
Data: 192.1.1.83

Value 8
Name: general:ProxyServer
Type: REG_SZ
Data: 192.1.1.83

Value 9
Name: general:OutboundSIPProxy
Type: REG_SZ
Data: 192.1.1.83

Value 10
Name: general:ProxyServerEnabled
Type: REG_DWORD
Data: 0x1

Value 11
Name: general:DisplayName
Type: REG_SZ
Data: Koert Gielen

Value 12
Name: general:Username
Type: REG_SZ
Data: xlite1

Value 13
Name: general:AuthorizationUsername
Type: REG_SZ
Data: gielenk

Value 14
Name: general:Password
Type: REG_BINARY
Data:

Value 15
Name: exit_tip_dialog:user_said_dont_show_again
Type: REG_DWORD
Data: 0x1

Value 16
Name: general:SendInternalIP
Type: REG_DWORD
Data: 0x1

Value 17
Name: general:ShouldUseOutboundSIPProxy
Type: REG_DWORD
Data: 0xffffffff

Value 18
Name: general:Domain
Type: REG_SZ
Data: www.databalk.nl

Value 19
Name: general:DirectDialIP
Type: REG_DWORD
Data: 0x1

Value 20
Name: hosts:ListenSIPAddress
Type: REG_SZ
Data: 192.1.1.157

Value 21
Name: hosts:OutBoundSIPProxy
Type: REG_SZ
Data: 192.1.1.83

Value 22
Name: background:x
Type: REG_DWORD
Data: 0x2a3

Value 23
Name: background:y
Type: REG_DWORD
Data: 0x40

My sip.conf (only the uncommented entries):

[general]
context=default ; Default context for incoming calls
port=5060 ; UDP Port to bind to (SIP standard port is 5060
)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls

[xlite1]
type=friend
regexten=1234 ; When they register, create extension 1234
defaultip=192.1.1.157
username=xlite1
callerid=“Koert Gielen” <5678>
host=192.1.1.157
nat=no ; X-Lite is behind a NAT router
canreinvite=yes ; Typically set to NO if behind NAT
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw

[xlite2]
type=friend
regexten=1235 ; When they register, create extension 1234
defaultip=192.1.1.157
username=xlite1
callerid=“Peter Wolfs” <5679>
host=192.1.1.128
nat=no ; X-Lite is behind a NAT router
canreinvite=yes ; Typically set to NO if behind NAT
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw

Regargds,

Koert Gielen


#5

You can find the configuration for sip.conf and xlite on :

http://www.asteriskguru.com/tutorials.html

I wrote a tutorial for xlite myself a while ago, its online somewhere but have no idea where :smile:

/Z