Hi,
Is there any variable to return the method value of the CSeq field? (example: returns "ACK" for CSeq:1165 ACK) $cs returns only the "Sequence Number".
Thansk, Alex R,
_________________________________________________________________ Access your email online and on the go with Windows Live Hotmail. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_...
You can parse it yourself using textops from $hdr(CSeq).
Alex R.S.M wrote:
Hi,
Is there any variable to return the method value of the CSeq field? (example: returns "ACK" for CSeq:1165 ACK) $cs returns only the "Sequence Number".
Thansk, Alex R,
Access your email online and on the go with Windows Live Hotmail. Sign up today. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_112008
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
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.
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
Alex R.S.M schrieb:
Hi,
Is there any variable to return the method value of the CSeq field? (example: returns "ACK" for CSeq:1165 ACK) $cs returns only the "Sequence Number".
According to description it should return the whole body: $cs - reference to body of cseq header
So, 1. there's a bug in the docu.
2. $rm works also for replies
regards klaus
regards klaus
Thansk, Alex R,
Access your email online and on the go with Windows Live Hotmail. Sign up today. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_112008
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
Klaus Darilion schrieb:
Alex R.S.M schrieb:
Hi,
Is there any variable to return the method value of the CSeq field? (example: returns "ACK" for CSeq:1165 ACK) $cs returns only the "Sequence Number".
According to description it should return the whole body: $cs - reference to body of cseq header
So, 1. there's a bug in the docu.
Fixed
- $rm works also for replies
regards klaus
regards klaus
Thansk, Alex R,
Access your email online and on the go with Windows Live Hotmail. Sign up today. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_112008
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users