[Kamailio-Users] method value of the CSeq field
Henning Westerholt
henning.westerholt at 1und1.de
Thu Nov 27 11:04:55 CET 2008
On Wednesday 26 November 2008, Alex Balashov wrote:
> >>>> 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
Hi Alex,
this is still way to old school:
import java.lang.System.out;
public class Hello
{
public static void main (String argv[])
{
out.println("Hello World!");
}
}
SCNR ;-)
Cheers,
Henning
More information about the Users
mailing list