system is trixbox based, * 1.2, freepbx 2.3.0, sip extensions (grandstram phones), the goal is to bill for internal back-charging…
CDRs or transferred outbound calls are no longer easy to identify as outbound calls
i am not sure if this has to do with how * handles call transfers in general or with the setup of the freepbx supplied extenions.conf
- call from extension 5000 to an external number 555555
- transfer this connection to extension 5001
results in CDRs:
calldate: time0, clid: <User A 5000>, src: 5000, dst: 555555, channel: SIP/5000, dstchannel: Zap/1-1, disposition: answered, duration: t, uniqueid: a
calldate: time0+t, clid: 5000, src: 5000, dst: 5001, channel: Zap/1-1, dstchannel: , disposition: answered, duration: 0, uniqueid: b
calldate: time0+t, clid: 5000, src: 5000, dst: 5001, channel: Zap/1-1, dstchannel: SIP/5001, disposition: answered, duration: t1, uniqueid: b
the first record is easy to identify as external call to destination 555555 with duration t and can be billed based on this information. but: the much longer connection will be the one of the third record (duration t1), only that this looks at first hand like an incoming call (source channel is an external trunk line, eg Zap/1-1). Based on the clid:5000 and src:5000 i could identify that this is most probably a tranferred outbound call, but i have no information regardig the destination number to define the cost.
anybody any ideas?
is this basic * behaviour or is it related to the freepbx supplied extensions.conf?
can this behaviour be changed?