| phone number. |
| Note: <index number> means the sequence number in phone |
| book. If users do not request a specific index number in |
| phone book, VoIP FXO gateway will give each record a |
| automatic sequence number as index. |
add a new record to phone book. When adding a record, users | |
| have to specify name, ip, and e164 number to complete the |
| command. |
search a record in phone book. The searching criteria can be | |
| name, ip, or e164. |
delete a specific record. “pbook | |
| 3 record. |
add a new record and force to assign a specific index number | |
| for it. |
modify an existing record. When using this command, users | |
| have to specify the record’s index number, and then make the |
| change. |
Phonebook Rules:
To meet the requirements of communicating with trunk gateway or other applications, Phonebook has following characteristics to be noticed.
When the destination side is a terminal, for ex: IP Phone or soft phone, e164 number stands for exact destination phone number.
When the destination side is a gateway, for ex: T1/E1 gateway, e164 phone number stands only for gateway prefix. That is, users have to continue to dial destination number, following the prefix number. An example is as below: A is a VoIP FXO gateway and B is a E1 Trunk gateway, which is connected to PSTN with E1 PRI. There’s a record in A’s phone book
Index | Name | IP | E164 |
|
|
|
|
|
|
|
|
1 | B_gateway | 192.168.1.2 | 0 |
If users want to make a call to PSTN number “82265699”, they have to make a call to connect to VoIP FXO gateway A, and then dial “082265699”. After receiving the complete dialed number, VoIP FXO gateway A will search for its Phone Book, find “0” as matched prefix, and then dial out to B’s IP address directly with destination e.164 (phone number) “82265699”. Pleased be noted that “0” is eliminated from VoIP FXO gateway itself.
Note:
Because of above characteristics, users have to take care of the number plan very well to avoid the numbering conflict. If users already defined “0” for specific trunk gateway, other terminal started with “0” shall be avoided, or the number will be routed to the trunk gateway defined “0”.
25