News & Reviews
More How-To's & Tips More News
More Reviews Device Configuration Tools
No account yet? Create one
Forgot your Username or Password?

Welcome to the Voxilla VoIP Forum.

Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.





Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old November 26th, 2006, 12:20 AM
andreafi andreafi is offline
Junior Member
 
Join Date: Nov 2006
Posts: 1
andreafi is on a distinguished road
Default Help on sipXtapiDotNet

I’m trying to use your sipXtapiDotNet inferface with axon sip pbx.
Any other softphone works fine.

Please help me, because I don’t know how I can do sipxtapi works.

Thanks you very much.

THE PROBLEM:
sipXtapiDotNet seems to have problem with authentication.

I used ethereal to see the packets and I found that sipxtapi after the register request, don’t reply to 401 unauthorized response with the second register request and the authentication string.

I insert below the packets (they are 4 packets because I tried to execute 2 time the code).

In the attach you can find the sipxtapi log.

Here’s the code and after the packets:

Sip = SipXTapiDotNet.SipxInstance.Create("sip:108@192.16 8.0.1", 060, 5060, tlsPort:=-1)
Sip.Connect(True)
Sip.Audio.SetInputDevice("Realtek AC97 Audio")
Sip.Audio.SetOutputDevice("Realtek AC97 Audio")
Config = SipXTapiDotNet.SipxConfig.Create(Sip)
Sip.LineCreate()
Sip.Lines(0).AddCreditial("108", "108", "axon@servero01")
Sip.Lines(0).Register()



SNIFFER PACKETS:

No. Time Source Destination Protocol Info
5 1.999862 192.168.0.10 192.168.0.1 SIP Request: REGISTER sip:192.168.0.1

Frame 5 (464 bytes on wire, 464 bytes captured) Ethernet II, Src: 00:02:3f:b7:76:f8, Dst: 00:13:d4:bf:ee:da Internet Protocol, Src Addr: 192.168.0.10 (192.168.0.10), Dst Addr: 192.168.0.1 (192.168.0.1) User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Source port: 5060 (5060)
Destination port: 5060 (5060)
Length: 430
Checksum: 0x03ae (correct)
Session Initiation Protocol
Request-Line: REGISTER sip:192.168.0.1 SIP/2.0
Message Header
From: sip:108@192.168.0.1;tag=269c291a
To: sip:108@192.168.0.1
Call-Id: d960a0fc2350c8cbd14eaf9887159884
Cseq: 1 REGISTER
Contact: <sip:108@192.168.0.10;LINEID=563c12019a4b>
Expires: 3600
Date: Thu, 23 Nov 2006 23:00:19 GMT
Max-Forwards: 20
User-Agent: sipX/1.3.0 (WinNT)
Supported: replaces
Via: SIP/2.0/UDP 192.168.0.10;branch=z9hG4bK-67be0b99a4e2;rport
Content-Length: 0


No. Time Source Destination Protocol Info
6 2.078278 192.168.0.1 192.168.0.10 SIP Status: 401 Unauthorized (0 bindings)

Frame 6 (411 bytes on wire, 411 bytes captured) Ethernet II, Src: 00:13:d4:bf:ee:da, Dst: 00:02:3f:b7:76:f8 Internet Protocol, Src Addr: 192.168.0.1 (192.168.0.1), Dst Addr: 192.168.0.10 (192.168.0.10) User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Source port: 5060 (5060)
Destination port: 5060 (5060)
Length: 377
Checksum: 0xbd75 (correct)
Session Initiation Protocol
Status-Line: SIP/2.0 401 Unauthorized
Message Header
Via: SIP/2.0/UDP 192.168.0.10;branch=z9hG4bK-67be0b99a4e2;rport
To: sip:108@192.168.0.1
From: sip:108@192.168.0.1;tag=269c291a
Call-ID: d960a0fc2350c8cbd14eaf9887159884
CSeq: 1 REGISTER
User-Agent: Axon 1.09
WWW-Authenticate: Digest realm="axon@server01",nonce="v74859qaq22296w",opaq ue="",stale=FALSE,algorithm=MD5
Content-Length: 0
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:





All times are GMT. The time now is 02:46 PM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc. Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2007 by Voxilla, Inc.