Hi David,
if you look at source code of the sipt module
https://github.com/kamailio/kamailio/blob/master/modules/sipt/sipt.c
functions sipt_destination & sipt_set_calling works only for ISUP_IAM.
But as I know from my tests ISUP encapsulation must be only in invite,
and is optional for other messages.
--
Best regards,
Sergey Basov e-mail: sergey.v.basov(a)gmail.com
tel: (+38067) 403-62-54
2016-11-07 19:19 GMT+02:00 david <descartin(a)bts.io>io>:
hello all
i'm using kam version 4.4.1 and i would like to generate an ISUP part on the
1xx,2xx responses to a remote carrier since the fsw i send the calls to
cannot handle ISUP SDP.
despite seeing in the doc that those functions cannot be used there and only
in REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE, i tried and it works....
partially, because it seems it doesnt create the last boundary and it
creates a next boundary with an empty "Encapsulated multipart part: "
this the the route i call from onreply_route
route[SIPISUP] {
set_body_multipart();
msg_apply_changes();
$var(isup) =
"\x01\x12\x49\x01\x0a\x03\x02\x0a\x08\x84\x90\x33\x41\x72\x17\x01\x06\x0a\x08\x04\x13\x93\x70\x21\x73\x23\x10\x08\x01\x01\x00";
append_body_part("$var(isup)","application/isup;version=itu-t92+","signal;handling=optional");
msg_apply_changes();
sipt_destination($rU, 31, 4);
sipt_set_calling($fU, 4, 0, 3);
msg_apply_changes();
}
am i doing something wrong? how can i set this to end the SDP with last
boundary?
thanks a lot and regards
david
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users