2-way question | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through December 23, 2009 ⬆ |
◄ ► |
Author | Message | |||
Alexandre New member Username: Alexd Post Number: 26 Registered: 01-2008 |
Hello! Maybe i don`t understand but when i ON 2-way option for refering all inbound messages from #### number on specific url, and check option "Route received user via SMPP" (enter the same #### number), when NowSMS receive message i see it in user log but 2-way don`t work, it don`t refer inbound message on specific URL, it`s right ? | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1352 Registered: 08-2008 |
Hi Alexandre, Yes, if there is a match on a receive number for a local user account, then the message is routed to that user and bypasses the 2-way SMS commands. -- Des NowSMS Support | |||
Alexandre New member Username: Alexd Post Number: 27 Registered: 01-2008 |
So i must set received user via smpp or refer messages via 2-way ? I can`t join that 2 functions ? | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 7859 Registered: 10-2002 |
Hi Alexandre, That's correct, these two functions cannot be joined. What are you trying to accomplish? I might be able to suggest an alternative. I don't see anywhere that this is really documented, but there is an "SMSIN" accounting callback that is called each time NowSMS receives an inbound SMS message from an SMSC (or GSM modem) connection. If you enable SMS accounting callbacks, you will receive HTTP callbacks for other events, not just inbound messages. The "Type=" parameter identifies the event. Some of the other accounting callbacks are described at the following link: http://blog.nowsms.com/2009/01/dynamic-sms-message-routing-with-http.html The "SMSIN" callback is similar to these other callbacks, it just includes "Type=SMSIN" as one of the URL parameters. -bn | |||
Alexandre New member Username: Alexd Post Number: 28 Registered: 01-2008 |
yeah i know about SMSIN, but data is encoded and need to decode it manualy (from 7bit or UCS), have any way to receive decoded sms data ? In this post http://support.nowsms.com/discus/messages/1/41804.html i write my idea about SDK library for send sms, and for example will kool if NowSMS will support Plugins addon, for example make module for write in database after receive report or SMSIN messages | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1354 Registered: 08-2008 |
Hi Alexandre, I do agree that some database plug-ins would be helpful. But, in the meantime, we did make some changes in NowSMS 2009 so that the accounting callbacks decode the text and pass the text in UTF-8 format instead of binary. -- Des NowSMS Support | |||
Alexandre New member Username: Alexd Post Number: 29 Registered: 01-2008 |
Yeah it`s will be k3wl | |||
Alexandre New member Username: Alexd Post Number: 30 Registered: 01-2008 |
I have 2 questions again 1. Can NowSMS send POST request instead of GET to 2way url ? 2. Why NowSMS send not url encoded string in 2 way ? When i URLDecode query string from 2way i receive some cutted text (+ etc. symbols) | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1361 Registered: 08-2008 |
Hi Alexandre, 1.) No, it uses GET only. 2.) Can you provide an example? It is possible that NowSMS is using a different character set than your application expects. By default, NowSMS uses UTF-8, but you can select another character set in the "2-way" configuration page. -- Des NowSMS Support | |||
Alexandre New member Username: Alexd Post Number: 31 Registered: 01-2008 |
about decoding it`s was my mistake all ok.thanks for answers.topic closed ;) |