Can not get the incomming call, but can call outside

Hi, here is my problem-

I can call outside via my asterisk from any extension, but when I would make a phone call inside from my cell phone for example, I have my VOIP provider (via their asterisks) picking up the line and saying to me “the user at extension my phone # is not available”…

even it looks like I am registered…

sip show registry
Host Username Refresh State Reg.Time
voip.myprovider.com:5060 my phone # 105 Registered Thu, 13 Mar 2008 01:42:41

and

[b]sip show peers
Name/username Host Dyn Nat ACL Port Status

voip.myprovider.com_out/my phone # voip.myprovider.com 5060 OK (12 ms)
2000/2000 192.168.1.189 D 5060 OK (191 ms)[/b]

I am trying to setup a call from outsite to my extension 2000

here is the line in my extensions.conf for that purpose-

[voip.myprovider.com_in]
exten => s,1,Dial(SIP/2000)

Any idea?

Thanks.

Set the sip debug on to see if the call comes to your Asterisk box and if it comes check what happens.

Cheers.

Marco Bruni

No it looks like it is not comming into my box, my VOIP provider’s Asterisk is taking over all the time when I call from outside giving me the message (“the user at extension my phone # is not available”).

I have activated -rvvvv and dip debug, but can not see any activity during incoming call on Asterisk console.

If I connect my Sipura 2000 box then I have incoming call.

Any idea?