|
|
Comments and Discussions
|
|
 |
|

|
everything working fine
but when i try to calling does not work
i have a sip server
any help please!!
|
|
|
|

|
class SDP
329 if(!string.IsNullOrEmpty(this.Originator)){
330
331 retVal.AppendLine("0=" + this.Originator);
332
333 }
modified 22 Jun '12 - 3:23.
|
|
|
|

|
169 private void RemoveExpiredNonces()
170 {
171 lock(m_pNonces){
172 for(int i=0;i if(m_pNonces[i].CreateTime.AddSeconds(m_ExpireTime) > DateTime.Now){
175 m_pNonces.RemoveAt(i);
176 i--;
177 }
178 }
179 }
180 }
179 }
180 }
|
|
|
|

|
IPPhone IP is 192.168.1.2; Sip Proxy IP is 192.168.1.253
When IPPhone Register , the SIP fails the process and shows the error.
What can I do to resolve it ?
////// error log//////////
System.FormatException: 輸入字串格式不正確。(translation: input string wrong)
於 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
於 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
於 System.Convert.ToInt32(String value)
於 LumiSoft.Net.AUTH.Auth_HttpDigest.Parse(String digestResponse) 於 D:\Csharp Book\LumiSoft.Net\Net\Net\AUTH\Auth_HttpDigest.cs: 行(row) 126
於 LumiSoft.Net.AUTH.Auth_HttpDigest..ctor(String digestResponse, String requestMethod) 於 D:\Csharp Book\LumiSoft.Net\Net\Net\AUTH\Auth_HttpDigest.cs: 行 35
於 LumiSoft.Net.SIP.SIP_Utils.GetCredentials(SIP_Request request, String realm) 於 D:\Csharp Book\LumiSoft.Net\Net\Net\SIP\SIP_Utils.cs: 行 145
於 LumiSoft.Net.SIP.Proxy.SIP_Proxy.AuthenticateRequest(SIP_RequestReceivedEventArgs e, String& userName) 於 D:\Csharp Book\LumiSoft.Net\Net\Net\SIP\Proxy\SIP_Proxy.cs: 行 823
於 LumiSoft.Net.SIP.Proxy.SIP_Proxy.ForwardRequest(Boolean statefull, SIP_RequestReceivedEventArgs e, Boolean addRecordRoute) 於 D:\Csharp Book\LumiSoft.Net\Net\Net\SIP\Proxy\SIP_Proxy.cs: 行 351
於 LumiSoft.Net.SIP.Proxy.SIP_Proxy.OnRequestReceived(SIP_RequestReceivedEventArgs e) 於 D:\Csharp Book\LumiSoft.Net\Net\Net\SIP\Proxy\SIP_Proxy.cs: 行 174
///////reg log////////
Transaction [branch='z9hG4bK4e8808b81af58f0f0f98f9fae0fa8ac6';method='REGISTER';IsServer=true] timer I(Non-INVITE request retransmission wait) triggered.
Transaction [branch='z9hG4bK4e8808b81af58f0f0f98f9fae0fa8ac6';method='REGISTER';IsServer=True] switched to 'Terminated' state.
Request [method='REGISTER'; cseq='781'; transport='UDP'; size='401'; received '192.168.1.2:5060' -> '192.168.1.253:5060'.
REGISTER sip:192.168.1.253 SIP/2.0
Call-ID: 4099112003-3E8B-0007
Contact:
CSeq: 781 REGISTER
Expires: 3600
From: "101" ;tag=50-831083433
Max-Forwards: 70
To: "101"
User-Agent: AmRoad
Via: SIP/2.0/UDP 192.168.1.2:5060;rport=5060;branch=z9hG4bKed119c3b6e431f736168068fd9086387;received=192.168.1.2
Content-Length: 0
Transaction [branch='z9hG4bKed119c3b6e431f736168068fd9086387';method='REGISTER';IsServer=true] created.
Transaction [branch='z9hG4bKed119c3b6e431f736168068fd9086387';method='REGISTER';IsServer=True] switched to 'Trying' state.
Response [flowReuse=true; transactionID='z9hG4bKed119c3b6e431f736168068fd9086387'; method='REGISTER'; cseq='781'; transport='UDP'; size='505'; statusCode='407'; reason='Proxy Authentication Required'; sent '192.168.1.253:5060' -> '192.168.1.2:5060'.
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.1.2:5060;rport=5060;branch=z9hG4bKed119c3b6e431f736168068fd9086387;received=192.168.1.2
From: "101" ;tag=50-831083433
To: "101" ;tag=91b64c1f81bef5e95e30cea3
Call-ID: 4099112003-3E8B-0007
CSeq: 781 REGISTER
Allow: INVITE,ACK,CANCEL,BYE,MESSAGE
Proxy-Authenticate: digest realm="",nonce="61bc850c786241f19f57580448a9480b",opaque="1d795f4460ec4cfd9892f4ecd50d91c7"
Content-Length: 0
Transaction [branch='z9hG4bKed119c3b6e431f736168068fd9086387';method='REGISTER';IsServer=True] switched to 'Completed' state.
Transaction [branch='z9hG4bKed119c3b6e431f736168068fd9086387';method='REGISTER';IsServer=true] timer J(Non-INVITE request retransmission wait) started, will trigger after 32000.
Request [method='REGISTER'; cseq='782'; transport='UDP'; size='626'; received '192.168.1.2:5060' -> '192.168.1.253:5060'.
REGISTER sip:192.168.1.253 SIP/2.0
Call-ID: 4099112003-3E8B-0007
Contact:
CSeq: 782 REGISTER
Expires: 3600
From: "101" ;tag=50-831083433
Max-Forwards: 70
Proxy-Authorization: Digest username="101@test.com",realm="",nonce="61bc850c786241f19f57580448a9480b",uri="sip:192.168.1.253",response="5dce688c47b46a36dddfe8b8c162fbf8",opaque="1d795f4460ec4cfd9892f4ecd50d91c7",nc=0000030e
To: "101"
User-Agent: AmRoad
Via: SIP/2.0/UDP 192.168.1.2:5060;rport=5060;branch=z9hG4bK32d8da85d26639c06759a5a1082c56fa;received=192.168.1.2
Content-Length: 0
Response [transactionID=''; method='REGISTER'; cseq='782'; transport='UDP'; size='409'; statusCode='500'; reason='Server Internal Error: 輸入字串格式不正確。'; sent '' -> '192.168.1.2:5060'.
SIP/2.0 500 Server Internal Error: 頛詨摮葡?澆?銝迤蝣箝?
Via: SIP/2.0/UDP 192.168.1.2:5060;rport=5060;branch=z9hG4bK32d8da85d26639c06759a5a1082c56fa;received=192.168.1.2
From: "101" ;tag=50-831083433
To: "101" ;tag=0f7c40ad88cb505d4fb3ece3
Call-ID: 4099112003-3E8B-0007
CSeq: 782 REGISTER
Allow: INVITE,ACK,CANCEL,BYE,MESSAGE
Content-Length: 0
Transaction [branch='z9hG4bKed119c3b6e431f736168068fd9086387';method='REGISTER';IsServer=true] timer I(Non-INVITE request retransmission wait) triggered.
Transaction [branch='z9hG4bKed119c3b6e431f736168068fd9086387';method='REGISTER';IsServer=True] switched to 'Terminated' state.
|
|
|
|

|
Hi Ivar,
Recentlly I got a task to navigate phone calls done from voip adapter (using sip protocol). Your solution seems to be exellent, but I do not know how to connect and set all these things. I run your Sip Proxy demo on my comuter and create users [test1; test2] in Settings tab. After setting voip adapter [sip proxy=MyComputerIP; Line1=test1; Line2=test2], the lines are appeared in Registrations tab. Also in Gateways tab I added corectlly sip gateway (sip.example_sip.com or IP of the sip proxy), but I can not make a call. When I try to make a call there is a busy tone (Destination not found).
Please help me with this, Thanks
|
|
|
|

|
Hello,
i would like to ask you if you know any source code for sip client with Video support that works fine ?
Thanks
wael
|
|
|
|

|
Hi, I have a few questions about RTCP. Let's assume that a SIP connection between 2 soft-phones, A and B, is established. 1. Subsequently, if A sends a RTCP sender report to B, is B required to send something like ACK back to A? 2. How often is A supposed to send a RTCP sender/receiver report to B? 3. If A sends a RTCP packet with RTP version set to 0 (instead of 2), will B complain and cause some delay? Thanks.
|
|
|
|

|
When using the AuthContext.get, the function can get the user name, realm, algorithm...but the password is empty.
What is the problem? In the userInfo of the server can get the password, but when compare witht the e.AuthContext.password, it is empty.
In the application: For registration, it need:
Domain : (without port:5060)
User : 100
Password: 123456
Auth ID: 100
Expire Time: 1000
In the AuthContext can get username = Auth ID....why not User property?? Is me set the wrong property?
|
|
|
|

|
But voipcore is just an old version of Abto Voip Sip SDK from http://www.voipsipsdk.com/ . Why bother with old versions?
|
|
|
|

|
I came across this SIP Stack:
www.voipcore.com
Can anybody share experience using it?
|
|
|
|

|
System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at LumiSoft.Net.Net_Utils.CreateSocket(IPEndPoint localEP, ProtocolType protocolType) in E:\LumiSoft\Net\Net\Net_Utils.cs:line 380
at LumiSoft.Net.UDP.UDP_Server.Start() in E:\LumiSoft\Net\Net\UDP\UDP_Server.cs:line 171
|
|
|
|

|
Hi Ivar,
Im using your SIP Proxy application. I want to know how to enable the SIP to PSTN phone calls and what configuration i have to do .
Please help me on this
|
|
|
|

|
Greetings Ivar,
Will I use the same code for my project with out changing the Dll and namespace and how many Clients we can connect in this server application.
Is there any limitation. Waiting for your reply eagerly.
|
|
|
|

|
Hello,thank you for a very nice project!
Would you be so kind and adviced me on the basic setting of this proxy please? I have a Asterisk PBX (lets say 10.0.0.108) and an zoiper softphone (10.0.0.21). If I setup the zoiper to register its extension directly to the Asterisk, the softphone registers, I can make calls, etc:
Zoiper(10.0.0.21)--->Asterisk(10.0.0.108)
However if I try to setup your SIP_Proxy_demo between the two (lets say on an IP 10.0.0.101):
Zoiper(10.0.0.21)---> SIP_Proxy_demo(10.0.0.101) --->Asterisk(10.0.0.108)
the zoiper softphone wont register (I changed the "domain" for the account from 10.0.0.108 to 10.0.0.101) - I get the message "SIP/2.0 407 Proxy Authentication Required". In the SIP_proxy_demo setting I leave the "hostname" empty, in the users I add the same credentials that worked allright in the softphone without proxy (eg 3000,password,3000@10.0.0.108) + press the "Play" button.
Please could you point me to what am I doing wrong? Should I fill the "hostname" settings in the SIP_proxy_demo with the IP of the asterisk? Or add the asterisk IP to the "gateways" tab?
Thank you for any information!
|
|
|
|

|
my dear friend ,you maybe write wrong size of your source code,it should be 1.1 mb,not 1.1 kb
|
|
|
|

|
Am not able to run the server. The log showing below given error :
Received (489 bytes): 192.168.1.43:5060 <- 192.168.1.43:3363
REGISTER sip:192.168.1.43 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.43:16504
Max-Forwards: 70
From: <sip:1000@192.168.1.43>;tag=4630f16796754b3e83ab97138f51bcf5;epid=c43c95ac07
To: <sip:1000@192.168.1.43>
Call-ID: c15644c8b2634b08999b8553a44f71a4@192.168.1.43
CSeq: 1 REGISTER
Contact: <sip:192.168.1.43:16504>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER"
User-Agent: RTC/1.2.4949
Event: registration
Allow-Events: presence
Content-Length: 0
Invalid request: Via: header field branch parameter is missing !
Sending (363 bytes): 192.168.1.43:5060 -> 192.168.1.43:16504
<begin>
SIP/2.0 400 Bad Request. Via: header field branch parameter is missing !
Via: SIP/2.0/UDP 192.168.1.43:16504
From: <sip:1000@192.168.1.43>;tag=4630f16796754b3e83ab97138f51bcf5;epid=c43c95ac07
To: <sip:1000@192.168.1.43>
Call-ID: c15644c8b2634b08999b8553a44f71a4@192.168.1.43
CSeq: 1 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Content-Length: 0
<end>
Received (489 bytes): 192.168.1.43:5060 <- 192.168.1.43:3363
REGISTER sip:192.168.1.43 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.43:16504
Max-Forwards: 70
From: <sip:1000@192.168.1.43>;tag=4630f16796754b3e83ab97138f51bcf5;epid=c43c95ac07
To: <sip:1000@192.168.1.43>
Call-ID: c15644c8b2634b08999b8553a44f71a4@192.168.1.43
CSeq: 2 REGISTER
Contact: <sip:192.168.1.43:16504>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER"
User-Agent: RTC/1.2.4949
Event: registration
Allow-Events: presence
Content-Length: 0
Invalid request: Via: header field branch parameter is missing !
Sending (363 bytes): 192.168.1.43:5060 -> 192.168.1.43:16504
<begin>
SIP/2.0 400 Bad Request. Via: header field branch parameter is missing !
Via: SIP/2.0/UDP 192.168.1.43:16504
From: <sip:1000@192.168.1.43>;tag=4630f16796754b3e83ab97138f51bcf5;epid=c43c95ac07
To: <sip:1000@192.168.1.43>
Call-ID: c15644c8b2634b08999b8553a44f71a4@192.168.1.43
CSeq: 2 REGISTER
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,PRACK
Content-Length: 0
<end>
|
|
|
|

|
thanks Ivar. would you consider moving your code base to Codeplex or Sourceforge? great Code. especially on SIP. Thanks! You are the ONE.
|
|
|
|

|
Hi,
I downloaded code last month and I quickly adapted it to use in my ASP.NET web server,
and it immediately works without problems!
Then I started "play" with code and I found it incredibly valuable and complete,
if you are patient, in this pack you can find a solid base for all your communication needs!
I'm a "normal" developer, to tell I use c# as straight as possible, so initially I found all very complex,
but now I must admit it improved a lot my knowledge and programming skills!
Thanks Ivar
|
|
|
|

|
Hi,
I have your sip client which is having audio support..is there update on your sip client? i mean is there any support for video thing?? can u plz gv me the link from where i can download that..?
Thanks in advance...
|
|
|
|

|
I'm using the example SIP UA.
I'm trying to modify to use TCP in mensagems SIP instead of UDP.
How can I do this?
|
|
|
|

|
I'm trying to create a proxy via TCP instead of UDP, but it's wrong, i send!
|
|
|
|

|
Hello,
When the forecast is the SIP_Gateway version implemented?
|
|
|
|

|
First I run the proxy in my computer, then run X-Lite client. But the client can't register in the proxy.
********************************************************************************************
Request [method='REGISTER'; cseq='1'; transport='UDP'; size='545'; received '127.0.0.1:34506' -> '127.0.0.1:5060'.
<begin>
REGISTER sip:127.0.0.1 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:34506;branch=z9hG4bK-d8754z-6e730a1667197941-1---d8754z-;rport=34506;received=127.0.0.1
Max-Forwards: 70
Contact: <sip:kaiwn@127.0.0.1:34506;rinstance=effa56751174535f>
To: "kaiwn" <sip:kaiwn@127.0.0.1>
From: "kaiwn" <sip:kaiwn@127.0.0.1>;tag=9a4f4e47
Call-ID: MzNkMWM0YjY1ZDA0OWYwYThlYTFmN2IxM2E5NzJmNDA.
CSeq: 1 REGISTER
Expires: 3600
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,NOTIFY,MESSAGE,SUBSCRIBE,INFO
User-Agent: X-Lite release 1103d stamp 53117
Content-Length: 0
<end>
Transaction [branch='z9hG4bK-d8754z-6e730a1667197941-1---d8754z-';method='REGISTER';IsServer=true] created.
Transaction [branch='z9hG4bK-d8754z-6e730a1667197941-1---d8754z-';method='REGISTER';IsServer=True] switched to 'Trying' state.
Failed to send response to host '127.0.0.1' IP end point '127.0.0.1:34506'.
Transaction [branch='z9hG4bK-d8754z-6e730a1667197941-1---d8754z-';method='REGISTER';IsServer=true] transport exception: Host '127.0.0.1:34506' is not accessible.
Transaction [branch='z9hG4bK-d8754z-6e730a1667197941-1---d8754z-';method='REGISTER';IsServer=True] switched to 'Terminated' state.
Request [method='REGISTER'; cseq='1'; transport='UDP'; size='545'; received '127.0.0.1:34506' -> '127.0.0.1:5060'.
<begin>
REGISTER sip:127.0.0.1 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:34506;branch=z9hG4bK-d8754z-6e730a1667197941-1---d8754z-;rport=34506;received=127.0.0.1
Max-Forwards: 70
Contact: <sip:kaiwn@127.0.0.1:34506;rinstance=effa56751174535f>
To: "kaiwn" <sip:kaiwn@127.0.0.1>
From: "kaiwn" <sip:kaiwn@127.0.0.1>;tag=9a4f4e47
Call-ID: MzNkMWM0YjY1ZDA0OWYwYThlYTFmN2IxM2E5NzJmNDA.
CSeq: 1 REGISTER
Expires: 3600
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,NOTIFY,MESSAGE,SUBSCRIBE,INFO
User-Agent: X-Lite release 1103d stamp 53117
Content-Length: 0
********************************************************************************************
X-lite: I set the IP address and domain as : 127.0.0.1
sip proxy: host name & address of record : 127.0.0.1
Please help and thank you very much
|
|
|
|

|
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
|
|
|
|

|
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
|
|
|
|

|
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 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!
|
|
|
|

|
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!!
|
|
|
|

|
Hi
I am new with SIP.
My question is if is it possible to take all calls traffic from sipx?
|
|
|
|

|
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 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.
|
|
|
|

|
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
|
|
|
|

|
Hi, as you said routing is not implemented in this sip server. But can you suggest me if I want to do routing than how to do it. Do you have routing implemented in any other project. Please guide me.
|
|
|
|
|

|
hi ivar the sip client which is given on:
lumisoft.ee/lswww/download/downloads/ SIP RTP.zip
it is getting registered with sip_proxy_demo i.e your server,but not getting registered with any other server,can u please guide me about where i can be going wrong.
thanx
|
|
|
|

|
How to do routing in this server. Please guide me..
|
|
|
|

|
As I read, gateways is already implemented in this sip proxy server. But i am new to it. So can you guide me how to use it? I want to register my sip phone(eye beam) with that gateway. Please guide me...
|
|
|
|

|
Hi Ivar,
Thank you for quick replying my previous email.
I'm new in learning SIP. Could you please let me know how the SIP Proxy Demo supposed to work?
Can I use your demo to register with Asterik server?
Thank you,
BL
|
|
|
|

|
Hi,
Is this stack supporting SSL connection?
Thank you,
Bryan
|
|
|
|

|
My situation calls for writing a SIP UAC that will receive messages, parse them for logging into a sql server and send appropriate response. Your code has a SIP_UA class however, that uses the SIP_Stack. If I needed just the UAC to send and receive messages, could I do that w/o the SIP_Stack, SIP_Transport*, etc?
The second item is parsing of the SIP messages, is there a simple way to send the SIP packet to a class and just get the raw text back?
|
|
|
|

|
Hi Ivar
Actually I am trying to register ur sip client with the Asterisk but I am unable to do it.
I am using Trixbox 2.6.1 which uses Asterisk 1.4
The Configurations done by me in the Sip.conf of Asterisk are able to send audio and video therough Eyebeam 1.5.7
But with the same configurations the sip client is not even registering with the Asterisk Server.
Please provide me some guidence so that I can register ur SIP Client with the Asterisk Server.
Waiting for ur Reply
modified on Friday, January 23, 2009 5:02 AM
|
|
|
|

|
hi........
Can u please where actually in the code client sends the registartion request to the server,because when i tried debugging using the eyebeam sip phone it went to following:
1.private void SIP_Authenticate
2.SIP_AddressExists
3.SIP_CanRegister
in server...and the registration is successful...
but with sip client ...it is not going anywhere to server and giving registartion status : error
|
|
|
|

|
I am having problem i registering the sip client. It is doing audio video calling but still in the status message it shows the status="error". Please guide me.
|
|
|
|

|
Hi ivar,
This is really a great work. Thanks for your work
I just wonder whether i can use the SIP stack in
a closed source commercial project ?
Thanks for your help
Kwan
|
|
|
|

|
I was looking around for a C# sip client to play with. It seems to work with Uplink Skype2Sip and everything. Great work!
Now if I could only find a C# SIP client.... Oh well, can't have everything.
|
|
|
|

|
Hi Ivar... GREAT WORK!!!
I have a question, what is the proper way to forward a call using your stack? I've been able to hack it, but I'm not sure I'm doing it correctly.
Thanks in advance!
|
|
|
|

|
Dear Mr Ivar Lumi!
I am an beginer. My English very bad. I want a very simple SIP client program in VB6, it can make a call in LAN with SIP protocol.
Can you help me!
Thank for your SIP Stack With SIP Proxy but I can't study.
|
|
|
|

|
Thanks Ivar.
I looked codes only.Excellent!
but I have pboblem with using Server-Cleint connection.
What I must to write in HOST NAME area - in SERVER ?
and CLIENT side what I must write in area near SIP: ?
and in CLIENT area written ivx@lumisoft.ee, how I can change it?
Thanks again.
You helped me more more...
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
C# implementation of SIP
| Type | Article |
| Licence | CPOL |
| First Posted | 20 Mar 2007 |
| Views | 510,450 |
| Downloads | 14,438 |
| Bookmarked | 146 times |
|
|