14 sep 2009 kl. 12.05 skrev Stanisław Pitucha: > 2009/9/9 Stanisław Pitucha <[email protected]>: >> I've got different customers that may use the same asterisk. Each >> user >> can blind-transfer a call to whatever place they want. But of course >> the transferring side should be billed for it. >> What can I do to see the difference between the channels here? > .... > > Trying again, since I didn't get any responses... but someone has to > know the answer ;) > > I know I can get the channel name via BLINDTRANSFER, but that doesn't > really help me. What I need is either the CALLERID(num) if the calling > side initiated the transfer, or either EXTEN or some other custom > variable from the calling leg if it was the called party that does the > transfer. > > Has anyone solved this billing problem in any way? (well - any apart > from the asterisk-generated cdr-s - I don't really want to start > relying on them)
Make sure that each device has a TRANSFER_CONTEXT dialplan variable. That way, you can send different customers to different TRANSFER_CONTEXTs. Only transfers end up in these contexts, so you can check who's doing what and set accountcodes, reset cdrs, play prompts and have fun. /O _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
