The analog phone is ok.
I want to configure modem passthrough or relay, but I don't know how to setup.
The only document i can find in cisco is that to configure below cli in vg224
'voice service voip
modem relay nse codec g711ulaw gw-controlled'
WHat should i do in ISR and CCM to support modem passthrough or relay?
Modem passthrough and fax passthrough use the same set of commands. They are the ones I posted earlier:
voice service voip
modem passthrough nse codec g711u
fax protocol none
mgcp modem passthrough voip mode nse
mgcp modem passthrough voip codec g711ulaw
no ccm fax protocol cisco
If you implement these commands instead of the relay command you've configured, both faxes and modems should work. This should be the easiest configuration to get both faxes and modems to work as long as there are no tight bandwidth constraints or 3rd party fax server support.