Sending IM/SMS from the command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adrian Georgescu <ag at ag-projects.com> writes:

> You can use this simple program for your purpose:
>
> http://sipsimpleclient.com/wiki/sip_message

Thank you for the tip.

How do I interface it with the pjsua settings?

I tried:
sip_message --config-file=pjsua.conf

and get:
$ sip_message --config-file=pjsua.conf
/7/2.6/16/msrplib/digest.py:3: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/7/2.6/12/eventlet-0.8.16-py2.6.egg/eventlet/processes.py:22: DeprecationWarning: The popen2 module is deprecated.  Use the subprocess module.
  import popen2
Traceback (most recent call last):
  File "/0/32/sip_message", line 324, in <module>
    application.start(target, options)
  File "/0/32/sip_message", line 125, in start
    SIPApplication.start(self, ConfigFileBackend(options.config_file))
  File "/7/2.6/17/sipsimple/configuration/backend/configfile.py", line 34, in __init__
    self.parser.readfp(self.file)
  File "/usr/lib/python2.6/ConfigParser.py", line 305, in readfp
    self._read(fp, filename)
  File "/usr/lib/python2.6/ConfigParser.py", line 482, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: pjsua.conf, line: 5
'--realm sip.diamondcard.us\n'

with the 5th line of pjsua.conf being the first noncommented line, so it
doesn't, obviously, use pjsua configs.
-- 
???
ShiroiKuma.org

Adrian Georgescu <ag at ag-projects.com> writes:



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux