How can i determine the carrier of the originating number of a received SMS?
To find the carrier associated with a mobile number, you have to perform a so called HLR lookup.
Some HTTP or SMPP providers offer this service. HTTP providers will have specific HTTP ‘GET’ or ‘POST’ queries to retrieve this information. SMPP providers may send additional information about the carrier as TLV values.