I found a website that offers source samples I used to my project. Check it for help... It is for Ozeki VoIP SIP SDK and helps how to create DTMF IVR sample. This SDK also works with Asterisk and other PBXs. I can recommend it:
voip-sip-sdk.com/p_117-c-sharp-dtmf-ivr-implementation-voip.html