Maybe you can try sending the whole message PDU (non-split) in one shot and give an empty udh. Maybe the telco does the splitting for you? The UDH might be for things like port settings only.
On Dec 11, 11:46 pm, Jeff <[email protected]> wrote: > Sorry I can't help here. I don't use HTTP connections to the telco, > just GSM modems :) > > On Dec 11, 4:29 pm, moschous <[email protected]> wrote: > > > ok... i found a way to split the pdu on different parts by calling the > > method getPdus > > > List<String> pdus = msg.getPdus("+12345", 123 ); > > > for( String pdu : pdus ){ > > System.out.println( pdu ); > > > } > > > for each pdu i call the service of provider but unfortunately the > > message is not delivered. > > > this is the total pdu: > > > 01060403AE81EA02056A0045C60C036D2E6D6F62736F6369616C2E6575000AC307200812111 > > 0134410C3072008121110134401036C616C616C616C616C616C616C616C616C616C616C616C > > 616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616 > > C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C61 > > 6C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C6 > > 16C616C616C616C616C616C616C616C616C616C616C616C616C616C616C000101 > > > those are the parts: > > 1st part: > > > 089103966356163251510C9103966356163200F4FF8C0B05040B8423F000037B02010106040 > > 3AE81EA02056A0045C60C036D2E6D6F62736F6369616C2E6575000AC3072008121110134410 > > C3072008121110134401036C616C616C616C616C616C616C616C616C616C616C616C616C616 > > C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C61 > > 6C616C616C616C616C616C61 > > > 2st part: > > > 089103966356163251000C9103966356163200F4FF680B05040B8423F000037B02026C616C6 > > 16C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C > > 616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616C616 > > C616C616C616C616C616C000101 > > > am i doing somrthing wrong or just the provider doesnt support this > > functionality ? > > > please suggest. > > > thank you very much. > > > manos > > > On 11 Δεκ, 09:42, moschous <[email protected]> wrote: > > > > Hi Jeff, > > > > i am not hijacker :-) , i extended the thread because it was something > > > related. > > > Anyway, thanks you very much for you information. > > > > The OutboundWapSIMessage is the class i used but i cant find any way > > > to split the message on different parts. The message i need to send is > > > a simple WAP SI message (including a url) and ~250 characters as a > > > text (greek letters). > > > > how could i split the message ? the function getPduUserDataHeader > > > returns back the complete pdu but unfortunately it isn't delivered by > > > the provider. > > > (i guess i need to send the different parts separately) > > > > thank you for your help. > > > > manos > > > > On 11 Δεκ, 03:06, Jeff <[email protected]> wrote: > > > > > First things first. Don't hijack threads. Start a new post. > > > > > As far as your question goes, the class you are after is the > > > > OutboundWapSIMessage. > > > > > set all the parameters needed and call getPduUserDataHeader() to get > > > > the UDH. > > > > Something similar is done in the ClickatellHTTPGateway.java > > > > > As far as sending multiple parts I'm not sure if your provider is > > > > responsible for the splitting or not. You cant just send the data > > > > from each pdu to the same user since the phone will have to know its a > > > > concat message or else it will treat each send as a separate message. > > > > > On Dec 11, 1:51 am, moschous <[email protected]> wrote: > > > > > > Hi, > > > > > > i need to use the smslib, just to generate the pduUserData and > > > > > pduUserDataHeader, and then use those data to call another http API > > > > > provided by a partner of ours in order to deliver the SI message. > > > > > > the http interface which is called after the pdu generation is like > > > > > this (below): > > > > > > http://some.service.com/mtbin.php?oa=xxxxx&da=+306xxxxxxxx&udh="+msg.getPduUserDataHeader()+"&txt="+msg.getPduUserData() > > > > > > The problem i am facing has to do with the lenght of the text included > > > > > on the SI message. The maximum i can send is 78 characters for latin > > > > > letters and 39 characters for greek letters. > > > > > > what should i do in order to be able to deliver bigger messages ? > > > > > > please give some tips, because i am not so much familiar on this > > > > > library. > > > > > > Thank you very much! > > > > > > manos > > > > > > On 10 Δεκ, 18:10, Scorpion <[email protected]> wrote: > > > > > > > HI > > > > > > Thanks for your timely and quick reply.- Απόκρυψη κειμένου σε > > > > > > παράθεση - > > > > > - Εμφάνιση κειμένου σε παράθεση -- Απόκρυψη κειμένου σε παράθεση - > > > > - Εμφάνιση κειμένου σε παράθεση - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib User 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 this group at http://groups.google.com/group/SMSLib?hl=en -~----------~----~----~----~------~----~------~--~---
