[Freeswitch-users] External forwarding and CDRs - which method to use?
NYCPhoneService
nycphoneservice at gmail.com
Sun Aug 13 12:55:19 UTC 2017
The call flow is:
External Number -> internal extension -> Forwarding to external number.
When I use loopback channel, the outbound CDR leg is generated with 2 second
call as it is known. I can do a post call processing in database and
Check if is_loopback=1, match inbound leg by bridge_uuid and calculate the
total call length.
I'm trying to avoid post call processing.
For that, I tried using sip_looped_call in public context. Works well if you
change the deflect data to ${sip_to_uri} from the default
${destination_number}. However, all custom variables are lost and first leg
is written with BLIND_TRANSFER hangup cause. Billsec is 0 which make sense.
If I need to bill on inbound leg, what should I do in this case?
Any suggestions are appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170813/b84c5f7d/attachment.html>
More information about the FreeSWITCH-users
mailing list