How can we extract in the SDK the SIP payload log event only
Or is there something to extract without debugMode
Factory.instance().setDebugMode(true, "linphoneLogs");
I only see those events when debug is true.
But not grab channel [xxxx] Line or Empty lines or anything BUT that SIP msg.
just the start of the Actual SIP payload so we can then parse and send it over to a collector Homer agent.
I/linphoneLogs: channel [0x718d31231200]: received [3565] new bytes from [UDP://pbx1.sip.qax.com:5060]:
I/linphoneLogs: INVITE sip:4008@88.88.88.88:50982;transport=udp SIP/2.0
I/linphoneLogs: Record-Route: <sip:88.88.88.88;lr=on;ftag=123123>
I/linphoneLogs: Via: SIP/2.0/UDP 88.88.88.88:5060;branch=123123.asdfasdfs.0
I/linphoneLogs: Max-Forwards: 48
I/linphoneLogs: From: "testdev" <sip:4010@pbx1.sip.qax.com>;tag=123123
I/linphoneLogs: To: <sip:4008@pbx1.sip.qax.com>
I/linphoneLogs: Call-ID: 32423434-5cd9ce97dddb
I/linphoneLogs: CSeq: 55533437 INVITE
I/linphoneLogs: Contact: <sip:sysconn@172.16.10.3:11000;alias=172.16.10.3~11000~1>
I/linphoneLogs: User-Agent: qax-f1
I/linphoneLogs: Allow: INVITE, ACK, BYE, CANCEL, OP
I/linphoneLogs: