on Raspberry sometimes "No Carrier" occurs and then wvdial doesn't stop trying to find a carrier.
I wrote a script that tries to call wvdial twenty times and then a reboot will be made.
But the problem now is that wvdial tries infinitely to get a carrier.
I couldn't find a parameter that when "No Carrier" occurs wvdial closes after some tries.