# Sip problem

**URL:** <https://community.asterisk.org/t/sip-problem/12183>\
**Category:** Asterisk Support\
**Created:** [February 5, 2007, 3:54pm UTC](https://community.asterisk.org/t/sip-problem/12183 "2007-02-05T15:54:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![albertmunoz](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@albertmunoz](https://community.asterisk.org/u/albertmunoz)\
**Post date:** [February 5, 2007, 3:54pm UTC](https://community.asterisk.org/t/sip-problem/12183/1 "2007-02-05T15:54:29Z")

</div>

Hi all,  
I installed the x-lite softphone in my windows XP pc and configured as follows:  
Display name: xxx  
User name: xxx  
Password: xxx  
Authorization name: xxx  
domain: nnn.nnn.n.nn  
proxy address: nnn.nnn.n.nn:5060

where nnn.nnn.n.nn is the address of my linux box where I installed Asterisk.

I also installed the x-lite softphone in the same linux box where I installed Asterisk and configured it the same but instead of xxx, i used yyy

This is the sip.conf in the linux box:  
[xxx]  
type=friend  
secret=xxx  
host=dynamic  
canreinvite=no  
context=internal

[yyy]  
type=friend  
secret=yyy  
host=dynamic  
canreinvite=no  
context=internal

The extensions.conf has the following section:  
[internal]  
exten =\> xxx,1,Dial(SIP/xxx,r)  
exten =\> yyy,1,Dial(SIP/yyy,r)

This is the problem:  
If I call extension yyy from the phone installed in the linux box, it dials and calls itself (i’m able to answer on the second line)

If I call extension xxx (phone installed in Windows) from the yyy extension (phone installed in the linux box), it fails (call failed: 4004 not found).  
The same happens when I called from the phone installed in Windows. In other words, I cannot make these two phones talk to each other.

if I enter in CLI the command “sip show peers”, it shows both extensions, xxx and yyy but the only one on-line is yyy (the one in the same linux box). somehow it does not see the one installed and running in windows.

Both Windows and Linux are running in my home network (bellsouth homenetworking DSL) and i’m able to ping both boxes so they see each other in the network.

Any help will be greatly appreciated. I’m very new to this an I’m struggling to understand how it works.

Thanks

---

<div class="post-metadata">

**Author:** ![mxtreme311](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@mxtreme311](https://community.asterisk.org/u/mxtreme311)\
**Post date:** [February 5, 2007, 5:26pm UTC](https://community.asterisk.org/t/sip-problem/12183/2 "2007-02-05T17:26:52Z")

</div>

Does the x-lite client on Windows show as properly registered? If not have your tried turning off the Windows Firewall?

---

<div class="post-metadata">

**Author:** ![albertmunoz](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@albertmunoz](https://community.asterisk.org/u/albertmunoz)\
**Post date:** [February 5, 2007, 5:35pm UTC](https://community.asterisk.org/t/sip-problem/12183/3 "2007-02-05T17:35:04Z")

</div>

I got an improvement: I changed the host in sip.conf from dynamic to the IP address of the Windows box where x-lite and now the asterisk box ‘sees’ it.  
When I type sip show peers it shows the extension i register for the phone in my windowx pc.  
However, I can’t dial it.

I type console dial 2000@internal (2000 is the extension of my windows phone.

I get the message:  
Everyone is busy/congested at this time  
timeout but no rule ‘t’ in context ‘internal’

any ideas?

---

<div class="post-metadata">

**Author:** ![albertmunoz](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@albertmunoz](https://community.asterisk.org/u/albertmunoz)\
**Post date:** [February 5, 2007, 6:19pm UTC](https://community.asterisk.org/t/sip-problem/12183/4 "2007-02-05T18:19:17Z")

</div>

Yes, the firewall is off and it is the softphone is properly registered. I’m able to see it in the linxu box using ‘sip show peers’

---

<div class="post-metadata">

**Author:** ![jbrock](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jbrock](https://community.asterisk.org/u/jbrock)\
**Post date:** [February 5, 2007, 6:38pm UTC](https://community.asterisk.org/t/sip-problem/12183/5 "2007-02-05T18:38:14Z")

</div>

what is the status for xlite? does it say registered? on the xlite screen?

---

<div class="post-metadata">

**Author:** ![albertmunoz](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@albertmunoz](https://community.asterisk.org/u/albertmunoz)\
**Post date:** [February 5, 2007, 6:59pm UTC](https://community.asterisk.org/t/sip-problem/12183/6 "2007-02-05T18:59:47Z")

</div>

it says:

Ready  
Your username is: 2000

This is x-lite 3.0 build 34025
