[Asterisk-Users] IAX Help

Youssef Sayed youssef.sayed at atsint.com
Sat Oct 8 02:56:40 MST 2005


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. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051008/c7295586/attachment.htm


More information about the asterisk-users mailing list