Hello.
This is d Asterisk users list.

~Madhawa
Youssef Sayed wrote:

*Dear All;*

* *

*               Hope you are fine. I am developing an application for IAX using 
C#, and I have a problem sending frames to the server, I don’t know how exactly 
I can send the frames. I have saw this site 
http://splurge.peoples-wireless.com/iax/ but I couldn’t understand how can 
combine the frames. This is the code I have written*



Public void send(string message)

{

UdpClient udpClient = new UdpClient();

   try{

        udpClient.Connect("82.201.196.147", 4569);



        Byte[] sendBytes = Encoding.ASCII.GetBytes(message);

        udpClient.Send(sendBytes, sendBytes.Length);

      }

}

*Then I call **send** **method and give it the frame to send like for example (**0x0d**) but I always get this from the server*

* *

*1696.476346 82.201.205.17 -> 82.201.196.147 IAX2 Mini packet, source call# 17969, timestamp 8297ms, unknown (0x00)*

* *

*OR*

* *

*82.201.205.17 -> 82.201.196.147 IAX2 Mini packet, source call# 24930, timestamp 25444ms, empty frame*

* *

*If anyone can help sending an example of what I can put in the message variable that the server can understand and how can I combine the frames described in the link below will be great.*

* *

Thank you.

------------------------------------------------------------------------

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to