saravanapandian,
Your problem is how you are doing it.
The system uses * to cancel Feature Requests. So you are dialing 8 which is the FAC for an Outgoing call, but then you dial * which cancels the FAC 8.
You have to send the *77 after the call is connected to a SIP Trunk and not before. This is typically done with a different dial string that the phone system then substitutes the *77 with.
If you are a certified technician this should make sense at this point, but if you are not a certified technician or even a telecommunications technician then this may require a more in-depth explanation.
At what point are you use the * codes and are they used just by themselves; basically are those the only digits dialed for the entire call?
Thanks,
TE