You can change this in the function msg_to_submit_pdu() in the file gw/smsc/smsc_smpp.c. You can add the TLV's all the way at the end of this function, right before "return pdu;".
Maybe an easier way for you is to post the code that you have (and that crashes). It should be fairly easy to see what you do wrong. Right now it is late already and am heading for bed. But do mail back to the list with your findings. Rene Kluwen Chimit -----Original Message----- From: Thomas Gottgens [mailto:[EMAIL PROTECTED] Sent: dinsdag 11 juli 2006 1:34 To: users@kannel.org Subject: using fixed TLVs for each SMPP deliver-sm Hello, i am forced to add one and only one SMPP link to our UCP setup, which requires to send the TLV values its_session_info: 14400 dest_subaddress: 30 with the deliver_sm for billing purposes. This is true for every SMS submitted through this link, so this may be added permanenty to the PDU sourcecode and does not have to be switched from smsbox or sqlbox in our setup. Can someone point me to the right way to add those (decimal) values for these already defined TLV's to the SMPP code, as i am not too firm in C and especially juggling Octstrs? My first feeble attempt resulted in bearerbox disappearing without even logging a panic upon submitting the first SMS to this SMSC. -- Best regards, Thomas mailto:[EMAIL PROTECTED]