.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

Wanted Caller ID functionality from SIP -- Possible without third-party SDK?

Posted By:      Posted Date: September 21, 2010    Points: 0   Category :.NET Framework
 

Hi, I don't know where to post but if moderators could move this thread to a correct place, I'd appreciate it. I am not sure which forum is for when it comes to VoIP/SIP.


I am looking into developing an SIP application that will monitor for INVITEs and gather the information, which I can handle the rest when it comes to displaying caller information (like in Windows Media Center for Vista). As far as I understand it, in order to receive INVITEs, I must register with the server, such as Asterisk (I use trixbox ), right? I have already created an extension for receiving phone calls in either a Windows forms application, or Windows Media Center (remember, I can handle the rest), so that's no big deal.

Since I'm not developing a fully-fledged softphone application, what are some approaches I can use for monitoring SIP traffic?

Anyone who's interested in following the SIP tutorial can be found here . I've just got the basics done and I really wanted to try to avoid third-party SDK if I can, but a freeware will work fine (although I had a hard time finding one).

Thanks,



--Grayson Peddie

PS (OT): It's been a long time since I last use the old MSDN Forum and I feel like I'm a stranger to the forum.




View Complete Post


More Related Resource Links

Adding Dynamic Rows in ASP.NET GridView Control with TextBoxes and with Delete functionality

  
In my previous examples, I have demonstrated on how to add dynamic rows in GridView control with TextBoxes and how to save the values into the database. Now, seems that most of the developers are asking if how to add a delete functionality with it. So in this example, I'm going to show on how to delete a certain row in the dynamic GridView with TextBoxes.

Intermittant error: "A connection attempt failed because the connected party did not properly respon

  

Greetings,

I'm having a doozy of a problem, and can't find a solution.  I have a WFC Web Service installed to a pair of servers, and accessed through a load balancer.  I am accessing the service from an ASP.NET client app, also via WCF.  The Client is not load balanced.

I'm getting an intermittant error:

(Inner Most Exception) System.Net.Sockets.SocketException:  A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond x.x.x.x:80

(Middle Exception) System.Net.WebException: Unable to connect to the remote server

(Outer Exception) System.ServiceModel.EndpointNotFoundException:  Could not connect to http://<MYSite>/<MYApp>/<MYService>.svc. TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond x.x.x.x:80.

I can reproduce this error with about 20% reliability if I execute the exact same page request on the client from 2 browsers at the same time.  When the problem occurs, the successful p

Security negotiation failed because the remote party did not send back a reply in a timely manner. T

  

 


Dear All i have created one simple service

like this

namespace WcfService2
{
        public class Service1 : IService1
    {
        public string ShowEmpName(string strFirstName, string strLastName)
        {
            return strFirstName + strLastName;
        }
    }
}




after executing in .net command promt i got 2 files

service.cs & output.config


after that i create one class file like this


namespace WcfService2
{
    public class clientcs
    {

        static void Main(string[] args)
        {
            Service1Client client = new Service1Client();
            string strResult = client.ShowEmpName("Pradeep", "Deokar");

Want to create Online Business Card designing functionality

  

 I am going to create Online Business Card designing functionality.

 I am newbie regarding graphics in asp.net. I want to create exactly like following site.

 

http://www.smitteninvitations.com/designStudio.aspx?variantId=86&Quantity=50

 

I have some questions

 

1) How can I write user text in existing image on the fly?

2) How to embed that with aspx page?

3) How to generate it with user inputs like text, font color, size?

 

Please give me any tutorial URL or any link that could help. Is there any compo

Plug-Ins: Let Users Add Functionality to Your .NET Applications with Macros and Plug-Ins

  

Most user applications benefit from the ability to be extended by other developers. It's often easier and more efficient to extend an existing application that users are already familiar with and trained on than it is to develop one from scratch. Thus, extensibility makes your application more attractive. You can build extensibility into your application by supporting features like plug-ins or macros. This is easily accomplished using the .NET Framework even if the core application isn't a .NET Framework app. In this article, the author describes extensibility features of the .NET Framework including late binding and reflection and how to use them, along with plug-in security considerations.

Jason Clark

MSDN Magazine October 2003


I wanted a 1 in my table - I got -2147483647

  
Initially the column in NULL, so I test for Null before trying to assign an integer to null.
 Why don't I get a 1 for the first entry?
 Dim Timesemailed As Integer
        Dim adv As New AdvanceLink(advlink)
        If Not IsDBNull(adv.TimesEmailed) Then
            Timesemailed = adv.TimesEmailed
            Timesemailed = Timesemailed + 1
        Else : Timesemailed = 1
        End If
        Const sSQL As String = "UPDATE tblAdvanceLink SET LastEmailed = @LastEmailed,TimesEmailed=@TimesEmailed WHERE ADVLinkID =  @ADVLinkID"
        Dim xSqlCommand As SqlCommand = New SqlCommand(sSQL, con)

        Try
            xSqlCommand.Parameters.Add("@LastEmailed", SqlDbType.DateTime)
            xSqlCommand.Parameters("@LastEmailed").Value = DateTime.Today
            xSqlCommand.Parameters.Add("@TimesEmailed", SqlDbType.Int)
            xSqlCommand.Parameters("@TimesEmailed").Value = Timesemailed
            xSqlCommand.Parameters.Add("@ADVLinkID", SqlDbType.Int)
            xSqlCommand.Parameters("@ADVLinkID").Value = advlink


 


cascading functionality in infopath 2007

  

Hello ,

I have a few drop downs in my browser based infopath 2007 forms and they  have cascading functioanlity ie they get filtered data..for filtering i qam using a web service..now the issue is that say i have 4 drop downs and for getting the fourt drop down's value the web service takes as input the second and the third's drop down value..now what is happening is that if based on the second drop down value if there is no value returned for third drop down then i cannot get to fourt drop down's value whichi should as it has value irrespective of whether the third drop down has some value or not....this is only the issue when i access the form in browser ..when i access it through the client infopath then it's working good...but in browser form the event is not firing when i select the emty value in third drop down...

Can somebody please tell me what to do..

Thanks


How to enable check in check out functionality for a custom list?

  

Hi,

how could i enable check in check out functionality for a custom list? I know this exists for document libraries, but isnt this possible for custom lists?


Best regards,
Yavuz B.

My Blog http://www.starcoder.net

need help about HttpWebRequest : A connection attempt failed because the connected party did not pro

  

Hiiii

I am creating an application for bulk mailing. Its on my subdomain. 

The functionality i require here is I need to copy an html file located in different subdomains on my production server to my bulk mailing application. 

I am using HttpWebRequest for the purpose where I take the url of the page into a text box and create a HttpWebrRequest. 

The code is as simple as follows.

HttpWebRequest request = (HttpWebRequest) WebRequest.Create("http://mydomainorsubdomain.com/dir1/page.html");

and this is working fine on my local development environment that is in VS2010 

but when i put code to production server it is throwing following error. 


2010-08-25 15:21:00,845 ERROR Error caught : the details of the error are  System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 124.153.93.54:80
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
   at System.Net.ServicePoint.ConnectSocketIn

3rd party cookies, proxies, and you.

  
I have an intranet site that is used to pull several other intranet applications/tools and database info to one place.One of the most popular features uses iFrames and jQuery tabs to give a broad overview of activities, signal etc in a network node.  Chrome and Firefox eat it up with no problems, IE will work if you override the cookie policies that restrict 3rd party cookies without a valid p3p (what a worthless standard).  IE also works if you already authenticated yourself on the individual sites and the session cookies are still valid.It's gaining popularity outside the original small intended audience, and I can't expect everyone to override their privacy settings or expect IT to push the sites out to exception lists on all PCs in the company.Before someone chimes in with "just add protected void Application_BeginRequest(object sender, EventArgs e) { HttpContext.Current.Response.AppendHeader("p3p", "CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""); } to your global .asax", I have ZERO control of the child site., so regular 'ol p3p settings ain't gonna cut it.After wasting over two days with it and getting behind on more important matters, I figure my options at this point areSomehow inject p3p into the header of the child site just before iFrame renders. (uhggnh)someh

Pass activity progress to caller

  
Hi, I have code activity MyActivity.cs. I create a workflow/XAML which contains MyActivity. My caller application load and executes this XAML. From inside MyActivity.cs, at execution time, I would like to pass progress information back to caller app. This information can just be an integer on basis of which caller app can show a progress bar describing how much activity has been executed.  What is the best way to achieve this in terms of WF? I can do some hacks to pass this information but is there any WF standard way to achieve this? Thanks,  haris

Can any One tell me how to achive same facebook's text area "What's in your maind functionality"

  
Can any One tell me how to achive same facebook's "What's in your maind " textarea functionality works and  How I can do using "ASP.NET 2005"

Wanted to know if windows 7 pro is needed to install sharepoint 2010? or it is better to do vmware a

  
Wanted to know if windows 7 pro is needed to install sharepoint 2010? or it is better to do vmware and then do virtual sharepoint 2010 development environment?

sending email in asp.net A connection attempt failed because the connected party did not properly re

  
Hi everyone,   I am sending email , but getting this error on this line smtpClient.Send(mail); "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond IP adress ...   MailMessage mail = new MailMessage(); mail.To.Add( "test@mywebname.com"); mail.From = new MailAddress(txtEmail.Text); mail.Subject = "Testing Email";   string Body = "Demo Email trial"; mail.Body = Body; mail.IsBodyHtml = true;   SmtpClient smtpClient = new SmtpClient(); smtpClient.Host = "mail.mywebname.com"; smtpClient.Credentials = new System.Net.NetworkCredential("test@mywebname.com", "passwd"); smtpClient.Send(mail);   plz help me

Upload functionality for List

  
Hi all. I have a custom content type, let’s call it “Report”, inherited from Item object (basically because I need to use “Item-level Permissions” on lists based on this content type). Is it possible to implement “Upload functionality” we have on Document or Picture library to Custom List based on this content type? So, I need: Add Upload button to list (could be achieved by Custom Action button). On Upload button push – show UploadForm. After file is uploaded – NewForm appear with some field populated (Picture library is an appropriate example). Thanks.

Accessing ActiveX Component functionality from SSIS

  
Hi I have my SSIS Package, from which I need to access the functionality of an external application.  The external application have an API exposed in form of ActiveX Component.  I have to access that ActiveX components. Now, how to have that ActiveX components exposed to my SSIS package? What are the steps to access that ActiveX component ? Request you to reply at the earliest as this is a critical requirement.  Please note that I am very new to SSIS technology.  

Any Third Party Tool for Database Search for Backend User

  
Hi,   Anyone has idea/clue for any third party tool, that help us for searching database items from different tables within a single database.Thanks & Regards, Satish Srivastava
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend