X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=sip.cpp;fp=sip.cpp;h=5358fb4ed50b8c32682fecf0388ac05806dc2b42;hp=a385988caf5f7270372d7af076a193e602b23616;hb=736182d6fd9398d9d246ea3337d06b225e22f7fb;hpb=9f9b721735aa20e3362b7f6c451830b90f012c28 diff --git a/sip.cpp b/sip.cpp index a385988..5358fb4 100644 --- a/sip.cpp +++ b/sip.cpp @@ -62,6 +62,8 @@ Psip::Psip(int type, char *portname, struct port_settings *settings, struct inte p_s_rtp_tx_action = 0; PDEBUG(DEBUG_SIP, "Created new Psip(%s).\n", portname); + if (!p_s_sip_inst) + FATAL("No SIP instance for interface\n"); }