hello to every body!
I've succesfully configured ser-0.9.6 to use sems 0.10.0-rc2 for
conference and voicemail services; but I would also like to use voicebox
module, wich is available only in sems-1.0.0. So I tried to configure my
SIP proxy to use sems-1.0.0, but I found that the syntax below, used to
pass voicemail parameters to sems-0.10.0-rc2, is no longer supported:
...
modparam("tm", "tw_append",
"vm_avps:P-Email-Address=$avp(CALLEE_EMAIL_AVP);P-Language=$avp(CALLEE_LANGUAGE_AVP)")
...
if(!t_write_unix("/tmp/sems_sock","voicemail/vm_avps")) {
xlog("L_ERR", "Could not contact Voicemail Server for <$ru>\n");
t_reply("500","Could not contact Voicemail Server");
exit;
};
...
Actually the correnct sintax would be:
||...
append_hf("P-App-Name: voicemail\r\n");||
append_hf("P-App-Param: [EMAIL PROTECTED];Language=it\r\n");
...
So the problem is that with ser-0.9.6 there is no way (or at least I
didn't find any till now) to dinamically add the previously loaded (from
db) called party's email address.
I tried, for example, with:
...
append_hf("P-App-Param: Email-Address=$email;Language=$language\r\n");
...
But it didn't work (it simply printed "$email" and "$language" in the
P-App-Param header instead of their values).
Is there a way to make sems-1.0.0 work with ser-0.9.6? Or I have to
move to ser-2.0, wich has much many functions and the possibility to
modify avps and headers?
I also tried to export my ser.cfg (about 1000 lines) in ser-2.0, but the
debug showed about 38 errors...
I would really appreciate any suggestion!
greetings to all,
Pierpaolo
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems