Bug #4905
closedosmoMSC SMS configuration with Freeswitch for D-GSM
0%
Description
Hello,
1) I installed D-GSM by source on ubuntu 18.04. So I test sucessful SIP call, but for testing SMS I copy and paste on osmo-msc.cfg the following configutaion:
smpp
local-tcp-ip 127.0.0.1 2775
system-id test-msc
policy closed
smpp-first
# outgoing to esme_dgsm.py
esme OSMPP
no alert-notifications
password foo
default-route
# incoming from esme_dgsm.py
esme ISMPP
no alert-notifications
password foo
If a execute osmo-msc -c /usr/local/etc/osmocom/osmo-msc.cfg, I have error message
If I remove this configuration, the message desappers and the command osmo-msc -c /usr/local/etc/osmocom/osmo-msc.cfg works well
Could you help me please?
2) The second problem I have is for the second way if I execute
cd /home/edgard/osmo/src/osmo-hlr/contrib/dgsm
./esme_dgsm.py --src-host 127.0.0.1
I have following error message:
root@osmocom-svr:~/osmo/src/osmo-hlr/contrib/dgsm# ./esme_dgsm.py --src-host 127 .0.0.1
[14:46:28] (MainThread) Connecting to 127.0.0.1:2775...
Traceback (most recent call last):
File "/home/edgard/.local/lib/python3.6/site-packages/smpplib/client.py", line 109, in connect
self._socket.connect((self.host, self.port))
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./esme_dgsm.py", line 182, in <module>
main()
File "./esme_dgsm.py", line 178, in main
smpp_bind()
File "./esme_dgsm.py", line 123, in smpp_bind
client.connect()
File "/home/edgard/.local/lib/python3.6/site-packages/smpplib/client.py", line 112, in connect
raise exceptions.ConnectionError("Connection refused")
smpplib.exceptions.ConnectionError: Connection refused
[14:46:28] (MainThread) <smpplib.client.Client object at 0x7ff47bfa6fd0> was not closed
root@osmocom-svr:~/osmo/src/osmo-hlr/contrib/dgsm#
You help will be of the utmost importance to me
Best Regards