SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
andreafiOffline



Joined: Nov 26, 2006
Posts: 2

Status: Offline
Posted: Nov 26, 2006 - 01:03 AM Reply with quote Back to top
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.168.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",opaque="",stale=FALSE,algorithm=MD5
Content-Length: 0
View user's profile Send private message
anthonysOffline



Joined: Jul 31, 2007
Posts: 2

Status: Offline
Posted: Aug 01, 2007 - 09:36 AM Reply with quote Back to top
hi there,

did you ever get a resolution to this issue? i'm having the exact same problem.

thanks in advance

Anthony
View user's profile Send private message
andreafiOffline



Joined: Nov 26, 2006
Posts: 2

Status: Offline
Posted: Aug 01, 2007 - 11:41 AM Reply with quote Back to top
I understood that sipXtapi doesn't support SIP AUTHORIZATION.
So nothing is possible with this control.
Bye.

Andrew
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.