Hmm, not sure with your question, but you may use the code like this inside
SMSServer:


            org.smslib.AGateway agtw =
getService().findGateway("yourModemID");
            String retVal = "";

            try
            {
                            retVal = agtw.sendUSSDCommand(yourUSSDCommand);
            }
            catch (Exception e)
            {
                getService().getLogger().logError("SMSServer: sending CUSD
exception!", e, null);
            }




On Sat, Oct 27, 2012 at 1:38 AM, Fajar Adianto via SMSLib Discussion Group <
smslib+noreply-apn2wqfdyoqw-otxbm_ccqjebjmyepmx20z-8ydwso-nv6...@googlegroups.com
> wrote:

> Can anybody provide codes that can be used to send USSD command while
> smsserver is active? I have been thinking of adding a class to
> httpserver.java so that I can send a http command that in turn send an USSD
> command to a specific gateway and return the response (uninteractively).
> Any help? Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "SMSLib Discussion Group" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msg/smslib/-/8cH_d-35Pi8J.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Aryo Sanjaya
http://aryo.me

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to