consider also, that some operators detects silent sms and restores automatically TP-PID and TP-DCS.
Moreover changing TP-PID/TP-DCS I suggest you to use also Message Waiting Indication-Discard option [1].
#pdu='0011000C91'+str(num)+'0000AA0141' # SMS Classic
#pdu='0011000C91'+str(num)+'4000AA0141' # 0x40 (TP-PID)
#pdu='0011000C91'+str(num)+'40C0AA0141' # 0x40(TP-PID) and 0xC0(Message Waiting Indication-Discard)