Module: kamailio
Branch: master
Commit: 2e1bbee47b69d4599b9a2fd1c80203e68f4537a0
URL: https://github.com/kamailio/kamailio/commit/2e1bbee47b69d4599b9a2fd1c80203e…
Author: Ivaylo Markov <imarkov(a)zoiper.com>
Committer: Ivaylo Markov <imarkov(a)zoiper.com>
Date: 2018-08-18T18:01:36+03:00
registrar: docs for event_callback parameter
---
Modified: src/modules/registrar/doc/registrar_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/2e1bbee47b69d4599b9a2fd1c80203e…
Patch: https://github.com/kamailio/kamailio/commit/2e1bbee47b69d4599b9a2fd1c80203e…
---
diff --git a/src/modules/registrar/doc/registrar_admin.xml b/src/modules/registrar/doc/registrar_admin.xml
index 70dbbcd97d..7c4226ad3c 100644
--- a/src/modules/registrar/doc/registrar_admin.xml
+++ b/src/modules/registrar/doc/registrar_admin.xml
@@ -961,6 +961,37 @@ modparam("registrar", "contact_max_size", 1024)
</example>
</section>
+ <section id="registrar.p.event_callback">
+ <title><varname>event_callback</varname> (str)</title>
+ <para>
+ The name of the function in the KEMI configuration file (embedded
+ scripting language such as Lua, Python, ...) to be executed instead
+ of event_route[...] blocks.
+ </para>
+ <para>
+ The function receives a string parameter with the name of the event.
+ The only possible value currently is 'usrloc:contact-expired'.
+ </para>
+ <para>
+ <emphasis>
+ Default value is 'empty' (no function is executed for events).
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>event_callback</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("registrar", "event_callback", "ksr_registrar_event")
+...
+-- event callback function implemented in Lua
+function ksr_registrar_event(evname)
+ KSR.info( "Expired contact for " .. KSR.pv.getw("$ulc(exp=>aor)") .. "\n");
+ return 1;
+end
+...
+ </programlisting>
+ </example>
+ </section>
</section>
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [ ] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
I've added the ability to use the `usrloc:contact-expired` event route with KEMI routing scripts. I've tested with both the native scripting language and `app_lua` and it seems to be working.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1622
-- Commit Summary --
* registrar: add event_callback parameter
* registrar: docs for event_callback parameter
-- File Changes --
M src/modules/registrar/doc/registrar_admin.xml (31)
M src/modules/registrar/registrar.c (23)
M src/modules/registrar/regpv.c (23)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1622.patchhttps://github.com/kamailio/kamailio/pull/1622.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1622
See <https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=…>
------------------------------------------
[...truncated 640.66 KB...]
CC (gcc) [kamailio] core/parser/parse_param.o
CC (gcc) [kamailio] core/parser/parser_f.o
CC (gcc) [kamailio] core/parser/parse_subscription_state.o
CC (gcc) [kamailio] core/parser/parse_retry_after.o
CC (gcc) [kamailio] core/parser/parse_addr_spec.o
CC (gcc) [kamailio] core/parser/parse_rr.o
CC (gcc) [kamailio] core/parser/parse_allow.o
CC (gcc) [kamailio] core/parser/parse_diversion.o
CC (gcc) [kamailio] core/parser/parse_cseq.o
CC (gcc) [kamailio] core/parser/parse_content.o
CC (gcc) [kamailio] core/parser/parse_event.o
CC (gcc) [kamailio] core/parser/parse_uri.o
CC (gcc) [kamailio] core/parser/parse_disposition.o
CC (gcc) [kamailio] core/parser/parse_methods.o
CC (gcc) [kamailio] core/parser/parse_sipifmatch.o
CC (gcc) [kamailio] core/parser/parse_nameaddr.o
CC (gcc) [kamailio] core/parser/parse_body.o
CC (gcc) [kamailio] core/parser/hf.o
CC (gcc) [kamailio] core/parser/parse_via.o
CC (gcc) [kamailio] core/parser/parse_hname2.o
CC (gcc) [kamailio] core/parser/parse_supported.o
CC (gcc) [kamailio] core/parser/parse_rpid.o
CC (gcc) [kamailio] core/parser/parse_privacy.o
CC (gcc) [kamailio] core/parser/parse_identity.o
CC (gcc) [kamailio] core/parser/parse_option_tags.o
CC (gcc) [kamailio] core/parser/parse_fline.o
CC (gcc) [kamailio] core/parser/parse_hostport.o
CC (gcc) [kamailio] core/parser/parse_date.o
CC (gcc) [kamailio] core/parser/parse_require.o
CC (gcc) [kamailio] core/parser/parse_to.o
CC (gcc) [kamailio] core/parser/parse_ppi_pai.o
CC (gcc) [kamailio] core/parser/parse_identityinfo.o
CC (gcc) [kamailio] core/parser/parse_refer_to.o
CC (gcc) [kamailio] core/parser/parse_expires.o
CC (gcc) [kamailio] core/parser/msg_parser.o
CC (gcc) [kamailio] core/parser/digest/param_parser.o
CC (gcc) [kamailio] core/parser/digest/digest_parser.o
CC (gcc) [kamailio] core/parser/digest/digest.o
CC (gcc) [kamailio] core/parser/contact/contact.o
CC (gcc) [kamailio] core/parser/contact/parse_contact.o
CC (gcc) [kamailio] core/parser/sdp/sdp.o
CC (gcc) [kamailio] core/parser/sdp/sdp_helpr_funcs.o
CC (gcc) [kamailio] core/rand/fastrand.o
CC (gcc) [kamailio] core/rand/isaac/rand.o
CC (gcc) [kamailio] core/cfg/cfg_select.o
CC (gcc) [kamailio] core/cfg/cfg_ctx.o
CC (gcc) [kamailio] core/cfg/cfg_struct.o
CC (gcc) [kamailio] core/cfg/cfg_script.o
CC (gcc) [kamailio] core/cfg/cfg.o
bison -d -b core/cfg core/cfg.y
flex -o core/lex.yy.c core/cfg.lex
CC (gcc) [kamailio] core/lex.yy.o
CC (gcc) [kamailio] core/cfg.tab.o
LD (gcc) [kamailio] kamailio
CC (gcc) [M async.so] async_sleep.o
CC (gcc) [M async.so] async_mod.o
LD (gcc) [M async.so] async.so
CC (gcc) [M auth.so] rfc2617.o
CC (gcc) [M auth.so] nid.o
CC (gcc) [M auth.so] rfc2617_sha256.o
CC (gcc) [M auth.so] nc.o
CC (gcc) [M auth.so] api.o
CC (gcc) [M auth.so] auth_mod.o
CC (gcc) [M auth.so] nonce.o
CC (gcc) [M auth.so] ot_nonce.o
CC (gcc) [M auth.so] challenge.o
CC (gcc) [L libsrutils.so.1.0] shautils.o
CC (gcc) [L libsrutils.so.1.0] sruid.o
CC (gcc) [L libsrutils.so.1.0] srjson.o
CC (gcc) [L libsrutils.so.1.0] sha256.o
CC (gcc) [L libsrutils.so.1.0] tmrec.o
LD (gcc) [L libsrutils.so.1.0] libsrutils.so.1.0
LD (gcc) [M auth.so] auth.so
CC (gcc) [M benchmark.so] benchmark.o
LD (gcc) [M benchmark.so] benchmark.so
CC (gcc) [M blst.so] blst.o
LD (gcc) [M blst.so] blst.so
CC (gcc) [M cfg_rpc.so] cfg_rpc.o
LD (gcc) [M cfg_rpc.so] cfg_rpc.so
CC (gcc) [M cfgutils.so] cfgutils.o
LD (gcc) [M cfgutils.so] cfgutils.so
CC (gcc) [M corex.so] corex_var.o
CC (gcc) [M corex.so] corex_lib.o
CC (gcc) [M corex.so] corex_nio.o
CC (gcc) [M corex.so] corex_mod.o
CC (gcc) [M corex.so] corex_rpc.o
LD (gcc) [M corex.so] corex.so
CC (gcc) [M counters.so] counters.o
LD (gcc) [M counters.so] counters.so
CC (gcc) [M ctl.so] binrpc.o
CC (gcc) [M ctl.so] fifo_server.o
CC (gcc) [M ctl.so] io_listener.o
CC (gcc) [M ctl.so] binrpc_run.o
CC (gcc) [M ctl.so] init_socks.o
CC (gcc) [M ctl.so] ctrl_socks.o
CC (gcc) [M ctl.so] ctl.o
LD (gcc) [M ctl.so] ctl.so
CC (gcc) [M debugger.so] debugger_json.o
CC (gcc) [M debugger.so] debugger_api.o
CC (gcc) [M debugger.so] debugger_config.o
CC (gcc) [M debugger.so] debugger_act.o
CC (gcc) [M debugger.so] debugger_mod.o
make[4]: 'libsrutils.so.1.0' is up to date.
LD (gcc) [M debugger.so] debugger.so
CC (gcc) [M diversion.so] diversion.o
LD (gcc) [M diversion.so] diversion.so
CC (gcc) [M enum.so] enum.o
CC (gcc) [M enum.so] enum_mod.o
Build step 'Execute shell' marked build as failure
Archiving artifacts
ERROR: Step ‘Archive the artifacts’ aborted due to exception:
java.nio.file.NoSuchFileException: <https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=…>
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileAttributeViews$Posix.readAttributes(UnixFileAttributeViews.java:218)
at sun.nio.fs.UnixFileAttributeViews$Posix.readAttributes(UnixFileAttributeViews.java:131)
at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144)
at sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
at java.nio.file.Files.readAttributes(Files.java:1737)
at java.nio.file.Files.getPosixFilePermissions(Files.java:2004)
at hudson.util.IOUtils.mode(IOUtils.java:130)
Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to jenkins-debian-glue-slave (i-098d9e2880d77bd0d)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel$2.adapt(Channel.java:990)
at hudson.remoting.Channel$2.adapt(Channel.java:986)
at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
at hudson.FilePath.copyRecursiveTo(FilePath.java:2375)
at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:235)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1823)
at hudson.matrix.MatrixRun.run(MatrixRun.java:153)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused: hudson.os.PosixException: Unable to get file permissions null
at hudson.util.IOUtils.mode(IOUtils.java:133)
at hudson.util.io.TarArchiver.visit(TarArchiver.java:92)
at hudson.util.DirScanner.scanSingle(DirScanner.java:44)
at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2995)
at hudson.FilePath.writeToTar(FilePath.java:2432)
at hudson.FilePath.access$2800(FilePath.java:210)
at hudson.FilePath$CopyRecursiveRemoteToLocal.invoke(FilePath.java:2397)
at hudson.FilePath$CopyRecursiveRemoteToLocal.invoke(FilePath.java:2386)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2917)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused: java.io.IOException
at hudson.FilePath.copyRecursiveTo(FilePath.java:2379)
at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:235)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1823)
at hudson.matrix.MatrixRun.run(MatrixRun.java:153)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
TAP Reports Processing: START
Looking for TAP results report in workspace using pattern: report/*.tap
ERROR: Step ‘Publish TAP Results’ aborted due to exception:
Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to jenkins-debian-glue-slave (i-098d9e2880d77bd0d)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:955)
at hudson.FilePath.act(FilePath.java:1036)
at hudson.FilePath.act(FilePath.java:1025)
at hudson.FilePath.list(FilePath.java:1840)
at hudson.FilePath.list(FilePath.java:1824)
at hudson.FilePath.list(FilePath.java:1809)
at org.tap4j.plugin.TapPublisher.locateReports(TapPublisher.java:647)
at org.tap4j.plugin.TapPublisher.performImpl(TapPublisher.java:383)
at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:371)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1823)
at hudson.matrix.MatrixRun.run(MatrixRun.java:153)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
java.io.IOException: <https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=…> does not exist.
at hudson.FilePath.glob(FilePath.java:1870)
at hudson.FilePath.access$2400(FilePath.java:210)
at hudson.FilePath$23.invoke(FilePath.java:1843)
at hudson.FilePath$23.invoke(FilePath.java:1840)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2917)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Recording test results
ERROR: Build step failed with exception
Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to jenkins-debian-glue-slave (i-098d9e2880d77bd0d)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:955)
at hudson.FilePath.act(FilePath.java:1036)
at hudson.FilePath.act(FilePath.java:1025)
at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:114)
at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:136)
at hudson.tasks.junit.JUnitResultArchiver.parseAndAttach(JUnitResultArchiver.java:166)
at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:153)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1823)
at hudson.matrix.MatrixRun.run(MatrixRun.java:153)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
<https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=…> does not exist.
at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:484)
at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:461)
at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:141)
at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:118)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2917)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Build step 'Publish JUnit test result report' marked build as failure
Hello,
Could you please help check below question about parse_headers error.
Look like it cannot find a '\n' from the header body to the end of message.
Is it possible?
code:
match=q_memchr(tmp, '\n', end-tmp);
if (match){
match++;
}else {
ERR("bad body for <%s>(%d)\n", hdr->name.s, hdr->type);
/* abort(); */
tmp=end;
goto error;
}
Log:
^[[0;39;49m^[[0;31;49m 5(23) ERROR: [parser/msg_parser.c:329]: parse_headers(): bad header field [Route: <sip:pcsf-aut]
^[[0;39;49m^[[0;31;49m 5(23) ERROR: sipcapture [sipcapture.c:1209]: sip_capture_prepare(): cannot parse headers
^[[0;39;49m^[[0;31;49m 5(23) ERROR: [parser/msg_parser.c:329]: parse_headers(): bad header field [Route: <sip:pcsf-aut]
^[[0;39;49m^[[0;31;49m 5(23) ERROR: [parser/parse_ppi_pai.c:124]: parse_pai_header(): Error parsing PAI header
^[[0;39;49m^[[0;31;49m 5(23) ERROR: [parser/msg_parser.c:253]: get_hdr_field(): bad body for <Route: sip:pcsf-aut1.imsgroup0-000.qa41c.imsate.lucentlab.com;lr;ottag=ue_term;bidx=12;ac(9)
^[[0;39;49m^[[0;31;49m 5(23) ERROR: [parser/msg_parser.c:329]: parse_headers(): bad header field [Route: <sip:pcsf-aut]
^[[0;39;49m^[[0;31;49m 5(23) ERROR: [parser/parse_ppi_pai.c:171]: parse_ppi_header(): Error parsing PPI header
^[[0;39;49m^[[0;31;49m 4(22) ERROR: [parser/msg_parser.c:253]: get_hdr_field(): bad body for <P-Asserted-Identity: sip:+(50)
^[[0;39;49m^[[0;31;49m 4(22) ERROR: [parser/msg_parser.c:329]: parse_headers(): bad header field [P-Asserted-Identity:]
^[[0;39;49m^[[0;31;49m 4(22) ERROR: sipcapture [sipcapture.c:1209]: sip_capture_prepare(): cannot parse headers
^[[0;39;49m^[[0;31;49m 4(22) ERROR: [parser/msg_parser.c:253]: get_hdr_field(): bad body for <P-Asserted-Identity: sip:+(50)
^[[0;39;49m^[[0;31;49m 4(22) ERROR: [parser/msg_parser.c:329]: parse_headers(): bad header field [P-Asserted-Identity:]
^[[0;39;49m^[[0;31;49m 4(22) ERROR: [parser/parse_ppi_pai.c:124]: parse_pai_header(): Error parsing PAI header
^[[0;39;49m^[[0;31;49m 4(22) ERROR: [parser/msg_parser.c:253]: get_hdr_field(): bad body for <P-Asserted-Identity: sip:+(50)
^[[0;39;49m^[[0;31;49m 4(22) ERROR: [parser/msg_parser.c:329]: parse_headers(): bad header field [P-Asserted-Identity:]
^[[0;39;49m^[[0;31;49m 4(22) ERROR: [parser/parse_ppi_pai.c:171]: parse_ppi_header(): Error parsing PPI header
^[[0;39;49m^[[0;31;49m 3(20) ERROR: [parser/msg_parser.c:253]: get_hdr_field(): bad body for <P-Asserted-Identity: sip:+17053200002(50)
^[[0;39;49m^[[0;31;49m 3(20) ERROR: [parser/msg_parser.c:329]: parse_headers(): bad header field [P-Asserted-Identity:]
^[[0;39;49m^[[0;31;49m 3(20) ERROR: sipcapture [sipcapture.c:1209]: sip_capture_prepare(): cannot parse headers
^[[0;39;49m^[[0;31;49m 3(20) ERROR: [parser/msg_parser.c:253]: get_hdr_field(): bad body for <P-Asserted-Identity: sip:+17053200002(50)
^[[0;39;49m^[[0;31;49m 3(20) ERROR: [parser/msg_parser.c:329]: parse_headers(): bad header field [P-Asserted-Identity:]
^[[0;39;49m^[[0;31;49m 3(20) ERROR: [parser/parse_ppi_pai.c:124]: parse_pai_header(): Error parsing PAI header
^[[0;39;49m^[[0;31;49m 3(20) ERROR: [parser/msg_parser.c:253]: get_hdr_field(): bad body for <P-Asserted-Identity: sip:+17053200002(50)
^[[0;39;49m^[[0;31;49m 3(20) ERROR: [parser/msg_parser.c:329]: parse_headers(): bad header field [P-Asserted-Identity:]
^[[0;39;49m^[[0;31;49m 3(20) ERROR: [parser/parse_ppi_pai.c:171]: parse_ppi_header(): Error parsing PPI header
Thanks in advance.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1582