摘要 |
A voice over Internet protocol (VoIP) device ( 200 ) includes a receiving module ( 210 ) and a public switched telephone network (PSTN) processing module ( 220 ). The receiving module receives a dialed digit, and collects the dialed digit in a dial string. The PSTN processing module includes a PSTN redial determination sub-module ( 221 ), a PSTN prefix determination sub-module ( 222 ), and a PSTN redial sub-module ( 223 ). The PSTN redial determination sub-module determines whether a PSTN redial has started. The PSTN prefix determination sub-module determines whether a prefix matching the dial string is found in a PSTN redial table when the PSTN redial has not started. The PSTN redial sub-module redials the dial string to a PSTN when a prefix matching the dial string is found in the PSTN redial table. A method for processing dial strings by the same is also provided.
|