Hello! For billing purpose, i'd like to be able to associate a redirected call to the initiating call-leg. The second call-leg has to be paid by the person the call was targeted at, but who redirected it e.g. to a zap-destination. Since the billseconds are written to the first call-leg, i need to find out which record the second call-leg belongs to. Currently i do this pretty ugly by writing a key(as variables EPOCH & EXTEN) with the value 'uniqueid' to the ast-db and rereading it on the second call-leg by searching the key with the RDNIS-Variable(was EXTEN on first call-leg) in a epoch-range of 60 seconds(with a loop) - Then i can read the uniqueid, write it to the userfield and bill it later. If the uniqueid of the first call-leg was written to the RDNIS-Variable already, this would be a lot easier, cleaner and accurate. Unfortunately i can't code C, maybe someone has the time to add the required code? thanks in advance!
regards chris _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
