[SR-Users] Textops and Multipart Body - adding ISUP

Daniel-Constantin Mierla miconda at gmail.com
Wed Feb 10 14:17:12 CET 2016


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




More information about the sr-users mailing list