Hi everyone,
I'm not sure if this is the correct place to post my issue but i'll give it a try anyway.
I'm trying to build and install the pjsua module (from the pjsip library) but having some problems with it. I followed the tutorial from the official pjsip site exactly like this;
Code:
$ tar jxf pjproject-2.1.tar.bz2
$ cd pjproject-2.1
$ .configure && make dep && make
$ cd pjsip-apps/src/python
$ sudo make
System setup;
centos 6.4 - kernel linux 2.6.32-358.14.1.el6.i686
python 2.6.6
All necessary development tools are installed;
Code:
$ yum group install 'Development Tools'
$ yum install python-devel
It seems to build successfully with no errors (few warnings though).
When i do;
Code:
$ python
> import pjsua
...
Code:
ImportError: No module named _pjsua
But if i enter the py_pjsua folder and 'make' there, it creates the pjsua module but the following happens when i import;
Code:
...
identitas Endpoint :<py_pjsua.Pjsip_Endpoint object at 0xb7721090>
identitas Media Endpoint :<py_pjsua.Pjmedia_Endpt object at 0xb7721080>
identitas pool factory :<py_pjsua.Pj_Pool_Factory object at 0xb77210a0>
py status after 3 second of blocking wait :0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pjsua.py", line 71, in <module>
stunc = py_pjsua.stun_config_default();
AttributeError: 'module' object has no attribute 'stun_config_default'
I hope someone can help me with this issue.
/Hakan