View previous topic :: View next topic |
Author |
Message |
AndR3X
Joined: 07 Oct 2014 Posts: 8 Location: Romania
|
Posted: Mon Nov 10, 2014 12:05 pm Post subject: Message written directly to DB |
|
|
I have a problem when trying to send a message to a group.
From a 3rd party application, I'm writing directly into the 'messages' table of PageGate DB. When the receiver is a simple user, everything works as expected. But when the user is member of a group, I receive the following error message in Scheduler logs: "Message rejected for recipient: xxx in group: test_group. Interface not enabled for this recipient"
When I send a message to that group from PageGate Admin, it works. What interface should I enable in order for this to work?
Thanks.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4372
|
Posted: Mon Nov 10, 2014 12:09 pm Post subject: |
|
|
When you're writing that message to the database, what value are you providing for the station ID? |
|
Back to top |
|
AndR3X
Joined: 07 Oct 2014 Posts: 8 Location: Romania
|
Posted: Mon Nov 10, 2014 12:37 pm Post subject: |
|
|
I do not enter any value in the 'station' column. I also leave it empty for messages sent to a single recipient, and it works.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4372
|
Posted: Mon Nov 10, 2014 1:02 pm Post subject: |
|
|
That's why it's giving you the "Message rejected for recipient: xxx in group: test_group". If you set the Station ID field to 0, that should resolve the issue. |
|
Back to top |
|
AndR3X
Joined: 07 Oct 2014 Posts: 8 Location: Romania
|
Posted: Wed Nov 12, 2014 2:47 am Post subject: |
|
|
Thanks for your help, that indeed solved my issue.
|
|
Back to top |
|
|