Hello everyone.
I have a little doubt about freeing allocated memory. I'm using this two functions.
gchar* status_code (gchar *status)
{
gchar* data = "";
sip_status ++;
while (*status != CR && *(status+1) != LF)
{
data = concatenar_char(data,status);
status ++;
}
return...
Hi All. I need some help with some configurations. Excuse me for my bad English.
So I have this configuration in my lab:
--------- ------ -------- -----------------
SIP phone|<-->|Router|<-->|Internet|<-->|ADSL Modem/Router| <-->
--------- ------ --------...
Hi!. Right now I'm developing a simple SIP sniffer. I'm having problems capturing the SIP header. I'm using a socket to read from the NIC (fill a buffer). Then I use a pointer and these two fuctions to read from the receive buffer.
int captar_linea(char *sip_line)
{
u_int8_t count...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.