HiCustomer Thank you for asking your question on JustAnswer. By the way, it would help us to know:
-What is your ages?
-Could you explain your situation a little more?Thank you again for trusting us with your problem. Please reply as soon as possible so that we can finish answering your question.
Even if your friend went up to her and said that she wasn't obligated to give you her number so I suggest you talk to her face to face or on the phone and not through text. She may be waiting for you to ask her when she is free, if she didn't want to be bothered she wouldn't still come over to talk to you when you are not in her section, she may be thinking that she is making an effort but you are not and you have to make more of an effort to show her that you are interested in getting to know her and seeing where things go. Talk to her about when you can take her out then you will have her one on one. If you want to know if she felt obligated to give you her number then ask her the things you want to know. If she is single I say go for it and ask her when is a good time for her to go out with you. Once you get to know each other outside of her workplace it will get easier for the two of you to communicate.
She seems a bit standoffish and I don't know if it's because she really likes you and is shy about approaching you or if she did feel obligated to give you her number either way you are going to have to ask her when is a good time for her to make dinner plans and if she still acts as if she is undecided ask her if you should let it go or continue to try, she will have to give you an answer. You may have to just come right out and ask her if she is interested or not.