Hello!
I am using SEMS 0.10.0 with openser1.2.3.Now,I want to config REFER in
conference.But when I write the follow statement in openser's cfg,I get errors:
modparam( "tm", "tw_append",
"refer_append:hdr[P-Transfer-NH];hdr[P-Transfer-RR]")
The error I get is like the below:
Starting OpenSER : 0(18715) ERROR:tm:parse_tw_append: short spec
'$hdr(P-Transfer-NH)' unknown(aceepted only body)
0(18715) parse error (76,19-20): Can't set module parameter
0(18715) INFO:xl_parse_name: using hdr type (6) instead of <call-id>
0(18715) INFO:xl_parse_name: using hdr type (6) instead of <call-id>
0(18715) INFO:xl_parse_name: using hdr type (6) instead of <call-id>
0(18715) INFO:xl_parse_name: using hdr type (6) instead of <call-id>
0(18715) INFO:xl_parse_name: using hdr type (6) instead of <call-id>
ERROR: bad config file (1 errors)
0(18715) INFO:mi_fifo:mi_destroy:memory for the child's mi_fifo_pid was not
allocated -> nothing to destroy
And then ,I try to write it as some other manner,just like modparam( "tm",
"tw_append", "refer_append:$hdr(P-Transfer-NH);$hdr(P-Transfer-RR)"), or
modparam( "tm", "tw_append",
"refer_append:$hdr[P-Transfer-NH];$hdr[P-Transfer-RR]").
All I get is a parser error.
Could you please tell me why and how should I config it?Thank you very much.
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems