140 |
pdu.push_back( 0x01|UDHI ); // first octet -- no timeout |
pdu.push_back( 0x01|UDHI ); // first octet -- no timeout |
141 |
pdu.push_back(0x00); // TP-MR message reference |
pdu.push_back(0x00); // TP-MR message reference |
142 |
pdu.push_back(to.length() ); //length of phone nr |
pdu.push_back(to.length() ); //length of phone nr |
143 |
pdu.push_back(0x91); // type of address (international nr + ISDN/telephone range) - else try 0x81 |
pdu.push_back(0x81); // type of address (international nr + ISDN/telephone range) - else try 0x81 |
144 |
|
|
145 |
vector<unsigned char> phone = BcdEncode(to); |
vector<unsigned char> phone = BcdEncode(to); |
146 |
pdu.insert( pdu.end(), phone.begin(), phone.end()); |
pdu.insert( pdu.end(), phone.begin(), phone.end()); |