[Spce-user] Fail to store sms while sub is offline
andreas tseiko
a.tseiko at hotmail.com
Tue May 21 06:41:17 EDT 2013
Dear Daniel,
Yes we have run ngcpcfg apply and kamailio.cfg.tt2 returned 5 syntax errors.When we run ngcpcfg apply again we had no errors.Please find attached text file "1st&2nd attempt.txt" which contains the said errors.Concerning msilo logs please find attached text file "kamailio proxy message log.txt"
Best regards.
> Date: Tue, 21 May 2013 11:52:06 +0200
> From: dgrotti at sipwise.com
> To: spce-user at lists.sipwise.com
> Subject: Re: [Spce-user] Fail to store sms while sub is offline
>
> Dear Andreas,
>
> stupid question: did you run 'ngcpcfg apply' ?
> Are you able to see your msilo logs line during a call in
> kamailio-proxy.log ?
>
> Daniel
>
>
>
>
> On 05/21/2013 11:40 AM, andreas tseiko wrote:
> > Dear Andrew,
> >
> > We have inserted msilo 's commands ( modparam,route) to proxy
> > "kamailio.cfg.tt2" configuration file.
> > The entered commands has been retrieved by
> > link http://kamailio.org/docs/modules/3.3.x/modules_k/msilo.html.
> > It seems that messages (when offline) cannot be stored to database silo
> > table as well as no SIP.202 (Accepted) is being sent to sender.
> > Could you please inform us if msilo route commands should be added to
> > the "kamailio.cfg.tt2" or to another cfg file (like registar)? If not,
> > is there any specific location into this "kamailio.cfg.tt2 in which
> > msilo's route should be added?
> > Apart from sip trace tool, is there something else that can be used to
> > debug msilo operation?
> >
> > Best regards.
> >
> >
> > _______________________________________________
> > Spce-user mailing list
> > Spce-user at lists.sipwise.com
> > http://lists.sipwise.com/listinfo/spce-user
> >
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130521/41e60d3b/attachment-0001.html>
-------------- next part --------------
root at sip:/etc/ngcp-config/templates/etc/kamailio/proxy# ngcpcfg apply
Generating /etc/apache2/sites-available/ngcp-ossbss: OK
Generating /etc/apache2/sites-available/ngcp-www-admin: OK
Generating /etc/apache2/sites-available/ngcp-www-csc: OK
Generating /etc/apt/apt.conf.d/71_no_recommended: OK
Generating /etc/asterisk/asterisk.conf: OK
Generating /etc/asterisk/extconfig.conf: OK
Generating /etc/asterisk/extensions.conf: OK
Generating /etc/asterisk/iax.conf: OK
Generating /etc/asterisk/logger.conf: OK
Generating /etc/asterisk/modules.conf: OK
Generating /etc/asterisk/res_odbc.conf: OK
Generating /etc/asterisk/rtp.conf: OK
Generating /etc/asterisk/sip.conf: OK
Generating /etc/asterisk/voicemail.conf: OK
Generating /etc/collectd/collectd.conf: OK
Generating /etc/cron.d/ngcp-cdr-exporter: OK
Generating /etc/cron.d/ngcp-credit-warning: OK
Generating /etc/cron.d/ngcp-fraud-auto-lock: OK
Generating /etc/cron.d/reminder: OK
Generating /etc/crontab: OK
Generating /etc/default/kamailio.lb: OK
Generating /etc/default/kamailio.proxy: OK
Generating /etc/default/kamailio: OK
Generating /etc/default/mediator: OK
Generating /etc/default/ngcp-mediaproxy-ng-daemon: OK
Generating /etc/default/ngcp-rate-o-mat: OK
Generating /etc/default/ngcp-roles: OK
Generating /etc/default/sems: OK
Generating /etc/init.d/apache2: OK
Executing postbuild for /etc/init.d/apache2
Generating /etc/init.d/collectd: OK
Executing postbuild for /etc/init.d/collectd
Generating /etc/init.d/cron: OK
Executing postbuild for /etc/init.d/cron
Generating /etc/init.d/kamailio-lb: OK
Executing postbuild for /etc/init.d/kamailio-lb
Generating /etc/init.d/kamailio-proxy: OK
Executing postbuild for /etc/init.d/kamailio-proxy
Generating /etc/init.d/mediator: OK
Executing postbuild for /etc/init.d/mediator
Generating /etc/init.d/ngcp-mediaproxy-ng-daemon: OK
Executing postbuild for /etc/init.d/ngcp-mediaproxy-ng-daemon
Generating /etc/init.d/ngcp-rate-o-mat: OK
Executing postbuild for /etc/init.d/ngcp-rate-o-mat
Generating /etc/init.d/nginx: OK
Executing postbuild for /etc/init.d/nginx
Generating /etc/init.d/sems: OK
Executing postbuild for /etc/init.d/sems
Generating /etc/kamailio/lb/db/dispatcher: OK
Generating /etc/kamailio/lb/db/version: OK
Generating /etc/kamailio/lb/kamailio.cfg: OK
Generating /etc/kamailio/lb/kamctlrc: OK
Generating /etc/kamailio/lb/xmlrpc.cfg: OK
Generating /etc/kamailio/proxy/impresence.cfg: OK
Generating /etc/kamailio/proxy/impresence.custom: OK
Generating /etc/kamailio/proxy/kamailio.cfg: OK
Generating /etc/kamailio/proxy/kamctlrc: OK
Generating /etc/kamailio/proxy/proxy.cfg: OK
Generating /etc/kamailio/proxy/registrar.cfg: OK
Generating /etc/kamailio/proxy/xmlrpc.cfg: OK
Generating /etc/logrotate.d/ngcp: OK
Generating /etc/mysql/my.cnf: OK
Generating /etc/ngcp-cdr-exporter/cdr-exporter.conf: OK
Generating /etc/ngcp-check-tools/check-tools.conf: OK
Generating /etc/ngcp-check-tools/collectd-ngcp.conf: OK
Generating /etc/ngcp-cleanup-tools/acc-cleanup.conf: OK
Generating /etc/ngcp-ossbss/logging.conf: OK
Executing postbuild for /etc/ngcp-ossbss/logging.conf
Generating /etc/ngcp-ossbss/mysql_values.cfg: OK
Generating /etc/ngcp-ossbss/provisioning.conf: OK
Executing postbuild for /etc/ngcp-ossbss/provisioning.conf
Generating /etc/ngcp-ossbss/provisioning.htpasswd: OK
Generating /etc/ngcp-reminder/reminder.conf: OK
Generating /etc/ngcp-vmnotify/mwi.sip: OK
Generating /etc/ngcp-vmnotify/vmnotify.conf: OK
Generating /etc/ngcp-www-admin/admin.conf: OK
Generating /etc/ngcp-www-csc/csc.conf: OK
Executing prebuild for /etc/nginx/nginx.conf
Generating /etc/nginx/nginx.conf: OK
Generating /etc/ntp.conf: OK
Generating /etc/odbc.ini: OK
Generating /etc/odbcinst.ini: OK
Generating /etc/rsyslog.conf: OK
Generating /etc/sems/dsm/early_dbprompt.conf: OK
Generating /etc/sems/dsm/early_dbprompt.dsm: OK
Generating /etc/sems/etc/click2dial.conf: OK
Generating /etc/sems/etc/conference.conf: OK
Generating /etc/sems/etc/db_reg_agent.conf: OK
Generating /etc/sems/etc/di_dial.conf: OK
Generating /etc/sems/etc/dsm.conf: OK
Generating /etc/sems/etc/ngcp.sbcprofile.conf: OK
Generating /etc/sems/etc/ngcp_cf.sbcprofile.conf: OK
Generating /etc/sems/etc/reg_agent.conf: OK
Generating /etc/sems/etc/sbc.conf: OK
Generating /etc/sems/etc/stats.conf: OK
Generating /etc/sems/etc/sw_vsc.conf: OK
Generating /etc/sems/etc/xmlrpc2di.conf: OK
Generating /etc/sems/sems.conf: OK
Executing action for /etc/ngcp-config/templates/etc/kamailio/proxy/ngcpcfg.services
Not executing command for kamailio-proxy: invalid configuration file!
0(28739) : <core> [cfg.y:3549]: parse error in config file /etc/kamailio/proxy/kamailio.cfg, line 631, column 5: syntax error
0(28739) : <core> [cfg.y:3549]: parse error in config file /etc/kamailio/proxy/kamailio.cfg, line 631, column 5: bad command
0(28739) : <core> [cfg.y:3549]: parse error in config file /etc/kamailio/proxy/kamailio.cfg, line 631, column 5: bad command
0(28739) : <core> [cfg.y:3549]: parse error in config file /etc/kamailio/proxy/kamailio.cfg, line 692, column 12: syntax error
0(28739) : <core> [cfg.y:3549]: parse error in config file /etc/kamailio/proxy/kamailio.cfg, line 692, column 12:
ERROR: bad config file (5 errors)
OK
Synchronizing data from /etc/ngcp-config/constants.yml
Checking state of /etc files
OK: nothing to commit.
root at sip:/etc/ngcp-config/templates/etc/kamailio/proxy#
root at sip:/etc/ngcp-config/templates/etc/kamailio/proxy# ngcpcfg apply
Generating /etc/apache2/sites-available/ngcp-ossbss: OK
Generating /etc/apache2/sites-available/ngcp-www-admin: OK
Generating /etc/apache2/sites-available/ngcp-www-csc: OK
Generating /etc/apt/apt.conf.d/71_no_recommended: OK
Generating /etc/asterisk/asterisk.conf: OK
Generating /etc/asterisk/extconfig.conf: OK
Generating /etc/asterisk/extensions.conf: OK
Generating /etc/asterisk/iax.conf: OK
Generating /etc/asterisk/logger.conf: OK
Generating /etc/asterisk/modules.conf: OK
Generating /etc/asterisk/res_odbc.conf: OK
Generating /etc/asterisk/rtp.conf: OK
Generating /etc/asterisk/sip.conf: OK
Generating /etc/asterisk/voicemail.conf: OK
Generating /etc/collectd/collectd.conf: OK
Generating /etc/cron.d/ngcp-cdr-exporter: OK
Generating /etc/cron.d/ngcp-credit-warning: OK
Generating /etc/cron.d/ngcp-fraud-auto-lock: OK
Generating /etc/cron.d/reminder: OK
Generating /etc/crontab: OK
Generating /etc/default/kamailio.lb: OK
Generating /etc/default/kamailio.proxy: OK
Generating /etc/default/kamailio: OK
Generating /etc/default/mediator: OK
Generating /etc/default/ngcp-mediaproxy-ng-daemon: OK
Generating /etc/default/ngcp-rate-o-mat: OK
Generating /etc/default/ngcp-roles: OK
Generating /etc/default/sems: OK
Generating /etc/init.d/apache2: OK
Executing postbuild for /etc/init.d/apache2
Generating /etc/init.d/collectd: OK
Executing postbuild for /etc/init.d/collectd
Generating /etc/init.d/cron: OK
Executing postbuild for /etc/init.d/cron
Generating /etc/init.d/kamailio-lb: OK
Executing postbuild for /etc/init.d/kamailio-lb
Generating /etc/init.d/kamailio-proxy: OK
Executing postbuild for /etc/init.d/kamailio-proxy
Generating /etc/init.d/mediator: OK
Executing postbuild for /etc/init.d/mediator
Generating /etc/init.d/ngcp-mediaproxy-ng-daemon: OK
Executing postbuild for /etc/init.d/ngcp-mediaproxy-ng-daemon
Generating /etc/init.d/ngcp-rate-o-mat: OK
Executing postbuild for /etc/init.d/ngcp-rate-o-mat
Generating /etc/init.d/nginx: OK
Executing postbuild for /etc/init.d/nginx
Generating /etc/init.d/sems: OK
Executing postbuild for /etc/init.d/sems
Generating /etc/kamailio/lb/db/dispatcher: OK
Generating /etc/kamailio/lb/db/version: OK
Generating /etc/kamailio/lb/kamailio.cfg: OK
Generating /etc/kamailio/lb/kamctlrc: OK
Generating /etc/kamailio/lb/xmlrpc.cfg: OK
Generating /etc/kamailio/proxy/impresence.cfg: OK
Generating /etc/kamailio/proxy/impresence.custom: OK
Generating /etc/kamailio/proxy/kamailio.cfg: OK
Generating /etc/kamailio/proxy/kamctlrc: OK
Generating /etc/kamailio/proxy/proxy.cfg: OK
Generating /etc/kamailio/proxy/registrar.cfg: OK
Generating /etc/kamailio/proxy/xmlrpc.cfg: OK
Generating /etc/logrotate.d/ngcp: OK
Generating /etc/mysql/my.cnf: OK
Generating /etc/ngcp-cdr-exporter/cdr-exporter.conf: OK
Generating /etc/ngcp-check-tools/check-tools.conf: OK
Generating /etc/ngcp-check-tools/collectd-ngcp.conf: OK
Generating /etc/ngcp-cleanup-tools/acc-cleanup.conf: OK
Generating /etc/ngcp-ossbss/logging.conf: OK
Executing postbuild for /etc/ngcp-ossbss/logging.conf
Generating /etc/ngcp-ossbss/mysql_values.cfg: OK
Generating /etc/ngcp-ossbss/provisioning.conf: OK
Executing postbuild for /etc/ngcp-ossbss/provisioning.conf
Generating /etc/ngcp-ossbss/provisioning.htpasswd: OK
Generating /etc/ngcp-reminder/reminder.conf: OK
Generating /etc/ngcp-vmnotify/mwi.sip: OK
Generating /etc/ngcp-vmnotify/vmnotify.conf: OK
Generating /etc/ngcp-www-admin/admin.conf: OK
Generating /etc/ngcp-www-csc/csc.conf: OK
Executing prebuild for /etc/nginx/nginx.conf
Generating /etc/nginx/nginx.conf: OK
Generating /etc/ntp.conf: OK
Generating /etc/odbc.ini: OK
Generating /etc/odbcinst.ini: OK
Generating /etc/rsyslog.conf: OK
Generating /etc/sems/dsm/early_dbprompt.conf: OK
Generating /etc/sems/dsm/early_dbprompt.dsm: OK
Generating /etc/sems/etc/click2dial.conf: OK
Generating /etc/sems/etc/conference.conf: OK
Generating /etc/sems/etc/db_reg_agent.conf: OK
Generating /etc/sems/etc/di_dial.conf: OK
Generating /etc/sems/etc/dsm.conf: OK
Generating /etc/sems/etc/ngcp.sbcprofile.conf: OK
Generating /etc/sems/etc/ngcp_cf.sbcprofile.conf: OK
Generating /etc/sems/etc/reg_agent.conf: OK
Generating /etc/sems/etc/sbc.conf: OK
Generating /etc/sems/etc/stats.conf: OK
Generating /etc/sems/etc/sw_vsc.conf: OK
Generating /etc/sems/etc/xmlrpc2di.conf: OK
Generating /etc/sems/sems.conf: OK
OK: nothing to commit.
Synchronizing data from /etc/ngcp-config/constants.yml
Checking state of /etc files
OK: nothing to commit.
root at sip:/etc/ngcp-config/templates/etc/kamailio/proxy#
-------------- next part --------------
May 21 13:26:34 sip /usr/sbin/kamailio[24792]: INFO: <script>: New request - M=MESSAGE R=sip:1234567890 at sip.test.com F=sip:1111111111 at sip.test.com T=sip:1234567890 at sip.test.com IP=10.10.10.10:35473 (127.0.0.1:5060) ID=vdql7QcCqLHV-HufRdtcSBovlJiSgu5g
May 21 13:26:34 sip /usr/sbin/kamailio[24792]: INFO: <script>: Reset initial local route - R=sip:1234567890 at sip.test.com ID=vdql7QcCqLHV-HufRdtcSBovlJiSgu5g
May 21 13:26:34 sip /usr/sbin/kamailio[24792]: INFO: <script>: Authentication failed, no credentials - R=sip:1234567890 at sip.test.com ID=vdql7QcCqLHV-HufRdtcSBovlJiSgu5g
May 21 13:26:34 sip /usr/sbin/kamailio[24793]: INFO: <script>: New request - M=MESSAGE R=sip:1234567890 at sip.test.com F=sip:1111111111 at sip.test.com T=sip:1234567890 at sip.test.com IP=10.10.10.10:35473 (127.0.0.1:5060) ID=vdql7QcCqLHV-HufRdtcSBovlJiSgu5g
May 21 13:26:34 sip /usr/sbin/kamailio[24793]: INFO: <script>: Reset initial local route - R=sip:1234567890 at sip.test.com ID=vdql7QcCqLHV-HufRdtcSBovlJiSgu5g
May 21 13:26:34 sip /usr/sbin/kamailio[24793]: INFO: <script>: Handling message request - R=sip:1234567890 at sip.test.com ID=vdql7QcCqLHV-HufRdtcSBovlJiSgu5g
May 21 13:26:34 sip /usr/sbin/kamailio[24793]: INFO: <script>: Clear callee preferences - R=sip:1234567890 at sip.test.com ID=vdql7QcCqLHV-HufRdtcSBovlJiSgu5g
May 21 13:26:34 sip /usr/sbin/kamailio[24793]: INFO: <script>: Callee is local, uuid='fa0a80f1-3678-4fce-8a2d-a58b916e3e25' - R=sip:1234567890 at sip.test.com ID=vdql7QcCqLHV-HufRdtcSBovlJiSgu5g
May 21 13:26:34 sip /usr/sbin/kamailio[24793]: INFO: <script>: Load callee preferences for uuid 'fa0a80f1-3678-4fce-8a2d-a58b916e3e25' - R=sip:1234567890 at sip.test.com ID=vdql7QcCqLHV-HufRdtcSBovlJiSgu5g
May 21 13:26:34 sip /usr/sbin/kamailio[24793]: INFO: <script>: Load dialplan IDs for domain 'sip.test.com' - R=sip:1234567890 at sip.test.com ID=vdql7QcCqLHV-HufRdtcSBovlJiSgu5g
May 21 13:26:34 sip /usr/sbin/kamailio[24793]: INFO: <script>: Fetched dialplan IDs caller_out='7', callee_out='8' - R=sip:1234567890 at sip.test.com ID=vdql7QcCqLHV-HufRdtcSBovlJiSgu5g
May 21 13:26:34 sip /usr/sbin/kamailio[24793]: INFO: <script>: Local user offline - R=sip:1234567890 at sip.test.com ID=vdql7QcCqLHV-HufRdtcSBovlJiSgu5g
May 21 13:26:34 sip /usr/sbin/kamailio[24793]: WARNING: tm [t_lookup.c:1543]: WARNING: script writer didn't release transaction
root at sip:/var/log/ngcp#
More information about the Spce-user
mailing list