[OpenSIPS-Users] SIP-I: init_iam_default Empty Body
spce at lard.at
spce at lard.at
Fri Mar 14 15:21:08 UTC 2025
Dear people,
I've got a problem with the SIP-I module in openSIPS 3.5:
I am trying to add a IAM to the SDP-Part of a SIP-INVITE. When using
add_isup_part() the function is adding a new ISUP section to SDP. Inside
the ISUP section theres a header but no body part.
init_iam_default is correctly extracting Calling/Called party numbers.
There is no error in log. I am using the function inside the default
REQUEST_ROUTE block of the Trunking script.
Does somebody has an idea why my approach isn't working?
Thx,
Malte
> #### SIP_I module
>
> loadmodule "sip_i.so"
> modparam("sip_i", "default_part_headers",
> "Content-Disposition:signal;handling=required\r\n")
> modparam("sip_i", "country_code", "+43")
>
>
> ####### Routing Logic ########
>
> # main request routing logic
>
> route {
>
> add_isup_part();
>
> [default script]
>
> }
>
> --OSS-unique-boundary-42
> Content-Type: application/sdp
>
> [...]
>
> --OSS-unique-boundary-42
> Content-Type: application/ISUP;version=itu-t92+
> Content-Disposition:signal;handling=required
>
> ^^H
> INFO:sip_i:init_iam_default: Called party number set to: 43991001
> Mar 14 15:51:53 opensips-test /usr/sbin/opensips[74183]:
> DBG:core:parse_headers: flags=3000000000
> Mar 14 15:51:53 opensips-test /usr/sbin/opensips[74183]:
> DBG:core:_parse_to: end of header reached, state=10
> Mar 14 15:51:53 opensips-test /usr/sbin/opensips[74183]:
> DBG:core:_parse_to: display={}, ruri={sip:+43771001 at xxx.at;user=phone}
> Mar 14 15:51:53 opensips-test /usr/sbin/opensips[74183]:
> INFO:sip_i:init_iam_default: Calling party number set to: 771001
> Mar 14 15:51:53 opensips-test /usr/sbin/opensips[74183]:
> DBG:sip_i:add_isup_part_cmd: Initial address message parameters set by
> default
> Mar 14 15:51:53 opensips-test /usr/sbin/opensips[74183]:
> DBG:core:parse_headers: flags=ffffffffffffffff
> Mar 14 15:51:53 opensips-test /usr/sbin/opensips[74183]:
> DBG:core:decode_mime_type: Decoding MIME type for:[application/sdp]
> Mar 14 15:51:53 opensips-test /usr/sbin/opensips[74183]:
> DBG:core:add_body_part: adding mime
> <application/ISUP;version=itu-t92+>, hdrs
> <Content-Disposition:signal;handling=required
> >, body=<>
More information about the Users
mailing list