X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=sip.cpp;h=48ce05d353941b212e78a8539b2eed554bf2f254;hp=e39f19c2a05c5e612e8b8e83edb8122f16828514;hb=d928442c511fbe7a0d0d0f9e701412b9b494457c;hpb=5463e1b62a39ce417b610584e3d34a8bc30ac15e diff --git a/sip.cpp b/sip.cpp index e39f19c..48ce05d 100644 --- a/sip.cpp +++ b/sip.cpp @@ -1027,17 +1027,9 @@ int Psip::message_dtmf(unsigned int epoint_id, int message_id, union parameter * int Psip::message_epoint(unsigned int epoint_id, int message_id, union parameter *param) { - class Endpoint *epoint; - if (Port::message_epoint(epoint_id, message_id, param)) return 1; - epoint = find_epoint_id(epoint_id); - if (!epoint) { - PDEBUG(DEBUG_SIP, "PORT(%s) no endpoint object found where the message is from.\n", p_name); - return 0; - } - switch(message_id) { case MESSAGE_ALERTING: /* call is ringing on LCR side */ if (p_state != PORT_STATE_IN_SETUP