Should we mix the changes of chan_sip, which are unrelated, with the new function? I think we should separate the commits... Just my 5 eurocents. Thanks, Paul. I do like the function! /O