Allow SIP generated messages via xsip.generate to send ISUP data.

git-svn-id: http://yate.null.ro/svn/yate/trunk@6547 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
oana 2022-03-03 09:23:10 +00:00
parent 6478809001
commit f1fe2fb44f
1 changed files with 1 additions and 1 deletions

View File

@ -9976,7 +9976,7 @@ bool SIPDriver::sendMethod(Message& msg, const char* method, bool msgExec,
}
sip->addHeader("Max-Forwards",String(maxf));
copySipHeaders(*sip,msg,"sip_");
copySipBody(*sip,msg);
sip->setBody(doBuildSIPBody((void*)conn ? (DebugEnabler*)conn : this,msg,0,"message-prefix"));
const char* user = msg.getValue(YSTRING("user"));
sip->complete(ep()->engine(),user,domain,0,
msg.getIntValue(YSTRING("xsip_flags"),-1));