|
i was asking if it is possible or not and i know that i'll do
but I'm asking if i did that is there is any problem could happen to the service??
thnx
|
|
|
|
|
>but I'm asking if i did that is there is any problem could happen to the service??
This again depends on your coding techinques and sikkls.
|
|
|
|
|
Hi,
I am trying to make it work at my laptop, single computer. My laptop doesn't belong to any domain, do I have to make it in a domain?
Thanks,
Linda
|
|
|
|
|
Hi,
Yes it wold work without domain in LAN(all sip devices connected through same sip proxy) enviromnet.
|
|
|
|
|
Thanks Ivar.But I am using X-lite as the soft phone which ask me to set the domain name, I left it empty, X-lite doesn't accept it, how can I set it?
Thanks in advance,
Linda
|
|
|
|
|
Make a dumb domain name in proxy: like "test.com".
Aslo fill it in X-Lite.
|
|
|
|
|
Thanks Ivar, the domain name problen is solved just using your suggestion. Another problem is the authentification always got error.I did some debugging, I found the response couldn't match the CalculateResponse in the auth.httpdigest.authenticate method. I am guessing the response is from client, and the calculateresponse is calculated by proxy, and I am using x-lite. Do you have any idea about this? Or you may know somebody else have solved this problem.
Anyway, if I return true in the auth.httpdigest.authenticate method, it is working now. Just want to know how the authentification part working. Thanks for your replay agian.
Linda
|
|
|
|
|
Hi Ivar,
Another problem is I couldn't find the password from the function "private void SIP_Authenticate(SIP_AuthenticateEventArgs e)" when I was debugging. And my log is like:
Received (545 bytes): 192.168.1.66:5060 <- 192.168.1.66:21762
REGISTER sip:192.168.1.66 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:liao@127.0.0.1:21762;rinstance=a261a0c192e1bdc0>
To: "liao"<sip:liao@192.168.1.66>
From: "liao"<sip:liao@192.168.1.66>;tag=a24bae12
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 1 REGISTER
Expires: 60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) created.
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) Transaction timeout Timer started, will triger after 90000.
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) got response response='407'.
Sending (522 bytes): 192.168.1.66:5060 -> 192.168.1.66:21762
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-;rport=21762;received=192.168.1.66
From: "liao" <sip:liao@192.168.1.66>;tag=a24bae12
To: "liao" <sip:liao@192.168.1.66>
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 1 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="92d86b95392e41e6a15312144cd0b810",opaque="073eb4c61699415ab613ca8f42af62d0"
Content-Length: 0
<end>
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) Timer J(wait time for retransmissions of non-INVITE requests) started, will triger after 32000.
Received (763 bytes): 192.168.1.66:5060 <- 192.168.1.66:21762
REGISTER sip:192.168.1.66 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:liao@127.0.0.1:21762;rinstance=a261a0c192e1bdc0>
To: "liao"<sip:liao@192.168.1.66>
From: "liao"<sip:liao@192.168.1.66>;tag=a24bae12
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Expires: 60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="liao",realm="",nonce="92d86b95392e41e6a15312144cd0b810",uri="sip:192.168.1.66",response="6ae91e5fc604b3099b347580e7c1523e",algorithm=MD5,opaque="073eb4c61699415ab613ca8f42af62d0"
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0
Received (763 bytes): 192.168.1.66:5060 <- 192.168.1.66:21762
REGISTER sip:192.168.1.66 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:liao@127.0.0.1:21762;rinstance=a261a0c192e1bdc0>
To: "liao"<sip:liao@192.168.1.66>
From: "liao"<sip:liao@192.168.1.66>;tag=a24bae12
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Expires: 60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="liao",realm="",nonce="92d86b95392e41e6a15312144cd0b810",uri="sip:192.168.1.66",response="6ae91e5fc604b3099b347580e7c1523e",algorithm=MD5,opaque="073eb4c61699415ab613ca8f42af62d0"
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0
Transaction(id='z9hG4bK-d87543-e647e2509f441064-1--d87543-' method=REGISTER server=true) created.
Transaction(id='z9hG4bK-d87543-e647e2509f441064-1--d87543-' method=REGISTER server=true) created.
Transaction(id='z9hG4bK-d87543-e647e2509f441064-1--d87543-' method=REGISTER server=true) Transaction timeout Timer started, will triger after 90000.
Transaction(id='z9hG4bK-d87543-e647e2509f441064-1--d87543-' method=REGISTER server=true) Transaction timeout Timer started, will triger after 90000.
Transaction(id='z9hG4bK-d87543-e647e2509f441064-1--d87543-' method=REGISTER server=true) got response response='407'.
Transaction(id='z9hG4bK-d87543-e647e2509f441064-1--d87543-' method=REGISTER server=true) got response response='407'.
Sending (522 bytes): 192.168.1.66:5060 -> 192.168.1.66:21762
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport=21762;received=192.168.1.66
From: "liao" <sip:liao@192.168.1.66>;tag=a24bae12
To: "liao" <sip:liao@192.168.1.66>
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="0069b4a5990e451bb27dc30ee83c4974",opaque="073eb4c61699415ab613ca8f42af62d0"
Content-Length: 0
<end>
Sending (545 bytes): 192.168.1.66:5060 -> 192.168.1.66:21762
<begin>
SIP/2.0 407 Proxy Authentication Required: Invalid nonce value !
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport=21762;received=192.168.1.66
From: "liao" <sip:liao@192.168.1.66>;tag=a24bae12
To: "liao" <sip:liao@192.168.1.66>
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="cb1a08862b4e4b2a98e5a25f69bc02b0",opaque="073eb4c61699415ab613ca8f42af62d0"
Content-Length: 0
<end>
Transaction(id='z9hG4bK-d87543-e647e2509f441064-1--d87543-' method=REGISTER server=true) Timer J(wait time for retransmissions of non-INVITE requests) started, will triger after 32000.
Transaction(id='z9hG4bK-d87543-e647e2509f441064-1--d87543-' method=REGISTER server=true) Timer J(wait time for retransmissions of non-INVITE requests) started, will triger after 32000.
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) Timer J(Wait time for retransmissions of non-INVITE requests) triggered.
Received (763 bytes): 192.168.1.66:5060 <- 192.168.1.66:21762
REGISTER sip:192.168.1.66 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:liao@127.0.0.1:21762;rinstance=a261a0c192e1bdc0>
To: "liao"<sip:liao@192.168.1.66>
From: "liao"<sip:liao@192.168.1.66>;tag=a24bae12
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Expires: 60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="liao",realm="",nonce="92d86b95392e41e6a15312144cd0b810",uri="sip:192.168.1.66",response="6ae91e5fc604b3099b347580e7c1523e",algorithm=MD5,opaque="073eb4c61699415ab613ca8f42af62d0"
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) disposed.
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) Transaction timeout timer triggered.
Transaction(id='z9hG4bK-d87543-e647e2509f441064-1--d87543-' method=REGISTER server=true) got request 'REGISTER'.
Received (763 bytes): 192.168.1.66:5060 <- 192.168.1.66:21762
REGISTER sip:192.168.1.66 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:liao@127.0.0.1:21762;rinstance=a261a0c192e1bdc0>
To: "liao"<sip:liao@192.168.1.66>
From: "liao"<sip:liao@192.168.1.66>;tag=a24bae12
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Expires: 60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="liao",realm="",nonce="92d86b95392e41e6a15312144cd0b810",uri="sip:192.168.1.66",response="6ae91e5fc604b3099b347580e7c1523e",algorithm=MD5,opaque="073eb4c61699415ab613ca8f42af62d0"
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0
Transaction(id='z9hG4bK-d87543-e647e2509f441064-1--d87543-' method=REGISTER server=true) got request 'REGISTER'.
Sending (522 bytes): 192.168.1.66:5060 -> 192.168.1.66:21762
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport=21762;received=192.168.1.66
From: "liao" <sip:liao@192.168.1.66>;tag=a24bae12
To: "liao" <sip:liao@192.168.1.66>
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="0069b4a5990e451bb27dc30ee83c4974",opaque="073eb4c61699415ab613ca8f42af62d0"
Content-Length: 0
<end>
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) Transaction timeout timer triggered.
Sending (522 bytes): 192.168.1.66:5060 -> 192.168.1.66:21762
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport=21762;received=192.168.1.66
From: "liao" <sip:liao@192.168.1.66>;tag=a24bae12
To: "liao" <sip:liao@192.168.1.66>
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="0069b4a5990e451bb27dc30ee83c4974",opaque="073eb4c61699415ab613ca8f42af62d0"
Content-Length: 0
<end>
Received (763 bytes): 192.168.1.66:5060 <- 192.168.1.66:21762
REGISTER sip:192.168.1.66 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:liao@127.0.0.1:21762;rinstance=a261a0c192e1bdc0>
To: "liao"<sip:liao@192.168.1.66>
From: "liao"<sip:liao@192.168.1.66>;tag=a24bae12
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Expires: 60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="liao",realm="",nonce="92d86b95392e41e6a15312144cd0b810",uri="sip:192.168.1.66",response="6ae91e5fc604b3099b347580e7c1523e",algorithm=MD5,opaque="073eb4c61699415ab613ca8f42af62d0"
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) Transaction timeout timer triggered.
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) Transaction timeout timer triggered.
Transaction(id='z9hG4bK-d87543-e647e2509f441064-1--d87543-' method=REGISTER server=true) got request 'REGISTER'.
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) Transaction timeout timer triggered.
Sending (522 bytes): 192.168.1.66:5060 -> 192.168.1.66:21762
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport=21762;received=192.168.1.66
From: "liao" <sip:liao@192.168.1.66>;tag=a24bae12
To: "liao" <sip:liao@192.168.1.66>
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="0069b4a5990e451bb27dc30ee83c4974",opaque="073eb4c61699415ab613ca8f42af62d0"
Content-Length: 0
<end>
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) Transaction timeout timer triggered.
Received (763 bytes): 192.168.1.66:5060 <- 192.168.1.66:21762
REGISTER sip:192.168.1.66 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:liao@127.0.0.1:21762;rinstance=a261a0c192e1bdc0>
To: "liao"<sip:liao@192.168.1.66>
From: "liao"<sip:liao@192.168.1.66>;tag=a24bae12
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Expires: 60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="liao",realm="",nonce="92d86b95392e41e6a15312144cd0b810",uri="sip:192.168.1.66",response="6ae91e5fc604b3099b347580e7c1523e",algorithm=MD5,opaque="073eb4c61699415ab613ca8f42af62d0"
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0
Transaction(id='z9hG4bK-d87543-2042ed4a2e59bf36-1--d87543-' method=REGISTER server=true) Transaction timeout timer triggered.
Transaction(id='z9hG4bK-d87543-e647e2509f441064-1--d87543-' method=REGISTER server=true) got request 'REGISTER'.
Received (763 bytes): 192.168.1.66:5060 <- 192.168.1.66:21762
REGISTER sip:192.168.1.66 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:liao@127.0.0.1:21762;rinstance=a261a0c192e1bdc0>
To: "liao"<sip:liao@192.168.1.66>
From: "liao"<sip:liao@192.168.1.66>;tag=a24bae12
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Expires: 60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="liao",realm="",nonce="92d86b95392e41e6a15312144cd0b810",uri="sip:192.168.1.66",response="6ae91e5fc604b3099b347580e7c1523e",algorithm=MD5,opaque="073eb4c61699415ab613ca8f42af62d0"
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0
Sending (522 bytes): 192.168.1.66:5060 -> 192.168.1.66:21762
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 127.0.0.1:21762;branch=z9hG4bK-d87543-e647e2509f441064-1--d87543-;rport=21762;received=192.168.1.66
From: "liao" <sip:liao@192.168.1.66>;tag=a24bae12
To: "liao" <sip:liao@192.168.1.66>
Call-ID: 245d4d34381fcd21M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="0069b4a5990e451bb27dc30ee83c4974",opaque="073eb4c61699415ab613ca8f42af62d0"
Content-Length: 0
<end>
Received (543 bytes): 192.168.1.66:5060 <- 192.168.1.66:1692
REGISTER sip:192.168.1.66 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1692;branch=z9hG4bK-d87543-9305706544578679-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:liao@127.0.0.1:1692;rinstance=6acdfec3fe9a79bd>
To: "liao"<sip:liao@192.168.1.66>
From: "liao"<sip:liao@192.168.1.66>;tag=9e2abc10
Call-ID: a80c753b00585e70M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 1 REGISTER
Expires: 60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0
Transaction(id='z9hG4bK-d87543-9305706544578679-1--d87543-' method=REGISTER server=true) created.
Transaction(id='z9hG4bK-d87543-9305706544578679-1--d87543-' method=REGISTER server=true) Transaction timeout Timer started, will triger after 90000.
Transaction(id='z9hG4bK-d87543-9305706544578679-1--d87543-' method=REGISTER server=true) got response response='407'.
Sending (520 bytes): 192.168.1.66:5060 -> 192.168.1.66:1692
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 127.0.0.1:1692;branch=z9hG4bK-d87543-9305706544578679-1--d87543-;rport=1692;received=192.168.1.66
From: "liao" <sip:liao@192.168.1.66>;tag=9e2abc10
To: "liao" <sip:liao@192.168.1.66>
Call-ID: a80c753b00585e70M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 1 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="6fa7387bd8ae4375b566b4754c2c6e0f",opaque="71cd396bda164055a5b009f7f3f0bc1b"
Content-Length: 0
<end>
Transaction(id='z9hG4bK-d87543-9305706544578679-1--d87543-' method=REGISTER server=true) Timer J(wait time for retransmissions of non-INVITE requests) started, will triger after 32000.
Received (761 bytes): 192.168.1.66:5060 <- 192.168.1.66:1692
REGISTER sip:192.168.1.66 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1692;branch=z9hG4bK-d87543-7d14c0656e119c53-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:liao@127.0.0.1:1692;rinstance=6acdfec3fe9a79bd>
To: "liao"<sip:liao@192.168.1.66>
From: "liao"<sip:liao@192.168.1.66>;tag=9e2abc10
Call-ID: a80c753b00585e70M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Expires: 60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="liao",realm="",nonce="6fa7387bd8ae4375b566b4754c2c6e0f",uri="sip:192.168.1.66",response="587f8397977085a80ed91a931af7a401",algorithm=MD5,opaque="71cd396bda164055a5b009f7f3f0bc1b"
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0
Transaction(id='z9hG4bK-d87543-7d14c0656e119c53-1--d87543-' method=REGISTER server=true) created.
Transaction(id='z9hG4bK-d87543-7d14c0656e119c53-1--d87543-' method=REGISTER server=true) Transaction timeout Timer started, will triger after 90000.
Transaction(id='z9hG4bK-d87543-7d14c0656e119c53-1--d87543-' method=REGISTER server=true) got response response='407'.
Sending (520 bytes): 192.168.1.66:5060 -> 192.168.1.66:1692
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 127.0.0.1:1692;branch=z9hG4bK-d87543-7d14c0656e119c53-1--d87543-;rport=1692;received=192.168.1.66
From: "liao" <sip:liao@192.168.1.66>;tag=9e2abc10
To: "liao" <sip:liao@192.168.1.66>
Call-ID: a80c753b00585e70M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 2 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="b8c56897ee36487383e6e7278514ed24",opaque="71cd396bda164055a5b009f7f3f0bc1b"
Content-Length: 0
<end>
Transaction(id='z9hG4bK-d87543-7d14c0656e119c53-1--d87543-' method=REGISTER server=true) Timer J(wait time for retransmissions of non-INVITE requests) started, will triger after 32000.
Received (761 bytes): 192.168.1.66:5060 <- 192.168.1.66:1692
REGISTER sip:192.168.1.66 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1692;branch=z9hG4bK-d87543-b8206929e878c32d-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:liao@127.0.0.1:1692;rinstance=6acdfec3fe9a79bd>
To: "liao"<sip:liao@192.168.1.66>
From: "liao"<sip:liao@192.168.1.66>;tag=9e2abc10
Call-ID: a80c753b00585e70M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 3 REGISTER
Expires: 60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="liao",realm="",nonce="b8c56897ee36487383e6e7278514ed24",uri="sip:192.168.1.66",response="d19e849ee9c0332b51378557804ab832",algorithm=MD5,opaque="71cd396bda164055a5b009f7f3f0bc1b"
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0
Transaction(id='z9hG4bK-d87543-b8206929e878c32d-1--d87543-' method=REGISTER server=true) created.
Transaction(id='z9hG4bK-d87543-b8206929e878c32d-1--d87543-' method=REGISTER server=true) Transaction timeout Timer started, will triger after 90000.
Transaction(id='z9hG4bK-d87543-b8206929e878c32d-1--d87543-' method=REGISTER server=true) got response response='407'.
Sending (520 bytes): 192.168.1.66:5060 -> 192.168.1.66:1692
<begin>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 127.0.0.1:1692;branch=z9hG4bK-d87543-b8206929e878c32d-1--d87543-;rport=1692;received=192.168.1.66
From: "liao" <sip:liao@192.168.1.66>;tag=9e2abc10
To: "liao" <sip:liao@192.168.1.66>
Call-ID: a80c753b00585e70M2ZhNzY4ODkyMTlkZjc3NTA5YjM0NzYzMWNiZjQ3NmY.
CSeq: 3 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Proxy-Authenticate: digest realm="",nonce="742f8be2123e4a69859c2c964f211ebd",opaque="71cd396bda164055a5b009f7f3f0bc1b"
Content-Length: 0
<end>
Transaction(id='z9hG4bK-d87543-b8206929e878c32d-1--d87543-' method=REGISTER server=true) Timer J(wait time for retransmissions of non-INVITE requests) started, will triger after 32000.
Could you help me out?
Linda
|
|
|
|
|
|
Hi Ivar lumi
I come from china ,i use x_Lite client connect the sip prox server, but can not connected,
the server log display :
System.IndexOutOfRangeException: index of rangge
在 LumiSoft.Net.SIP.Proxy.SIP_Proxy.ForwardRequest(Boolean statefull, SIP_RequestReceivedEventArgs e, Boolean addRecordRoute) location F:\代码\sip\Net\Net\SIP\Proxy\SIP_Proxy.cs:行号 383
在 LumiSoft.Net.SIP.Proxy.SIP_Proxy.OnRequestReceived(SIP_RequestReceivedEventArgs e) location F:\代码\sip\Net\Net\SIP\Proxy\SIP_Proxy.cs:行号 174
the client log display :
Registration error 500:Server internal Error: index out of range
The server full log is :
Request [method='REGISTER'; cseq='1'; transport='UDP'; size='575'; received '168.168.168.200:60724' -> '168.168.168.200:5060'.
<begin>
REGISTER sip:168.168.168.200 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:60724;branch=z9hG4bK-d87543-5f22d8593858b17e-1--d87543-;rport=60724;received=168.168.168.200
Max-Forwards: 70
Contact: <sip:701@127.0.0.1:60724;rinstance=c1d839366784b87a>
To: "701" <sip:701@168.168.168.200>
From: "701" <sip:701@168.168.168.200>;tag=520b5a0a
Call-ID: 75414a510332ae14ZTM4OWEyMTJjMmIzYmViMmE5YTAwYWQyZjEzYjhjMmI.
CSeq: 1 REGISTER
Expires: 3600
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,NOTIFY,MESSAGE,SUBSCRIBE,INFO
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0
<end>
Response [transactionID=''; method='REGISTER'; cseq='1'; transport='UDP'; size='454'; statusCode='500'; reason='Server Internal Error: index out of range。'; sent '' -> '168.168.168.200:60724'.
<begin>
SIP/2.0 500 Server Internal Error: 绱㈠紩瓒呭嚭浜嗘暟缁勭晫闄愩€?
Via: SIP/2.0/UDP 127.0.0.1:60724;branch=z9hG4bK-d87543-5f22d8593858b17e-1--d87543-;rport=60724;received=168.168.168.200
From: "701" <sip:701@168.168.168.200>;tag=520b5a0a
To: "701" <sip:701@168.168.168.200>;tag=1f564230b5991ac65d143e98
Call-ID: 75414a510332ae14ZTM4OWEyMTJjMmIzYmViMmE5YTAwYWQyZjEzYjhjMmI.
CSeq: 1 REGISTER
Allow: INVITE,ACK,CANCEL,BYE,MESSAGE
Content-Length: 0
<end>
Thanks for you help
best regards!
|
|
|
|
|
Hi,
There is probably much newer version:
http://www.lumisoft.ee/lswww/download/downloads/Examples/[^]
|
|
|
|
|
i have download the latest version and test it ,not well!
|
|
|
|
|
Hello Ivar,
First of all, I would like to congratulate you for the good stuff you've written. Great job!!!
I'm a VoIP developer, but newbie in C#. I've tested your code for mine purpose, it seems to work very great.
But I'm still face two problems:
* First of them, I can't use the method invite twice the same time or most precisely hanging up. Here's how: invite --> cancel/bye --> invite --> cancel/bye doesn't work. Seems like the dialog wasn't cleared efficiently the first time.
* Second, still can't handle efficiently the incoming calls. I'm facing problem on how to detect the call (normally this should be via Action listener, action event handler... )
I appreciate a lot any help from your side.
Once again thank you and congratulations for this great job.
Nizar
|
|
|
|
|
|
Hi,
This article is great!
I am from China and a fresher with SIP programing.
I want to know how can I use it in vc6 and would you provide a SIP Client? I want to study it.
can you contact me? e_mail: hjg8208@163.com
I think I have too many questions to ask you.
Thanks!!
|
|
|
|
|
Nope vc6 not supported, you can use it only in any .NET programming language.
|
|
|
|
|
thanks
|
|
|
|
|
Hi
I am new with SIP.
My question is if is it possible to take all calls traffic from sipx?
|
|
|
|
|
Hi,
I dont get what you mean.
|
|
|
|
|
Hi Ivar,
I have downloaded your sip client application and have tested it with ur implemented sip server.Basically i am trying to develop one similar application with DTMF functionality.I referred your code but could not find anything which relates to sending dtmf tones/digits.I tried it out my way but was not successful and was getting a message stating "require touch tone phone to send dtmf". Can you please guide me through this or let me know if you are going to code this feature in your any of the upcoming applications.
Thanks.
|
|
|
|
|
Hi,
So far i havent needed DTMF, so i haven't coded it.
Currently i don't plan to code it any time soon.
|
|
|
|
|
Hi Ivar m making your sip proxy server IVR enabled.
I used your RTP Audio DEmo for that.
I am able to stream an audio file from server to client. But I have done it on LAN.
now I want to run the server on live IP and make it capable to sream ivr audio to the clients not having live ip.
how can i do that....can you provide me some idea for that.
|
|
|
|
|
Hi,
>the clients not having live ip.
But all clients must connect using INVITE request with SDP, SDP must have the IP:port they wnat to receive audio.
|
|
|
|
|
Very nice work on this example project.
I am receiving an error in the Net library when connecting the Windows Messenger client. Is the source available for me to troubleshoot or can you help out? I tried getting the Net source from your Mailserver but the sources aren't the same.
The error is upon signing in from messenger.
System.NullReferenceException: Object reference not set to an instance of an object.
at LumiSoft.Net.SIP.Stack.SIP_TransportLayer.SipTcpPipe.Start() in D:\LumiSoft\Net\Net\SIP\Stack\SIP_TransportLayer.cs:line 249
at LumiSoft.Net.SIP.Stack.SIP_TransportLayer.SipTcpPipe..ctor(SIP_TransportLayer owner, SocketEx socket) in D:\LumiSoft\Net\Net\SIP\Stack\SIP_TransportLayer.cs:line 182
at LumiSoft.Net.SIP.Stack.SIP_TransportLayer.ProcessIncomingData() in D:\LumiSoft\Net\Net\SIP\Stack\SIP_TransportLayer.cs:line 592
|
|
|
|
|
|