[SR-Users] Create ISUP Body

Duarte Rocha duarterocha91 at gmail.com
Tue Feb 20 18:02:01 CET 2018


Hey Everyone

I'm  setting up a load testing scenario for my Kamailio. In order to do
that i've created another Kamailio to answer "200 OK" to an Invite in order
to simulate a call being answered.

One of the scenarios I need to test is reading values from the ISUP IAM or
ACM body.

Here's the code on the Kamailio that replies with 200 :

 $var(acm) = "06 02 04 01 2c 01 fb 0c 08 83 10 19 7c 82 12 15 00 36 01 19
40 01 00 39 06 2c c0 36 c0 40 c0 00";


set_reply_body("$var(acm)","application/isup;base=itu-t92+;version=etsi356");

        if( is_method("INVITE") && !has_totag() )
        {
ยท
                xnotice("First Invite");
                send_reply("200","OK");

        }


However, when i use this and i do a pcap i get a "Message Type: Overload",
which doesn't support optional parameters.
What am i doing wrong ? Are there other methods to setup a simple ISUP part
without hex ?

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180220/1d3f1042/attachment.html>


More information about the sr-users mailing list