while testing Ovidiu's new stats rpc commands, i noticed that
bad_URIs_rcvd stat value was increasing for each test call by 3. at the
same time, i didn't get any errors about bad uris in syslog and i very
much doubt that baresip would be generating bad uris.
# sip-proxy_ctl stats.get_statistics core:
core:bad_URIs_rcvd = 11
is this is a bug or my misunderstanding about the meaning of bad_URIs?
-- juha
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#428 - sdp_keep_codecs_by_name also removes dtmf/telephone-event
User who did this - Morten Tryfoss (mtryfoss)
----------
That does work yes.
Anyway, there should be a warning in the documentation regarding this. I guess most people don't ever want to remove dtmf capabilities.
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=428#comment1464
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#427 - kamailio sometimes crash when handling failure events
User who did this - Pawel Sternal (Sternik)
----------
It was attached - http://sip-router.org/tracker/index.php?getfile=370
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=427#comment1463
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#427 - kamailio sometimes crash when handling failure events
User who did this - Daniel-Constantin Mierla (miconda)
----------
Can you add the gdb output for "bt full" with the last core?
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=427#comment1462
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#427 - kamailio sometimes crash when handling failure events
User who did this - Pawel Sternal (Sternik)
----------
Today's crash.
<code>
May 18 14:52:28 node03 /usr/sbin/kamailio[30493]: NOTICE: <script>: LOG:7655cd4b0ec44f177a587dbe407ceeff@sip.siptrunking.pl (failure route 1) Method: INVITE 486
May 18 14:52:28 node03 /usr/sbin/kamailio[30493]: NOTICE: <script>: LOG (failure route 1) Message: INVITE sip:+48228224631@sip.siptrunking.pl SIP/2.0 Record-Route: <sip:213.218.125.68:5060;ftag=as3b1a4879;lr> Via: SIP/2.0/UDP 213.218.125.68:5060;branch=z9hG4bK8afa.ce3598c6.0 Via: SIP/2.0/UDP 213.218.125.68:5061;received=127.0.0.1;branch=z9hG4bK7054260c;rport=5061 From: "+48226319604" <sip:+48226319604@sip.siptrunking.pl>;tag=as3b1a4879 To: <sip:+48228224631@sip.siptrunking.pl> Contact: <sip:+48226319604@213.218.125.68:5061> Call-ID: 7655cd4b0ec44f177a587dbe407ceeff(a)sip.siptrunking.pl CSeq: 102 INVITE User-Agent: FreecoNet gxgt3 _FCN_MP0 Max-Forwards: 10 Date: Sun, 18 May 2014 14:52:28 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces X-ROUTE: 207 Content-Type: application/sdp Content-Length: 394 v=0 o=root 7321 7321 IN IP4 213.218.125.68 s=session c=IN IP4 213.218.125.68 t=0 0 m=audio 19720 RTP/AVP 8 18 2 112 3 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:2 G726-32/8000 a=rtpmap:112 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv
May 18 14:52:28 node03 /usr/sbin/kamailio[30481]: NOTICE: <script>: LOG:7655cd4b0ec44f177a587dbe407ceeff@sip.siptrunking.pl (route main) Method: ACK Message: ACK sip:supermedia@212.180.155.5:5080;transport=udp;gw=1075 SIP/2.0 Via: SIP/2.0/UDP 213.218.108.141;branch=z9hG4bK8afa.9afea3f193bb2781c3cb10fa01dbaeb9.0 Route: <sip:213.218.108.142;lr;received=sip:212.180.155.5:5080> To: <sip:228224631@sip.siptrunking.pl>;tag=4SvcaHBmj21Ng From: "+48226319604" <sip:226319604@sip.siptrunking.pl>;tag=as3b1a4879 Call-ID: 7655cd4b0ec44f177a587dbe407ceeff(a)sip.siptrunking.pl CSeq: 102 ACK Max-Forwards: 8 Content-Length: 0
May 18 14:52:28 node03 /usr/sbin/kamailio[30481]: CRITICAL: dialog [dlg_hash.c:842]: log_next_state_dlg(): bogus event 6 in state 1 for dlg 0xa4d3e348 [217:2951] with clid '7655cd4b0ec44f177a587dbe407ceeff(a)sip.siptrunking.pl' and tags 'as3b1a4879' ''
May 18 14:52:28 node03 /usr/sbin/kamailio[30481]: NOTICE: <script>: LOG:7655cd4b0ec44f177a587dbe407ceeff@sip.siptrunking.pl (route ACK) Method: ACK Destination URI: sip:212.180.155.5:5080 Destination set: <null>
May 18 14:52:28 node03 /usr/sbin/kamailio[30493]: ERROR: dialog [dlg_hash.c:795]: dlg_ref(): info - dlg 0xa4d3e348 ref from 0 with 1
May 18 14:53:14 node03 /usr/sbin/kamailio[30476]: ALERT: <core> [main.c:775]: handle_sigs(): child process 30493 exited by a signal 11
May 18 14:53:14 node03 /usr/sbin/kamailio[30476]: ALERT: <core> [main.c:778]: handle_sigs(): core was generated
</code>
----------
One or more files have been attached.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=427#comment1461
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#410 - textops: add functions to convert and append multipart bodies.
User who did this - Víctor Seva (linuxmaniac)
Reason for closing: Implemented
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=410
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Module: sip-router
Branch: master
Commit: 2be579ffa48c1445a5c768b4a9b6a6532ac58363
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2be579f…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: Sun Mar 16 10:04:38 2014 +0100
textops: add new multipart functions documentation
---
modules/textops/doc/textops_admin.xml | 140 +++++++++++++++++++++++++++++++++
1 files changed, 140 insertions(+), 0 deletions(-)
diff --git a/modules/textops/doc/textops_admin.xml b/modules/textops/doc/textops_admin.xml
index e76e921..af9057a 100644
--- a/modules/textops/doc/textops_admin.xml
+++ b/modules/textops/doc/textops_admin.xml
@@ -1358,6 +1358,146 @@ if (starts_with("$rU", "+358"))
</example>
</section>
+ <section id="textops.f.set_body_multipart">
+ <title>
+ <function moreinfo="none">set_body_multipart([txt,content_type][,boundary])</function>
+ </title>
+ <para>
+ Set multipart body to a SIP message. If called with no parameters, will convert
+ present body to multipart.
+ </para>
+ <para>Meaning of the parameters is as follows:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>txt</emphasis> - text for the body, can include
+ pseudo-variables.
+ </para>
+ </listitem>
+ <listitem>
+ <para><emphasis>content_type</emphasis> - value of Content-Type header,
+ can include pseudo-variables.
+ </para>
+ </listitem>
+ <listitem>
+ <para><emphasis>boundary</emphasis> - string to use as boundary,
+ can include pseudo-variables. Default: unique-boundary-1
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE.
+ </para>
+ <para>
+ The core will take care of the last boundary ending "--". Detecting wich one is
+ the last and fixing the others if needed.
+ </para>
+ <example>
+ <title><function>set_body_multipart</function> usage</title>
+ <programlisting format="linespecific">
+...
+set_body_multipart("test", "text/plain", "delimiter");
+...
+Will produce:
+...
+Content-Type: multipart/mixed;boundary="delimiter"
+Mime-Version: 1.0
+
+--delimiter
+Content-Type: text/plain
+
+text
+
+--delimiter
+...
+</programlisting>
+ </example>
+ </section>
+
+ <section id="textops.f.append_body_part">
+ <title>
+ <function moreinfo="none">append_body_part(txt,content_type[, content_disposition])</function>
+ </title>
+ <para>
+ Append a part on multipart body SIP message. Will use "unique-boundary-1" as boundary.
+ </para>
+ <para>Meaning of the parameters is as follows:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>txt</emphasis> - text for the multipart body, can include
+ pseudo-variables.
+ </para>
+ </listitem>
+ <listitem>
+ <para><emphasis>content_type</emphasis> - value of Content-Type header,
+ can include pseudo-variables.
+ </para>
+ </listitem>
+ <listitem>
+ <para><emphasis>content_disposition</emphasis> - value of Content-Disposition header,
+ can include pseudo-variables.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE.
+ </para>
+ <para>
+ The core will take care of the last boundary ending "--". Detecting wich one is
+ the last and fixing the others if needed.
+ </para>
+ <example>
+ <title><function>append_body_part</function> usage</title>
+ <programlisting format="linespecific">
+...
+$var(b) = "7e Od 04 55 75 69 20 4d 61 6b 65 43 61 6c 6c"
+append_body_part("$var(b)", "application/vnd.cirpack.isdn-ext", "signal;handling=required");
+...
+Will append this the body:
+...
+Content-Type: application/vnd.cirpack.isdn-ext
+Content-Disposition: signal;handling=required
+
+7e Od 04 55 75 69 20 4d 61 6b 65 43 61 6c 6c
+
+--unique-boundary-1
+...
+</programlisting>
+ </example>
+ </section>
+
+ <section id="textops.f.remove_body_part">
+ <title>
+ <function moreinfo="none">remove_body_part(content_type)</function>
+ </title>
+ <para>
+ Remove a part on a multipart body SIP message.
+ </para>
+ <para>Meaning of the parameters is as follows:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>content_type</emphasis> - value of Content-Type header
+ of the part to be removed. If more than one exists the first
+ occurrence will be removed.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE.
+ </para>
+ <para>
+ The core will take care of the last boundary ending "--". Detecting wich one is
+ the last and fixing the others if needed.
+ </para>
+ <example>
+ <title><function>remove_body_part</function> usage</title>
+ <programlisting format="linespecific">
+...
+remove_body_part("application/vnd.cirpack.isdn-ext");
+...
+</programlisting>
+ </example>
+ </section>
+
</section>
<section>
<title>Known Limitations</title>