Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not seeing submit logs in DB #2

Open
adier777 opened this issue Feb 2, 2023 · 5 comments
Open

Not seeing submit logs in DB #2

adier777 opened this issue Feb 2, 2023 · 5 comments

Comments

@adier777
Copy link

adier777 commented Feb 2, 2023

Hi,
Have installed jasmin-submit-logs and is running(seen in jasmin-web-panel).
Problem: not seeing anything being written to submit_log table, when send SMS. Do see in jasmin log files.

Anything you can point to ?

jasmin_web_db=# select * from submit_log;
id | msgid | source_connector | routed_cid | source_addr | destination_addr | rate | pdu_count | short_message | binary_message | status | uid | trials | created_at
| status_at
(0 rows)

@adier777
Copy link
Author

adier777 commented Feb 2, 2023

Actually found i need to activate the publish_submit_sm_resp in jasmin.cfg
Restarted and now see them in GUI -
thank you.

@dragelecpc
Copy link

Actually found i need to activate the publish_submit_sm_resp in jasmin.cfg Restarted and now see them in GUI - thank you.

Can you help me with this sir?

@rakibulinux
Copy link

Hi, @101t, @adier777, I have installed jamsin gui and submit log but not able to see the log. I try with edit value of publish_submit_sm_resp in jasmin.cfg and make it True also restart hole service but still no luck. Can you please let me know how to do it?
image

@101t
Copy link
Owner

101t commented Jul 11, 2023

You should ensure sms_submit_log up and running and connecting to rabbitmq which works with jasmin gateway.

@rakibulinux
Copy link

rakibulinux commented Jul 12, 2023

Once I send sms I get like this.

Screenshot from 2023-07-12 20-21-14

You should ensure sms_submit_log up and running and connecting to rabbitmq which works with jasmin gateway.

Hi, can you please take a look at this file? I am use same server for jasmin_web_panel and sms_submit_log. In this server, I have installed rabbitmq. I didn't do any configuration for rabbitmq just installed it and used it. Please let me know if I did anything wrong.

This is my .env file for submi_log

JASMIN_DB_NAME=jasmin_web_db
JASMIN_DB_USER=postgres
JASMIN_DB_PASS=123
JASMIN_DB_PORT=5432
JASMIN_DB_HOST=127.0.0.1
JASMIN_DB_OPTIONS=-c "client_min_messages=WARNING" -c "search_path=jasmin" -c "varchar=50"

AMQ_HOST=127.0.0.1
AMQ_PORT=5672
AMQ_VHOST=/
AMQ_USERNAME=guest
AMQ_PASSWORD=guest
AMQ_SPEC_FILE=/etc/jasmin/resource/amqp0-9-1.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants