Thank you for reply.
Yes i need to insert ISUP message to update it later via sipt_set_calling($fU, 4, 0, 3); and sipt_destination($rU, 31, 4);
I make some progress with append_body_part("\x01\x10\x48\x00\x0a\x00","application/isup; version=itu-t92+","signal; handling=optional");
but kamailio does not inserts \x00 into the body, May be it thinks that string is terminating? -- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-10 15:17 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
Hello,
On 10/02/16 12:35, Sergey Basov wrote:
Hi All.
I need to use SIP-I with my upstream to set A number as unknown.
I was read about adding incapsulation ISUP using
if(has_body("application/sdp")) { set_body_multipart(); msg_apply_changes()
$var(acm) = "7e Od 04 55 75 69 20 4d 61 6b 65 43 61 6c 6c"; append_body_part("$var(acm)","application/isup;version=itu-t92+","signal; handling=optional"); msg_apply_changes() xlog("L_INFO", "ISUP Changes Applied Succesfully"); }
It is converts body to multipart and inserts ISUP
But it inserts is as text.
Is there any possibility to insert basic ISUP message to update it after using
sipt_destination($rU, 31, 4); and
sipt_set_calling($fU, 4, 0, 3);
not much into sip-t/sip-i, but I try to inderstand from kamailio and sip operations point of view. What do you mean by "Is there any possibility to insert basic ISUP message to update it after using ..."?
Do you want to insert first a value and then change it?
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users