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)","application/isup;version=itu-t92+","signal; handling=optional"); msg_apply_changes() xlog("L_INFO", "ISUP Changes Applied Succesfully"); }
It is converts body to multipart and inserts ISUP
But it inserts is as text.
Is there any possibility to insert basic ISUP message to update it after using
sipt_destination($rU, 31, 4); and
sipt_set_calling($fU, 4, 0, 3);
Thank you.
-- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
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 75 69 20 4d 61 6b 65 43 61 6c 6c"; append_body_part("$var(acm)","application/isup;version=itu-t92+","signal; handling=optional"); msg_apply_changes() xlog("L_INFO", "ISUP Changes Applied Succesfully"); }
It is converts body to multipart and inserts ISUP
But it inserts is as text.
Is there any possibility to insert basic ISUP message to update it after using
sipt_destination($rU, 31, 4); and
sipt_set_calling($fU, 4, 0, 3);
not much into sip-t/sip-i, but I try to inderstand from kamailio and sip operations point of view. What do you mean by "Is there any possibility to insert basic ISUP message to update it after using ..."?
Do you want to insert first a value and then change it?
Cheers, Daniel
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 does not inserts \x00 into the body, May be it thinks that string is terminating? -- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-10 15:17 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
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 75 69 20 4d 61 6b 65 43 61 6c 6c"; append_body_part("$var(acm)","application/isup;version=itu-t92+","signal; handling=optional"); msg_apply_changes() xlog("L_INFO", "ISUP Changes Applied Succesfully"); }
It is converts body to multipart and inserts ISUP
But it inserts is as text.
Is there any possibility to insert basic ISUP message to update it after using
sipt_destination($rU, 31, 4); and
sipt_set_calling($fU, 4, 0, 3);
not much into sip-t/sip-i, but I try to inderstand from kamailio and sip operations point of view. What do you mean by "Is there any possibility to insert basic ISUP message to update it after using ..."?
Do you want to insert first a value and then change it?
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
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; version=itu-t92+","signal; handling=optional");
but kamailio does not inserts \x00 into the body, May be it thinks that string is terminating?
are you looking to what is sent to the network? Or do you print the new message to syslog? Printing is typically stopping at 0x0.
Cheers, Daniel
-- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-10 15:17 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
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 75 69 20 4d 61 6b 65 43 61 6c 6c"; append_body_part("$var(acm)","application/isup;version=itu-t92+","signal; handling=optional"); msg_apply_changes() xlog("L_INFO", "ISUP Changes Applied Succesfully"); }
It is converts body to multipart and inserts ISUP
But it inserts is as text.
Is there any possibility to insert basic ISUP message to update it after using
sipt_destination($rU, 31, 4); and
sipt_set_calling($fU, 4, 0, 3);
not much into sip-t/sip-i, but I try to inderstand from kamailio and sip operations point of view. What do you mean by "Is there any possibility to insert basic ISUP message to update it after using ..."?
Do you want to insert first a value and then change it?
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
I am looking what is send to the network. -- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-10 16:43 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
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; version=itu-t92+","signal; handling=optional");
but kamailio does not inserts \x00 into the body, May be it thinks that string is terminating?
are you looking to what is sent to the network? Or do you print the new message to syslog? Printing is typically stopping at 0x0.
Cheers, Daniel
-- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-10 15:17 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
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 75 69 20 4d 61 6b 65 43 61 6c 6c"; append_body_part("$var(acm)","application/isup;version=itu-t92+","signal; handling=optional"); msg_apply_changes() xlog("L_INFO", "ISUP Changes Applied Succesfully"); }
It is converts body to multipart and inserts ISUP
But it inserts is as text.
Is there any possibility to insert basic ISUP message to update it after using
sipt_destination($rU, 31, 4); and
sipt_set_calling($fU, 4, 0, 3);
not much into sip-t/sip-i, but I try to inderstand from kamailio and sip operations point of view. What do you mean by "Is there any possibility to insert basic ISUP message to update it after using ..."?
Do you want to insert first a value and then change it?
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
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 content-length includes them or not.
Cheers, Daniel
On 10/02/16 15:46, Sergey Basov wrote:
I am looking what is send to the network.
Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-10 16:43 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
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; version=itu-t92+","signal; handling=optional");
but kamailio does not inserts \x00 into the body, May be it thinks that string is terminating?
are you looking to what is sent to the network? Or do you print the new message to syslog? Printing is typically stopping at 0x0.
Cheers, Daniel
-- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-10 15:17 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
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 75 69 20 4d 61 6b 65 43 61 6c 6c"; append_body_part("$var(acm)","application/isup;version=itu-t92+","signal; handling=optional"); msg_apply_changes() xlog("L_INFO", "ISUP Changes Applied Succesfully"); }
It is converts body to multipart and inserts ISUP
But it inserts is as text.
Is there any possibility to insert basic ISUP message to update it after using
sipt_destination($rU, 31, 4); and
sipt_set_calling($fU, 4, 0, 3);
not much into sip-t/sip-i, but I try to inderstand from kamailio and sip operations point of view. What do you mean by "Is there any possibility to insert basic ISUP message to update it after using ..."?
Do you want to insert first a value and then change it?
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
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" < miconda@gmail.com> написал:
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 content-length includes them or not.
Cheers, Daniel
On 10/02/16 15:46, Sergey Basov wrote:
I am looking what is send to the network.
Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-10 16:43 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
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; version=itu-t92+","signal; handling=optional");
but kamailio does not inserts \x00 into the body, May be it thinks that string is terminating?
are you looking to what is sent to the network? Or do you print the new message to syslog? Printing is typically stopping at 0x0.
Cheers, Daniel
-- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-10 15:17 GMT+02:00 Daniel-Constantin Mierla <miconda@gmail.com
:
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 75 69 20 4d 61 6b 65 43 61 6c 6c";
append_body_part("$var(acm)","application/isup;version=itu-t92+","signal;
handling=optional"); msg_apply_changes() xlog("L_INFO", "ISUP Changes Applied Succesfully"); }
It is converts body to multipart and inserts ISUP
But it inserts is as text.
Is there any possibility to insert basic ISUP message to update it
after using
sipt_destination($rU, 31, 4); and
sipt_set_calling($fU, 4, 0, 3);
not much into sip-t/sip-i, but I try to inderstand from kamailio and
sip
operations point of view. What do you mean by "Is there any
possibility
to insert basic ISUP message to update it after using ..."?
Do you want to insert first a value and then change it?
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list
sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
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 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" <miconda@gmail.com mailto:miconda@gmail.com> написал:
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 content-length includes them or not. Cheers, Daniel On 10/02/16 15:46, Sergey Basov wrote: > I am looking what is send to the network. > -- > Best regards, > Sergey Basov e-mail: sergey.v.basov@gmail.com <mailto:sergey.v.basov@gmail.com> > > tel: (+38067) 403-62-54 <tel:%28%2B38067%29%20403-62-54> > > > 2016-02-10 16:43 GMT+02:00 Daniel-Constantin Mierla <miconda@gmail.com <mailto:miconda@gmail.com>>: >> 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; >>> version=itu-t92+","signal; handling=optional"); >>> >>> but kamailio does not inserts \x00 into the body, >>> May be it thinks that string is terminating? >> are you looking to what is sent to the network? Or do you print the new >> message to syslog? Printing is typically stopping at 0x0. >> >> Cheers, >> Daniel >> >>> -- >>> Best regards, >>> Sergey Basov e-mail: sergey.v.basov@gmail.com <mailto:sergey.v.basov@gmail.com> >>> >>> tel: (+38067) 403-62-54 <tel:%28%2B38067%29%20403-62-54> >>> >>> >>> 2016-02-10 15:17 GMT+02:00 Daniel-Constantin Mierla <miconda@gmail.com <mailto:miconda@gmail.com>>: >>>> 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 75 69 20 4d 61 6b 65 43 61 6c 6c"; >>>>> append_body_part("$var(acm)","application/isup;version=itu-t92+","signal; >>>>> handling=optional"); >>>>> msg_apply_changes() >>>>> xlog("L_INFO", "ISUP Changes Applied Succesfully"); >>>>> } >>>>> >>>>> It is converts body to multipart and inserts ISUP >>>>> >>>>> But it inserts is as text. >>>>> >>>>> Is there any possibility to insert basic ISUP message to update it after using >>>>> >>>>> sipt_destination($rU, 31, 4); >>>>> and >>>>> >>>>> sipt_set_calling($fU, 4, 0, 3); >>>>> >>>> not much into sip-t/sip-i, but I try to inderstand from kamailio and sip >>>> operations point of view. What do you mean by "Is there any possibility >>>> to insert basic ISUP message to update it after using ..."? >>>> >>>> Do you want to insert first a value and then change it? >>>> >>>> Cheers, >>>> Daniel >>>> >>>> -- >>>> Daniel-Constantin Mierla >>>> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda >>>> Book: SIP Routing With Kamailio - http://www.asipto.com >>>> http://miconda.eu >>>> >>>> >>>> _______________________________________________ >>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >>>> sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> >>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> -- >> Daniel-Constantin Mierla >> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda >> Book: SIP Routing With Kamailio - http://www.asipto.com >> http://miconda.eu >> -- Daniel-Constantin Mierla http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
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\x48. -- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-10 18:27 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
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 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" miconda@gmail.com написал:
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 content-length includes them or not.
Cheers, Daniel
On 10/02/16 15:46, Sergey Basov wrote:
I am looking what is send to the network.
Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-10 16:43 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
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; version=itu-t92+","signal; handling=optional");
but kamailio does not inserts \x00 into the body, May be it thinks that string is terminating?
are you looking to what is sent to the network? Or do you print the new message to syslog? Printing is typically stopping at 0x0.
Cheers, Daniel
-- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-10 15:17 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
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 75 69 20 4d 61 6b 65 43 61 6c 6c"; > > append_body_part("$var(acm)","application/isup;version=itu-t92+","signal; > handling=optional"); > msg_apply_changes() > xlog("L_INFO", "ISUP Changes Applied Succesfully"); > } > > It is converts body to multipart and inserts ISUP > > But it inserts is as text. > > Is there any possibility to insert basic ISUP message to update it > after using > > sipt_destination($rU, 31, 4); > and > > sipt_set_calling($fU, 4, 0, 3); > not much into sip-t/sip-i, but I try to inderstand from kamailio and sip operations point of view. What do you mean by "Is there any possibility to insert basic ISUP message to update it after using ..."?
Do you want to insert first a value and then change it?
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
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
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, 31, 3);
I just roll back string to my starting and make debug. config part:
if(has_body("application/sdp")) { if (msg_apply_changes()) { xlog("L_INFO", "ISUP 0 Changes Applied Succesfully"); } set_body_multipart(,"2123894789_1257887457"); if (msg_apply_changes()) { xlog("L_INFO", "ISUP 1 Changes Applied Succesfully"); }
append_body_part("\x01\x10\x48\x00\x0a\x00\x02\x09\x07\x03\x90\x90\x13\x71\x32\x20\x0a\x04\x02\x13\x73\x12\x01","application/isup;version=itu-t92+","signal;handling=optional"); if(msg_apply_changes()) { xlog("L_INFO", "ISUP 2 Changes Applied Succesfully $rU \n"); }
sipt_destination($rU, 31, 3); sipt_set_calling($fU, 2, 0, 3); record_route(); xlog("L_INFO","Route recorded \n"); }
Log output
Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg/cfg_script.c:41]: new_cfg_script_var(): DEBUG: new_cfg_script_var(): declaring stp1.ip Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg/cfg_script.c:41]: new_cfg_script_var(): DEBUG: new_cfg_script_var(): declaring stp2.ip Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1678]: yyparse(): loading modules under /usr/lib64/kamailio/modules/ Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module mi_fifo.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/mi_fifo.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_mi_fifo Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module kex.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/kex.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:334]: register_module(): register PV from: kex Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_kex Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module tm.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/tm.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_tm Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module tmx.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/tmx.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:334]: register_module(): register PV from: tmx Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_tmx Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module sl.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/sl.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_sl Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module rr.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/rr.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:334]: register_module(): register PV from: rr Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_rr Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module pv.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/pv.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:334]: register_module(): register PV from: pv Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_pv Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module maxfwd.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/maxfwd.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_maxfwd Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module usrloc.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/usrloc.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_usrloc Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module registrar.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/registrar.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:334]: register_module(): register PV from: registrar Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_registrar Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module textops.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/textops.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_textops Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module textopsx.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/textopsx.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_textopsx Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module siputils.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/siputils.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_siputils Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module xlog.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/xlog.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:334]: register_module(): register PV from: xlog Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_xlog Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module sanity.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/sanity.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_sanity Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module ctl.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/ctl.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_ctl Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module cfg_rpc.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/cfg_rpc.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_cfg_rpc Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module mi_rpc.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/mi_rpc.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_mi_rpc Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module acc.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/acc.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_acc Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module dispatcher.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/dispatcher.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_dispatcher Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module uac.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/uac.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:334]: register_module(): register PV from: uac Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_uac Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module topoh.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/topoh.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_topoh Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module debugger.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/debugger.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_debugger Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module dialog.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/dialog.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:334]: register_module(): register PV from: dialog Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_dialog Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module sdpops.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/sdpops.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:334]: register_module(): register PV from: sdpops Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_sdpops Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.y:1659]: yyparse(): loading module sipt.so Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:569]: load_module(): trying to load </usr/lib64/kamailio/modules/sipt.so> Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:334]: register_module(): register PV from: sipt Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1741]: pp_define(): defining id: MOD_sipt Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [mem/q_malloc.c:184]: qm_malloc_init(): qm_malloc_init: QM_OPTIMIZE=16384, /ROUNDTO=2048 Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [mem/q_malloc.c:186]: qm_malloc_init(): qm_malloc_init: QM_HASH_SIZE=2099, qm_block size=218360 Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [mem/q_malloc.c:187]: qm_malloc_init(): qm_malloc_init(0x7fb05c5a3000, 67108864), start=0x7fb05c5a3000 Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [mem/q_malloc.c:195]: qm_malloc_init(): qm_malloc_init: size= 67108864, init_overhead=218456 Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [mem/shm_mem.c:193]: shm_mem_init_mallocs(): shm_mem_init: success Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dialog' matches module 'dialog' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <dlg_flag> in module dialog [/usr/lib64/kamailio/modules/dialog.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <dlg_flag> in module dialog [/usr/lib64/kamailio/modules/dialog.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dialog' matches module 'dialog' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <dlg_match_mode> in module dialog [/usr/lib64/kamailio/modules/dialog.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <dlg_match_mode> in module dialog [/usr/lib64/kamailio/modules/dialog.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dialog' matches module 'dialog' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <profiles_with_value> in module dialog [/usr/lib64/kamailio/modules/dialog.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <profiles_with_value> in module dialog [/usr/lib64/kamailio/modules/dialog.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dialog' matches module 'dialog' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <profiles_no_value> in module dialog [/usr/lib64/kamailio/modules/dialog.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <profiles_no_value> in module dialog [/usr/lib64/kamailio/modules/dialog.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'mi_fifo' matches module 'mi_fifo' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <fifo_name> in module mi_fifo [/usr/lib64/kamailio/modules/mi_fifo.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <fifo_name> in module mi_fifo [/usr/lib64/kamailio/modules/mi_fifo.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'tm' matches module 'tm' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <failure_reply_mode> in module tm [/usr/lib64/kamailio/modules/tm.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <failure_reply_mode> in module tm [/usr/lib64/kamailio/modules/tm.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'tm' matches module 'tm' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <fr_timer> in module tm [/usr/lib64/kamailio/modules/tm.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <fr_timer> in module tm [/usr/lib64/kamailio/modules/tm.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'tm' matches module 'tm' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <fr_inv_timer> in module tm [/usr/lib64/kamailio/modules/tm.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <fr_inv_timer> in module tm [/usr/lib64/kamailio/modules/tm.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'tm' matches module 'tm' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <reparse_on_dns_failover> in module tm [/usr/lib64/kamailio/modules/tm.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <reparse_on_dns_failover> in module tm [/usr/lib64/kamailio/modules/tm.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'acc' matches module 'acc' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <early_media> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <early_media> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'acc' matches module 'acc' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <report_ack> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <report_ack> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'acc' matches module 'acc' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <report_cancels> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <report_cancels> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'acc' matches module 'acc' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <detect_direction> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <detect_direction> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1850]: pp_define_get(): ### returning define ID [FLT_ACC] value [1] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'acc' matches module 'acc' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <log_flag> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <log_flag> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1850]: pp_define_get(): ### returning define ID [FLT_ACCMISSED] value [2] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'acc' matches module 'acc' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <log_missed_flag> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <log_missed_flag> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'acc' matches module 'acc' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <log_extra> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <log_extra> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [cfg.lex:1850]: pp_define_get(): ### returning define ID [FLT_ACCFAILED] value [3] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'acc' matches module 'acc' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <failed_transaction_flag> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <failed_transaction_flag> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'acc' matches module 'acc' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <log_facility> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <log_facility> in module acc [/usr/lib64/kamailio/modules/acc.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dispatcher' matches module 'dispatcher' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <list_file> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <list_file> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dispatcher' matches module 'dispatcher' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <flags> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <flags> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dispatcher' matches module 'dispatcher' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <dst_avp> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <dst_avp> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dispatcher' matches module 'dispatcher' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <grp_avp> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <grp_avp> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dispatcher' matches module 'dispatcher' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <cnt_avp> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <cnt_avp> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dispatcher' matches module 'dispatcher' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <sock_avp> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <sock_avp> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dispatcher' matches module 'dispatcher' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <ds_ping_method> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <ds_ping_method> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dispatcher' matches module 'dispatcher' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <ds_ping_interval> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <ds_ping_interval> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dispatcher' matches module 'dispatcher' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <ds_probing_mode> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <ds_probing_mode> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'dispatcher' matches module 'dispatcher' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <ds_probing_threshold> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <ds_probing_threshold> in module dispatcher [/usr/lib64/kamailio/modules/dispatcher.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'topoh' matches module 'topoh' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <mask_key> in module topoh [/usr/lib64/kamailio/modules/topoh.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <mask_key> in module topoh [/usr/lib64/kamailio/modules/topoh.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:81]: set_mod_param_regex(): 'topoh' matches module 'topoh' Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:785]: find_param_export(): found <mask_ip> in module topoh [/usr/lib64/kamailio/modules/topoh.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [modparam.c:97]: set_mod_param_regex(): found <mask_ip> in module topoh [/usr/lib64/kamailio/modules/topoh.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [route_struct.c:129]: mk_action(): ACTION_#5 #0/1: 1(1)/ 0x7fb064ee24b8 Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [route_struct.c:129]: mk_action(): ACTION_#5 #0/1: 1(1)/ 0x7fb064ee26e0 Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [route_struct.c:129]: mk_action(): ACTION_#24 #0/2: 9(9)/ (nil) Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [route_struct.c:129]: mk_action(): ACTION_#24 #1/2: 3(3)/ (nil) Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:689]: find_mod_export_record(): find_export_record: found <is_method> in module textops [/usr/lib64/kamailio/modules/textops.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [route_struct.c:129]: mk_action(): ACTION_#24 #0/2: 9(9)/ (nil) Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [route_struct.c:129]: mk_action(): ACTION_#24 #1/2: 3(3)/ (nil) Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:689]: find_mod_export_record(): find_export_record: found <t_check_trans> in module tm [/usr/lib64/kamailio/modules/tm.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [route_struct.c:129]: mk_action(): ACTION_#24 #0/2: 9(9)/ (nil) Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [route_struct.c:129]: mk_action(): ACTION_#24 #1/2: 3(3)/ (nil) Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [sr_module.c:689]: find_mod_export_record(): find_export_record: found <t_relay> in module tm [/usr/lib64/kamailio/modules/tm.so] Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [daemonize.c:207]: enable_dumpable(): trying enable core dumping... Feb 16 10:15:03 sip1 kamailio-sipt: DEBUG: <core> [daemonize.c:225]: enable_dumpable(): core dumping is enabled now (1)... Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:606]: parse_msg(): SIP Request: Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:608]: parse_msg(): method: <INVITE> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:610]: parse_msg(): uri: sip:123456789@10.56.42.27:5070;user=phone Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:612]: parse_msg(): version: <SIP/2.0> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK71c.2105d841b865acfc713788169130b5e8.0>; state=16 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=2 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:498]: parse_headers(): parse_headers: this is the first via Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 232, <branch> = <z9hG4bKsr-s7wTDLa0zUfYZXl5zpl0zpl0z.lRD.zok.sEG.lvBbn6BbTfGplRzhcsWhqMQr1v1bFAyJGCxrCoQdB71Mtceh52GpZKDuGJGRXJehMoeuXJGpBR1.1czW7cDuT8GLs7O37*>; state=16 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=ffffffffffffffff Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:509]: parse_headers(): parse_headers: this is the second via Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_addr_spec.c:894]: parse_addr_spec(): end of header reached, state=10 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:173]: get_hdr_field(): DEBUG: get_hdr_field: <To> [46]; uri=[sip:123456789@10.56.42.27:5070;user=phone] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:175]: get_hdr_field(): DEBUG: to body [sip:123456789@10.56.42.27:5070;user=phone#015#012] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:153]: get_hdr_field(): get_hdr_field: cseq <CSeq>: <2> <INVITE> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:187]: get_hdr_field(): DEBUG: get_hdr_body : content_length=174 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:89]: get_hdr_field(): found end of header Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_addr_spec.c:172]: parse_to_param(): DEBUG: add_param: tag=c7f8830a Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_addr_spec.c:894]: parse_addr_spec(): end of header reached, state=29 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: topoh [topoh_mod.c:349]: th_msg_received(): adding cookie: di Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: topoh [th_msg.c:909]: th_add_hdr_cookie(): added cookie header [TH: dih#015#012] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:606]: parse_msg(): SIP Request: Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:608]: parse_msg(): method: <INVITE> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:610]: parse_msg(): uri: sip:123456789@10.56.42.27:5070;user=phone Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:612]: parse_msg(): version: <SIP/2.0> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 253, <TH> = <div>; state=6 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK71c.2105d841b865acfc713788169130b5e8.0>; state=16 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=2 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:498]: parse_headers(): parse_headers: this is the first via Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [receive.c:178]: receive_msg(): After parse_msg... Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [receive.c:221]: receive_msg(): preparing to run routing scripts... Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: INFO: <script>: route REQINIT entered Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 232, <branch> = <z9hG4bKsr-s7wTDLa0zUfYZXl5zpl0zpl0z.lRD.zok.sEG.lvBbn6BbTfGplRzhcsWhqMQr1v1bFAyJGCxrCoQdB71Mtceh52GpZKDuGJGRXJehMoeuXJGpBR1.1czW7cDuT8GLs7O37*>; state=16 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=100 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:509]: parse_headers(): parse_headers: this is the second via Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: maxfwd [mf_funcs.c:85]: is_maxfwd_present(): value = 69 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_addr_spec.c:894]: parse_addr_spec(): end of header reached, state=10 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:173]: get_hdr_field(): DEBUG: get_hdr_field: <To> [46]; uri=[sip:123456789@10.56.42.27:5070;user=phone] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:175]: get_hdr_field(): DEBUG: to body [sip:123456789@10.56.42.27:5070;user=phone#015#012] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:153]: get_hdr_field(): get_hdr_field: cseq <CSeq>: <2> <INVITE> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:187]: get_hdr_field(): DEBUG: get_hdr_body : content_length=174 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:89]: get_hdr_field(): found end of header Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_addr_spec.c:172]: parse_to_param(): DEBUG: add_param: tag=c7f8830a Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_addr_spec.c:894]: parse_addr_spec(): end of header reached, state=29 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: sanity [mod_sanity.c:248]: w_sanity_check(): sanity checks result: 1 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: INFO: <script>: route WITHINDLG entered Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: siputils [checks.c:97]: has_totag(): no totag Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: tm [t_lookup.c:1011]: t_check_msg(): DEBUG: t_check_msg: msg id=1 global id=0 T start=0xffffffffffffffff Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: tm [t_lookup.c:466]: t_lookup_request(): t_lookup_request: start searching: hash=3095, isACK=0 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: tm [t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching failed Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: tm [t_lookup.c:648]: t_lookup_request(): DEBUG: t_lookup_request: no transaction found Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: tm [t_lookup.c:1080]: t_check_msg(): DEBUG: t_check_msg: msg id=1 global id=1 T end=(nil) Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: INFO: <script>: route LOCATION entered ru=123456789 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: INFO: <script>: FROMSTP entered 10.56.42.27:5070 SNSIPI.LIFE.COM Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [select.c:412]: run_select(): Calling SELECT 0x7fb064f149e8 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [select.c:412]: run_select(): Calling SELECT 0x7fb064f163f0 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: INFO: <script>: route TOSTP entered Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: dialog [dlg_hash.c:680]: internal_get_dlg(): no dialog callid='ZTkxZDA2MDJmNDJhZDBmNjNkYzZkYzRkNjM1ZmViNDg.' found Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: dialog [dlg_hash.c:711]: get_dlg(): no dialog callid='ZTkxZDA2MDJmNDJhZDBmNjNkYzZkYzRkNjM1ZmViNDg.' found Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: dialog [dlg_handlers.c:1103]: dlg_lookup_msg_dialog(): dlg with callid 'ZTkxZDA2MDJmNDJhZDBmNjNkYzZkYzRkNjM1ZmViNDg.' not found Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [sruid.c:142]: sruid_reinit(): re-init root for sruid is [dlgp-56c2da89-360c-] (0 / 19) Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [sruid.c:183]: sruid_next(): new sruid is [dlgp-56c2da89-360c-1] (1 / 20) Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: pv [pv_core.c:1110]: pv_get_dsturi(): no destination URI Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: INFO: <script>: [2169@10.56.42.23:5060]{INVITE} From Outside World to Asterisk Box <null> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: uac [uac.c:441]: w_replace_from(): dsp=0x7ffed4272cb0 (len=0) , uri=0x7ffed4272cc0 (len=36) Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: uac [replace.c:347]: replace_uri(): uri to replace [sip:2169@SNSIPI.LIFE.COM:5060] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: uac [replace.c:348]: replace_uri(): replacement uri is [sip:2169@10.56.42.27:5060;user=phone] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: uac [replace.c:459]: replace_uri(): encode is=<AAAAAAAAAAAAYn59fGZnGn5ndHIUdn97Cg5FRVVyPXBob25l> len=48 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: rr [record.c:897]: add_rr_param(): rr_param_buf=<;vsf=AAAAAAAAAAAAYn59fGZnGn5ndHIUdn97Cg5FRVVyPXBob25l> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: textops [textops.c:2472]: has_body_f(): content type is 196611 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: textopsx [textopsx.c:229]: msg_apply_changes_f(): SIP message content updated - reparsing Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:606]: parse_msg(): SIP Request: Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:608]: parse_msg(): method: <INVITE> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:610]: parse_msg(): uri: sip:123456789@10.56.63.10:5060;user=phone Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:612]: parse_msg(): version: <SIP/2.0> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 253, <TH> = <div>; state=6 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK71c.2105d841b865acfc713788169130b5e8.0>; state=16 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=2 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:498]: parse_headers(): parse_headers: this is the first via Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: INFO: <script>: ISUP 0 Changes Applied Succesfully Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: textops [textops.c:1567]: set_multibody_helper(): delimiter<21>:[2123894789_1257887457] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 232, <branch> = <z9hG4bKsr-s7wTDLa0zUfYZXl5zpl0zpl0z.lRD.zok.sEG.lvBbn6BbTfGplRzhcsWhqMQr1v1bFAyJGCxrCoQdB71Mtceh52GpZKDuGJGRXJehMoeuXJGpBR1.1czW7cDuT8GLs7O37*>; state=16 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=800 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:509]: parse_headers(): parse_headers: this is the second via Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_addr_spec.c:894]: parse_addr_spec(): end of header reached, state=10 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:173]: get_hdr_field(): DEBUG: get_hdr_field: <To> [46]; uri=[sip:123456789@10.56.63.10:5060;user=phone] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:175]: get_hdr_field(): DEBUG: to body [sip:123456789@10.56.63.10:5060;user=phone#015#012] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:153]: get_hdr_field(): get_hdr_field: cseq <CSeq>: <2> <INVITE> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:187]: get_hdr_field(): DEBUG: get_hdr_body : content_length=174 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:89]: get_hdr_field(): found end of header Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: textops [textops.c:1476]: generate_boundary(): adding final CRLF+CRLF Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: textops [textops.c:1704]: set_multibody_helper(): content-type<48>:[multipart/mixed;boundary="2123894789_1257887457"] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: textops [textops.c:1756]: set_multibody_helper(): set flag FL_BODY_MULTIPART Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: ERROR: <core> [msg_translator.c:1664]: get_boundary(): Content-Type hdr has no params Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: WARNING: <core> [msg_translator.c:1927]: build_req_buf_from_sip_req(): check_boundaries error Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [msg_translator.c:422]: clen_builder(): content-length: 259 (259) Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: textopsx [textopsx.c:229]: msg_apply_changes_f(): SIP message content updated - reparsing Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:606]: parse_msg(): SIP Request: Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:608]: parse_msg(): method: <INVITE> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:610]: parse_msg(): uri: sip:123456789@10.56.63.10:5060;user=phone Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:612]: parse_msg(): version: <SIP/2.0> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 253, <TH> = <div>; state=6 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK71c.2105d841b865acfc713788169130b5e8.0>; state=16 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=2 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:498]: parse_headers(): parse_headers: this is the first via Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: INFO: <script>: ISUP 1 Changes Applied Succesfully Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 232, <branch> = <z9hG4bKsr-s7wTDLa0zUfYZXl5zpl0zpl0z.lRD.zok.sEG.lvBbn6BbTfGplRzhcsWhqMQr1v1bFAyJGCxrCoQdB71Mtceh52GpZKDuGJGRXJehMoeuXJGpBR1.1czW7cDuT8GLs7O37*>; state=16 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=ffffffffffffffff Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:509]: parse_headers(): parse_headers: this is the second via Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_addr_spec.c:894]: parse_addr_spec(): end of header reached, state=10 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:173]: get_hdr_field(): DEBUG: get_hdr_field: <To> [46]; uri=[sip:123456789@10.56.63.10:5060;user=phone] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:175]: get_hdr_field(): DEBUG: to body [sip:123456789@10.56.63.10:5060;user=phone#015#012] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:153]: get_hdr_field(): get_hdr_field: cseq <CSeq>: <2> <INVITE> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:187]: get_hdr_field(): DEBUG: get_hdr_body : content_length=259 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:89]: get_hdr_field(): found end of header Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: textops [textops.c:1476]: generate_boundary(): adding final CRLF+CRLF Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [msg_translator.c:1691]: get_boundary(): boundary is <--2123894789_1257887457> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [msg_translator.c:1808]: check_boundaries(): last bondary without -- at the end Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [msg_translator.c:1612]: replace_body(): old size body[259] actual[389] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [msg_translator.c:422]: clen_builder(): content-length: 389 (389) Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: textopsx [textopsx.c:229]: msg_apply_changes_f(): SIP message content updated - reparsing Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:606]: parse_msg(): SIP Request: Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:608]: parse_msg(): method: <INVITE> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:610]: parse_msg(): uri: sip:123456789@10.56.63.10:5060;user=phone Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:612]: parse_msg(): version: <SIP/2.0> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 253, <TH> = <div>; state=6 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK71c.2105d841b865acfc713788169130b5e8.0>; state=16 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=2 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:498]: parse_headers(): parse_headers: this is the first via Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: INFO: <script>: ISUP 2 Changes Applied Succesfully 123456789 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 232, <branch> = <z9hG4bKsr-s7wTDLa0zUfYZXl5zpl0zpl0z.lRD.zok.sEG.lvBbn6BbTfGplRzhcsWhqMQr1v1bFAyJGCxrCoQdB71Mtceh52GpZKDuGJGRXJehMoeuXJGpBR1.1czW7cDuT8GLs7O37*>; state=16 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=800 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:509]: parse_headers(): parse_headers: this is the second via Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_addr_spec.c:894]: parse_addr_spec(): end of header reached, state=10 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:173]: get_hdr_field(): DEBUG: get_hdr_field: <To> [46]; uri=[sip:123456789@10.56.63.10:5060;user=phone] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:175]: get_hdr_field(): DEBUG: to body [sip:123456789@10.56.63.10:5060;user=phone#015#012] Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:153]: get_hdr_field(): get_hdr_field: cseq <CSeq>: <2> <INVITE> Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:187]: get_hdr_field(): DEBUG: get_hdr_body : content_length=389 Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_body.c:87]: get_boundary_param(): boundary is "2123894789_1257887457" Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/msg_parser.c:89]: get_hdr_field(): found end of header Feb 16 10:15:05 sip1 /usr/sbin/kamailio-sipt[13836]: DEBUG: <core> [parser/parse_body.c:87]: get_boundary_param(): boundary is "2123894789_1257887457" -- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2016-02-11 17:08 GMT+02:00 Victor Seva linuxmaniac@torreviejawireless.org:
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