Menu

#18 Indonesia XL TX_ID problem

v0.3.4
open
nobody
1
2012-12-10
2012-09-17
Ozan yokuva
No

Hi ,
I have been working on SMPP Integration with Indonesia XL , they are sending TX_ID over Tag 1401 optional parameters , I can see the 1401 arrives , on snoop , but cant get it from Deliver_SM(dsm) by "String data = (String)dsm.getOptionalParameter(Tag.getTag(1401));" I also checked the TVL table but there is no such data on it also . Im using smppapi-0.3.9 I guess it is the final version . Can you please help .

Thanks in advance
Ozan YOKUVA

Discussion

  • Oran Kelly

    Oran Kelly - 2012-09-18

    Not really enough info to offer much help. Have you turned on debug logging in the smppapi to see if there's any messages that might help diagnose? Have you captured the bytes of the packet you expect the 1401 tag to be read from to see if it is well-formed, and maybe write a small driver program that you can use to try to parse it and step through with a debugger?

     
  • Ozan yokuva

    Ozan yokuva - 2012-09-19

    Hi again,
    Actualy I am not an expert , but I used to use that API for 5 years . I will try to make it more clear . I can see the messages arrive , I get the messagetxt and source adress etc. As you know , there is an optional parameters field on Deliver_sm . You can get the optional parameter by giving the tag if it is set to package object . I have addes a pcap file which has a deliver_sm inside . You can see that Optional parameter 0x1401 arrives . java code line I use to read it :
    dsm.getOptionalParameter(Tag.getTag(1401)) ;
    I checked if Tag 1401 exists , yes it does , but the optional parameter collection does not hold the value , which means it is not parsed and added to collection .

    This is a vital issue for both api and my bussiness as Indonesia XL works with a pull-push scenario , and what we expect from that parameter is Transaction Id ...

     
  • indrarose

    indrarose - 2012-12-10

    You should go here http://www.indrarose.com, there is stable smpp esme client for xl axiata

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.