Call from PC to Mobile RRS feed

  • Question

  • User829529328 posted

    Hi all,

    I have create a softphone:  both to call company extensions and outside the company.

    Our server is Asterisk. I am able to call extentions.

    when we make call manually we used to dial       8xxxxxxxx (prefix 8 and the number)

    how can i code it in c#.

    the code written to call inside company is given.

    clientSocket.Send(Encoding.ASCII.GetBytes("Action: Originate\r\nChannel: SIP/114\r\nExten: SIP/0\r\nPriority: 1\r\nTimeout: 60000\r\nContext: full\r\n\r\n"));

    Thanks in advance.



    Monday, July 18, 2011 8:57 AM

All replies