Open khou opened 4 years ago
for inbound calls, you can just log the call id when INVITE is received. for outbound calls, enable use-uuid-as-call-id
in sip profile should be enough.
suggest add call-id to the following log line e.g.
d9edda4b-52c5-49f0-a22e-94ab45418777 2020-09-02 16:14:10.639073 [DEBUG] sofia.c:10324 sofia/default/1007@seven.local receiving invite from 172.22.0.1:48789 version: 1.10.4-dev git 9a78d18 2020-08-20 07:07:29Z 64bit call-id: xxxx
I'm trying to correlate FreeSWITCH application logs with SIP I'm capturing using Heplify.
If possible, an enhancement to logging where the call-id is logged with each line of the application log would make it much easier to identify what occurs in FreeSWITCH for a specific call.
I've attempted this with channel UUID and capturing the CDR, then correlating the SIP with the CDR, but as you can see, this is an extensive workaround and requires lots of custom logic.
Desired output sample:
This applies to all versions of FreeSWITCH