Billing

Billing SearchSearch
Author Message
Anonymous
 
Posted on Tuesday, November 30, 2004 - 12:30 pm:   

I have 3 SMSC SMPP connections for two short codes 9899 and 9999 (two SMPP SMSC use 9899 and one uses 9999)
I route all incoming messages from all three SMSC SMPP to a client application developed by me which handles all the rule processing and this submits the message back to NowSMS with the appropriate response over an SMPP link with NowSMS (the application is configured to act as a client connection to NowSMS as a user)

Everything works absolutely fine but I have a problem in billing.

Till now my application was handling billing (by writing into an sql db) by recognising the mobile phone number since all 3 SMSC connections begin with different codes in the beginning
eg
93
94
95
So I could easily recognise the sender of the message, parse the number and write in appropriate billing db for each operator.

However I am beginning a process whereby roaming users can also use my service. The complication will be that SMSC A using 9899 code with all sender number beginning with 93 may have inroamers from the other two sender number also(94 and 95)
In this case my application will write the billing information in SMSC B and C instead of writing to A (as the message originated from SMSC A)
The same with the other operators...whenever a roamer roams into their network and accesses my service from there...wrong billing will be done by me.
So my entire billing will go horribly wrong!
I cannot even bill on basis of the origination SMPP link as there is only one link used by NowSMS to submit to my app.
I cannot use multiple links via NowSMS as two of my SMSC's have the same short code 9899. If I setup two accounts in NowSMS and route on basis of 9899 recepient then it routes to first account only. There is no way to route on basis of sender number? (since this is the only factor which differentiates all three accounts)

What do I do? Another option on my mind is that I let one user SMPP remain which routes all messages from all SMSC to my account like I amd doing and I configure NowSMS 2 way script to do the billing on basis of origination SMPP link.
Is this possible? Even if the messages are being routed to the client application, will 2 way SMS processing still work???
Kindly let me know
Suvinay
New member
Username: Suvinay

Post Number: 43
Registered: 07-2004
Posted on Tuesday, November 30, 2004 - 12:47 pm:   

Bryce,
I was just thnking and again even if you routed on basis on sender phone number to multiple clients...same problem of wrong billing would occur.
So the best solution will be to bill on basis of Originating SMSC link
The simplest solution will be to somehow make NowSMS route all incoming messages from each SMSC SMPP to a different SMPP client user (I can configure my app to connect to NowSMS via 3 different links). How can this be done?

OR
proceed like I am doing...all messages routed to single SMPP client app...and do the billing with NowSMS ie... but I see no way to get the origination SMSC SMPP link in 2 way SMS

What do you suggest?