Applying Sender by filtering operator | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ |
◄ ► |
Author | Message | |||
sage New member Username: Prvut Post Number: 1 Registered: 03-2011 |
Is it possible in Now SMS to apply sender by filtering operator? Here is the case: You have user and that user can send SMS to all operators with sender XXX, but some operators restrict alphanumeric sender, and you can send only numeric Sender, my question is can Now SMS handle this kind of situation? From One User to apply diferent SENDERID to certain operator: USER TEST: +67345... SENDER XXX +67388... SENDER 123 Thanks in advance | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 4555 Registered: 08-2008 |
Hi sage, That's a tough one. If they submit one message at a time, you could use accounting callbacks to dynamically change/set the sender address based upon the recipient. But if they are submitting via HTTP in bulk, this override will not work. I do have one other idea ... it's a bit of a hack ... but it may work for you. There is a setting that can be applied on a per SMSC basis that performs pattern matching and replacement for sender or recipient addresses. So let's say for a particular SMSC connection you need to translate the sender address COMPA to 12345 and COMPB to 67890. Under the [SMPP - server:port] header for that SMSC connection in SMSGW.INI you could add : OutSenderPrefixConvert=COMPA:12345,COMPB:67890 The strings do not need to be the same length. But this is a prefix match and conversion, so COMPAB would translate to 12345B, so you'd need to be careful defining conversions. Also note that there is a 500 character limit to the list of conversions for any SMSC. -- Des NowSMS Support | |||
prvut New member Username: Prvut Post Number: 2 Registered: 03-2011 |
Thanks for the detail replay, this is something new i did not know OutSenderPrefixConver setting, also my idea to accomplish this is to play with allowed/restrict user though connections , and force sender through connection... That is just idea for now i should try... Thanks for replay Regards |