[Kamailio-Users] method value of the CSeq field

Alex Balashov abalashov at evaristesys.com
Wed Nov 26 17:52:53 CET 2008


Iñaki Baz Castillo wrote:
> El Miércoles, 26 de Noviembre de 2008, Alex Balashov escribió:
>> Iñaki Baz Castillo wrote:
>>> El Miércoles, 26 de Noviembre de 2008, Alex Balashov escribió:
>>>> You can parse it yourself using textops from $hdr(CSeq).
>>> Not needed at all, just read $rm variable (works for requests and
>>> responses).
>> I didn't say it was needed, just that it could be done.  ;)  $rm is
>> definitely best.
> 
> I agree with you, parsing $hdr(CSeq) is cooler XD
> 

In about the same measure that

#include <stdio.h>
#include <stdlib.h>

int    main(void) {
	FILE *fp = fopen("/dev/stdout", "w");

	fprintf(fp, "Hello World!\n");
	fclose(fp);

	return EXIT_SUCCESS;
}

is cooler than

10 PRINT "HELLO WORLD"
20 END

:)

-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599




More information about the Users mailing list