| 600 | } |
| 601 | |
| 602 | void startRegister(const FullMobileId &msid, const string rand, const string sres, L3LogicalChannel *chan) // msid is imsi and/or tmsi |
| 603 | { |
| 604 | LOG(DEBUG) <<LOGVAR(msid)<<LOGVAR(rand)<<LOGVAR(sres); |
| 605 | // Kinda dumb to fish out the branch from the request, but its ok. |
| 606 | SipDialog *registrar = getRegistrar(); |
| 607 | SipMessage *request = registrar->makeRegisterMsg(SIPDTRegister,chan,rand,msid,sres.c_str()); |
| 608 | SipRegisterTU *reg = new SipRegisterTU(registrar,request); |
| 609 | delete request; // sctInitRegisterTransaction made a copy. Kind of wasteful. |
| 610 | reg->sctStart(); |
| 611 | } |
| 612 | |
| 613 | |
| 614 | // =========================================================================================== |
no test coverage detected