 |
|
 |
Hello,
We are really greatfull for this stack and demo. but we want to understand how demo works. we have 3 years SIP experience as engineer. so we are aware about the registration authantication bla bla issues. i have many times managed to register clients to proxy servers.
now we want to use your stack but we are unable to make the code up and runnning. when we try it after registration packet has arrived we got this error:
System.IndexOutOfRangeException: Dizin, dizi sınırlarının dışındaydı. konum: LumiSoft.Net.SIP.Proxy.SIP_Proxy.ForwardRequest(Boolean statefull, SIP_RequestReceivedEventArgs e, Boolean addRecordRoute) C:\Users\GU\Desktop\Net\Net\SIP\Proxy\SIP_Proxy.cs içinde: satır 383 konum: LumiSoft.Net.SIP.Proxy.SIP_Proxy.OnRequestReceived(SIP_RequestReceivedEventArgs e) C:\Users\GU\Desktop\Net\Net\SIP\Proxy\SIP_Proxy.cs içinde: satır 174
and the log is: Request [method='REGISTER'; cseq='1'; transport='UDP'; size='438'; received '192.168.1.107:5060' -> '192.168.1.100:5060'.
REGISTER sip:192.168.1.100 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.107;rport=5060;branch=z9hG4bKc0a8016b000000104a38f98c0000475c00000001;received=192.168.1.107 Contact: <sip:12345@192.168.1.107:5060> Call-ID: 9C5518D6-209A-4D79-BC50-41222D878CE0@192.168.1.107 CSeq: 1 REGISTER From: <sip:12345@192.168.1.100>;tag=996183312389 Max-Forwards: 70 To: <sip:12345@192.168.1.100> User-Agent: SJphone/1.60.289a (SJ Labs) Content-Length: 0
Response [transactionID=''; method='REGISTER'; cseq='1'; transport='UDP'; size='450'; statusCode='500'; reason='Server Internal Error: Dizin, dizi sınırlarının dışındaydı.'; sent '' -> '192.168.1.107:5060'.
SIP/2.0 500 Server Internal Error: Dizin, dizi sınırlarının dışındaydı. Via: SIP/2.0/UDP 192.168.1.107;rport=5060;branch=z9hG4bKc0a8016b000000104a38f98c0000475c00000001;received=192.168.1.107 From: <sip:12345@192.168.1.100>;tag=996183312389 To: <sip:12345@192.168.1.100>;tag=c94c432a80ee7cbab17ca580 Call-ID: 9C5518D6-209A-4D79-BC50-41222D878CE0@192.168.1.107 CSeq: 1 REGISTER Allow: INVITE,ACK,CANCEL,BYE,MESSAGE Content-Length: 0
Request [method='REGISTER'; cseq='1'; transport='UDP'; size='438'; received '192.168.1.107:5060' -> '192.168.1.100:5060'.
REGISTER sip:192.168.1.100 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.107;rport=5060;branch=z9hG4bKc0a8016b000000104a38f98c0000475c00000001;received=192.168.1.107 Contact: <sip:12345@192.168.1.107:5060> Call-ID: 9C5518D6-209A-4D79-BC50-41222D878CE0@192.168.1.107 CSeq: 1 REGISTER From: <sip:12345@192.168.1.100>;tag=996183312389 Max-Forwards: 70 To: <sip:12345@192.168.1.100> User-Agent: SJphone/1.60.289a (SJ Labs) Content-Length: 0
Response [transactionID=''; method='REGISTER'; cseq='1'; transport='UDP'; size='450'; statusCode='500'; reason='Server Internal Error: Dizin, dizi sınırlarının dışındaydı.'; sent '' -> '192.168.1.107:5060'.
SIP/2.0 500 Server Internal Error: Dizin, dizi sınırlarının dışındaydı. Via: SIP/2.0/UDP 192.168.1.107;rport=5060;branch=z9hG4bKc0a8016b000000104a38f98c0000475c00000001;received=192.168.1.107 From: <sip:12345@192.168.1.100>;tag=996183312389 To: <sip:12345@192.168.1.100>;tag=6ea84feba383a1d0c747cbe4 Call-ID: 9C5518D6-209A-4D79-BC50-41222D878CE0@192.168.1.107 CSeq: 1 REGISTER Allow: INVITE,ACK,CANCEL,BYE,MESSAGE Content-Length: 0
Request [method='REGISTER'; cseq='1'; transport='UDP'; size='438'; received '192.168.1.107:5060' -> '192.168.1.100:5060'.
REGISTER sip:192.168.1.100 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.107;rport=5060;branch=z9hG4bKc0a8016b000000104a38f98c0000475c00000001;received=192.168.1.107 Contact: <sip:12345@192.168.1.107:5060> Call-ID: 9C5518D6-209A-4D79-BC50-41222D878CE0@192.168.1.107 CSeq: 1 REGISTER From: <sip:12345@192.168.1.100>;tag=996183312389 Max-Forwards: 70 To: <sip:12345@192.168.1.100> User-Agent: SJphone/1.60.289a (SJ Labs) Content-Length: 0
Response [transactionID=''; method='REGISTER'; cseq='1'; transport='UDP'; size='450'; statusCode='500'; reason='Server Internal Error: Dizin, dizi sınırlarının dışındaydı.'; sent '' -> '192.168.1.107:5060'.
SIP/2.0 500 Server Internal Error: Dizin, dizi sınırlarının dışındaydı. Via: SIP/2.0/UDP 192.168.1.107;rport=5060;branch=z9hG4bKc0a8016b000000104a38f98c0000475c00000001;received=192.168.1.107 From: <sip:12345@192.168.1.100>;tag=996183312389 To: <sip:12345@192.168.1.100>;tag=d5f14e16b18b0d6a4438b111 Call-ID: 9C5518D6-209A-4D79-BC50-41222D878CE0@192.168.1.107 CSeq: 1 REGISTER Allow: INVITE,ACK,CANCEL,BYE,MESSAGE Content-Length: 0
Request [method='REGISTER'; cseq='1'; transport='UDP'; size='438'; received '192.168.1.107:5060' -> '192.168.1.100:5060'.
REGISTER sip:192.168.1.100 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.107;rport=5060;branch=z9hG4bKc0a8016b000000104a38f98c0000475c00000001;received=192.168.1.107 Contact: <sip:12345@192.168.1.107:5060> Call-ID: 9C5518D6-209A-4D79-BC50-41222D878CE0@192.168.1.107 CSeq: 1 REGISTER From: <sip:12345@192.168.1.100>;tag=996183312389 Max-Forwards: 70 To: <sip:12345@192.168.1.100> User-Agent: SJphone/1.60.289a (SJ Labs) Content-Length: 0
Response [transactionID=''; method='REGISTER'; cseq='1'; transport='UDP'; size='450'; statusCode='500'; reason='Server Internal Error: Dizin, dizi sınırlarının dışındaydı.'; sent '' -> '192.168.1.107:5060'.
SIP/2.0 500 Server Internal Error: Dizin, dizi sınırlarının dışındaydı. Via: SIP/2.0/UDP 192.168.1.107;rport=5060;branch=z9hG4bKc0a8016b000000104a38f98c0000475c00000001;received=192.168.1.107 From: <sip:12345@192.168.1.100>;tag=996183312389 To: <sip:12345@192.168.1.100>;tag=827d4211be64ab5648ce8c6e Call-ID: 9C5518D6-209A-4D79-BC50-41222D878CE0@192.168.1.107 CSeq: 1 REGISTER Allow: INVITE,ACK,CANCEL,BYE,MESSAGE Content-Length: 0
i look forward your help about this issue.
Thanks a lot
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
dear ivan
thank you for this good article but i need client working with this server can you give me one or link to open project for one ??
or is there is any other way to use MSN messenger as i saw in this website
http://officesip.com
thnx again
and if we can talk directly plz add you MSN email or yahoo messenger email
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
it works thnx
but let me know how to use it without domain
second issue i want to use MYSQL or SQL as database of SIP server
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
>second issue i want to use MYSQL or SQL as database of SIP server Thas not a issue, you just need to code it by yourself.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
>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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
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!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
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!!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
 |
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.
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|