Am I seeing it right? You use 200 for identity, realm and username?
You need to provide proper realm. You can find this in the SIP 
communication when you login using xlite.

For example I use:
identity: [EMAIL PROTECTED]
realm: BroadWorks
username: 420222xxxxxx
password: **********

Then it registers and I can make calls. To make a call I type 
sip:[EMAIL PROTECTED]
You can't just type a phone number.

If you are willing to put up with sipxezphone for 2 weeks, I will make 
my GPL softphone based on sipxtapi available within 2 weeks. It has much 
more functions than sipxezphone and doesn't freeze. I just need to 
document the code, make help, and make it run as taskbar icon under 
windows. I wrote about its functionality in one of the posts maybe 3 
weeks ago.

Jaroslav Libak

volatile wrote:
> thank u so much~
> and now i've already built this project,and i can run the 
> sipxezphone.exe now,but there comes some new problems:
> 1.register problem:
>     run sipxezphone, configure info below:
>    
>     identity:200
>     realm:200
>     username:200
>     password:******
>     proxy server:10.218.14.198
>     default sip port :5060
>  
>     other info:
>     stun server:stun.sip411.com
>     stun port:3478
>     enable ice: checked
>     location: empty
>     enable r-port?: checked
>     auto answer:unchecked
>     default rtp port: 8000
>  
>     what are the two checkbox means?shoud i check it or not?
>    
>     and after i configure this info, i fount it always registered fail:
>  
>  
> EVENT_CATEGORY_LINESTATE::REGISTERING::REGISTERING_NORMAL:sip:200
>  
> EVENT_CATEGORY_LINESTATE::REGISTERING::REGISTERING_NORMAL:sip:200
>  
> EVENT_CATEGORY_LINESTATE::REGISTER_FAILED::REGISTER_FAILED_TIMEOUT:sip:200
>  
>     or
>  
> EVENT_CATEGORY_LINESTATE::REGISTERING::REGISTERING_NORMAL:sip:200
>  
> EVENT_CATEGORY_LINESTATE::REGISTERING::REGISTERING_NORMAL:sip:200
>  
> EVENT_CATEGORY_LINESTATE::REGISTER_FAILED::REGISTER_FAILED_NOT_AUTHORIZED:sip:200
>  
>     when i use X-lite ,i can register to server,and i sniffer the net 
> pack, fount there
> must two steps to register to server ,the first to send a register 
> pack ,and server give
> a "NOT_AUTHORIZED" answer ,and the client must send another pack of 
> register with authentation, and server will answser "200 ok".but now i 
> fount sipxapi desn't send the second register pack to server ,so it 
> always register fail.
>     so ,can u tell me how resolve this problem,or how to send the 
> second register pack ,whick api interface to call to send this pack?
>  
>    
>  
> 2.invite problem:
>     i can dial sip:[EMAIL PROTECTED],to let the softphone ring,i want 
> to ask how to dial real phone number,for exp: the phone no. is 
> 56781234,how to spell the sip address(url),i've try the 
> sip:[EMAIL PROTECTED],but it can't let the phone ring.
>     how to ring the real phone?
>  
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to