Hi.
As I remember this INFO because after conversion to multipart your
header in SIP message now Content-Type:
multipart/mixed;boundary="2123894789_1257887457" not Content-Type:
application/sdp
and next WARNING is normal too in this case.
For me it works normal, I make conversion from pure sip SI
Hello all
i'm having the same error on kam 4.4 when doing
set_body_multipart();
msg_apply_changes();
i see in the logs
5(17797) DEBUG: textops [textops.c:1577]: set_multibody_helper():
delimiter<17>:[unique-boundary-1]
5(17797) DEBUG: textops [textops.c:1486]: generate_boundary(): adding
fin
Hi All.
Sorry for delay with reply.
But I make workaround by replacing \x00 in my string with values \x01.
In this case ISUP body was successfully added. I make some
modifications into sipt module to replace this values with 00 under
called number modifications using function sipt_destination($rU
On 02/10/2016 03:58 PM, Daniel-Constantin Mierla wrote:
> CC-ed Victor -- iirc, he was the author of the functions for multi-part
> body -- maybe he remembers the rules for these function, if they take
> 0x0 as terminator or not.
Please set debug mode and please provide the relevant output
sig
Hi Daniel.
I just make forward without msg_apply_changes(), and see the same situation.
x00 des not added into the body.
I try to add append_body_part("\x01\x10\x48\x00\x0a\x0b\x0d","application/isup;
version=itu-t92+","signal; handling=optional");
but into the output message added only \x01\x10\
Msg length field should not be relevant in this case.
Can you add the multipart and just forward, without doing
msg_apply_changes()? Just to see if the cut happens during the
re-parsing or not ...
Cheers,
Daniel
On 10/02/16 17:02, Sergey Basov wrote:
>
> I look at textos sources and seems that m
I look at textos sources and seems that most of oparations made using
memcpy. this C functions must work correctly with 0x00 symbol.
But there are functions which checks msg.len, so may be they cut this
content?..
WBR.
Sergey
10 февр. 2016 г. 16:58 пользователь "Daniel-Constantin Mierla" <
mico..
CC-ed Victor -- iirc, he was the author of the functions for multi-part
body -- maybe he remembers the rules for these function, if they take
0x0 as terminator or not.
>From what I remember by heart, a normal body should work fine with
non-printable characters -- there is easy to check if the cont
I am looking what is send to the network.
--
Best regards,
Sergey Basov e-mail: sergey.v.ba...@gmail.com
tel: (+38067) 403-62-54
2016-02-10 16:43 GMT+02:00 Daniel-Constantin Mierla :
> Hello,
>
> On 10/02/16 15:26, Sergey Basov wrote:
>> Thank you for reply.
>>
>> Yes i need
Hello,
On 10/02/16 15:26, Sergey Basov wrote:
> Thank you for reply.
>
> Yes i need to insert ISUP message
> to update it later via sipt_set_calling($fU, 4, 0, 3); and
> sipt_destination($rU, 31, 4);
>
> I make some progress with
> append_body_part("\x01\x10\x48\x00\x0a\x00","application/isup;
> v
Thank you for reply.
Yes i need to insert ISUP message
to update it later via sipt_set_calling($fU, 4, 0, 3); and
sipt_destination($rU, 31, 4);
I make some progress with
append_body_part("\x01\x10\x48\x00\x0a\x00","application/isup;
version=itu-t92+","signal; handling=optional");
but kamailio do
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
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)",
Hi,
I was wrong. Your configuration is correct. after set_body_multipart()
msg_appy_changes() is needed
> if(has_body("application/sdp"))
> {
>set_body_multipart();
>if(msg_apply_changes())
>{
> $var(acm) = "7e Od 04 55 75 69 20 4d 61 6b 65 43 61 6c 6c";
>
Hi Victor,
Many thanks for your reply.
Here is what happens if I amend msg_apply_changes():
/usr/sbin/kamailio[1705]: ERROR: textops [textops.c:1854]:
append_multibody_helper(): Cannot get boundary. Is body multipart?
/usr/sbin/kamailio[1705]: INFO:
On 07/07/2015 04:07 PM, andre second wrote:
> Hi,
>
> I am using Kamailio version: kamailio 4.3.0 (x86_64/linux) c6aa95 on
> CentOS 6
>
> I am trying to encapsulate ISUP in the INVITE:
>
> ...
> if(has_body("application/sdp"))
> {
> set_body_multipart();
> if(msg_apply_changes())
>
Hi,
I am using Kamailio version: kamailio 4.3.0 (x86_64/linux) c6aa95 on CentOS 6
I am trying to encapsulate ISUP in the INVITE:
...if(has_body("application/sdp")){ set_body_multipart();
if(msg_apply_changes())
{ $var(acm) = "7e Od 04 55 75 69 20 4d 61 6b 65 43 61
17 matches
Mail list logo