Copy important call parameters to outgoing fax chan.startup message.
git-svn-id: http://voip.null.ro/svn/yate@2434 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
30723048ba
commit
a0f226b0fe
|
@ -530,7 +530,10 @@ FaxChan::FaxChan(bool outgoing, const char *file, bool sender, Message& msg)
|
|||
m_caller = msg.getBoolValue("faxcaller",!outgoing);
|
||||
m_ecm = msg.getBoolValue("faxecm",true);
|
||||
m_address = file;
|
||||
Engine::enqueue(message("chan.startup",msg));
|
||||
Message* s = message("chan.startup",msg);
|
||||
if (outgoing)
|
||||
s->copyParams(msg,"called,caller,callername,billid");
|
||||
Engine::enqueue(s);
|
||||
}
|
||||
|
||||
// Destructor - clears all (audio, image) endpoints early
|
||||
|
|
Loading…
Reference in New Issue