Lorenzo Milesi wrote: >> Edit the query. They're text for a reason. > > ok but I where do I get the Called-Station-Id parameter? From the packet. That's why it's printed out in debug mode. See "man unlang". And the tons of other examples in the SQL sub-directories. Alan DeKok.