>
>  Ive got my virtualhosts(tm) working where I can have a
> certain default
> reply to a certain smsc, however, I'd like to know if theres
> a way to force
> it so sms replies go out a certain smsc. I'm using
> forced-smsc right now,
> which seems to only apply to incoming sms.
>
>  i need to be able to answer sms (outbound) via the same
> incoming smsc.
>
>  Can anyone think of a way to accomplish this?
>
>  It seems what its doing now is just sending out the first available
> smsuser.

forced-smsc applies to a sendsms-user. Set it if you want that user to only
use that smsc. You'll still have to prefer that smsc to itself by setting
preferred-smsc-id. That will take care of one-off MT messages.

On the inbound side, set accepted-smsc for that sms-service (you can have
more than one sms-service with the same keyword but different values for
accepted-smsc), and the reply will preferentially use the same smsc. Or, if
you had say one SMSC for MO msgs and one for MT msgs, then you could set
denied-smsc-id for the MO SMSC.

Another alternative in the case of an application is to set max-messages=0
for that sms-service, and get the app to initiate a new sendsms cgi request
for the MT reply.


Reply via email to