basically does x-lite use the address of the machine its running on? or does it get its own address?
if it gets its own address how do you set it? how do you set it to static VS dynamic? and how do you tell asterisk that the address is static VS dynamic?
how does asterisk tie the soft phones to an ip address
* It uses the registration from the phone/softphone to tie the IP address to the device. The phone will register using an name/number and a secret (password).
ok comp1 Ethernet card address - 10.10.1.250
comp 2 Ethernet card address - 10.10.1.50
asterisk server address 10.10.1.20
my comps use static addresses nothing DHCP’s
so in sip.conf when it asks
host=?
what do i put
* You would put “host = dynamic”
basically does x-lite use the address of the machine its running on? or does it get its own address?
* The x-lite phone as the same IP address as the machine it runs on.
if it gets its own address how do you set it? how do you set it to static VS dynamic? and how do you tell asterisk that the address is static VS dynamic?
* For a static system you would put “host = IP address”
* You could still use “host = dynamic” even if the address of the client system was static as the IP address will simply be tied to the SIP registration of the phone.
so if i put “host=dynamic” the softphone will grab a dynamic (DHCP’ed) address. but from where? how do i control it? is it from my sub-net? what DHCP server is controlling where it gets the address from? im confused on that. Does asterisk assign the dynamic address? if so how and where do you configure the pool of addresses it can assign it?
also what does qualify do?
also do i need to say “user=joe” or will the soft-phone understand that cause i used [joe]
lastly nat’ing.
i only use this if i want the phone to be-able to be dialed from outside my local subnet right?
could you please explain how asterisk handles nat’ing?
i would SOOOO appreciate the answers to my questions
[quote]so in sip.conf when it asks
host=?
what do i put
basically does x-lite use the address of the machine its running on? or does it get its own address?
if it gets its own address how do you set it? how do you set it to static VS dynamic? and how do you tell asterisk that the address is static VS dynamic?
[/quote]
Asterisk does not assign IP address, its not a DHCP server for SIP phones.
Your SIP phones already have IP address, because X-lite will use the IP of the computer its running on.
So, if you know that xlite will always be running on those same PC’s and if you know that those PC’s will always have the same IP, the in sip.conf put host= the ipaddress of the pc. But, to avoid IP hassels, just put host=dynamic. Then no matter what IP xlite has it will authentiucate based on username/password.
[quote=“yusuf”][quote]so in sip.conf when it asks
host=?
what do i put
basically does x-lite use the address of the machine its running on? or does it get its own address?
if it gets its own address how do you set it? how do you set it to static VS dynamic? and how do you tell asterisk that the address is static VS dynamic?
[/quote]
Asterisk does not assign IP address, its not a DHCP server for SIP phones.
Your SIP phones already have IP address, because X-lite will use the IP of the computer its running on.
So, if you know that xlite will always be running on those same PC’s and if you know that those PC’s will always have the same IP, the in sip.conf put host= the ipaddress of the pc. But, to avoid IP hassels, just put host=dynamic. Then no matter what IP xlite has it will authentiucate based on username/password.[/quote]
amazing. very clear response
thank you very much! you cleared up a lot of confusion for me.