Hello,

can you provide the full INVITE with the body and then say which part you want to extract? Many here are not familiar with SIP-I/T, but they can help with the operations available in kamailio to extract parts from the sip message.

Cheers,
Daniel

On 31.03.21 12:20, Waseem Zaidi wrote:
I really need this help, somebody plz reply :(

On Tue, Mar 30, 2021 at 6:37 PM Waseem Zaidi <waseemzaidi@gmail.com> wrote:
Hi All:

I am new to the list, I am struggling to find out Kamailio's capabilities with SIP-I/ISUP. I see that there is SIP-T module in kamailio and ss7ops module, but I need to get a hold on how to start. I would appreciate if someone could guide me.

previously, I tried to use OpenSIPS SIP-I to extract ISUP from incoming calls, i was able to extract ISUP parameters in SDP body as

xlog("Called Number: $isup_param_str(Called Party Number|Address signal)\r\n");
xlog("Calling Number: $isup_param_str(Calling Party Number|Address signal)\r\n");
xlog("Location is: $isup_param_str(Location Number)\r\n");

Location parameter is appearing as 0x04971400330268 which is wrongly interpreted. its proper interpretation should appear as 4100332086.

I also tried below:
xlog("Location is: $isup_param_str(Location Number|Address signal)\r\n");
but this subfield is not present.

The transformation didn't make any difference:
xlog("Location NUM: $(var(isup_body){isup.param, Location Number}

Help pleeez ?



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla