24.11.2014 Views

General Information

General Information

General Information

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

0 11 phonejack1<br />

1 _ voip1<br />

[admin@MikroTik] ip telephony gatekeeper> print<br />

gatekeeper: remote<br />

remote-id: ""<br />

remote-address: 10.0.0.98<br />

registered: yes<br />

registered-with: "MikroTik@10.0.0.98"<br />

In this case this endpoint will register to gatkeeper with the IP address of 10.0.0.98 and telephone<br />

number 11. Every call to telephone number 11 will be transfered from gatekeeper to this endpoint.<br />

And this endpoint will route this call to phonejack1 voice port. On any other telephone number<br />

gatekeeper will be asked for real destination. From this endpoint it will be possible to call all the<br />

endpoints, which are registered to the same gatekeeper. If that gatekeeper has static entries about<br />

endpoints, which are not registered to gatekeeper, it still will be possible to call those endpoints by<br />

those statically defined telephone numbers at gatekeeper.<br />

Example<br />

For example, if numbers table is like this:<br />

[admin@MikroTik] ip telephony numbers> print<br />

Flags: I - invalid, X - disabled, D - dynamic, R - registered<br />

# DST-PATTERN VOICE-PORT PREFIX<br />

0 1. phonejack1<br />

1 128 voip1 128<br />

2 78 voip2 78<br />

3 77 phonejack1<br />

4 76 phonejack1 55<br />

5 _ voip1<br />

then entries 0, 3 and 4 will be sent to the gatekeeper, others are voip voice ports and are ignored.<br />

Entry 0 will be sent as prefix 1, entry 3 - as alias 77, and entry 4 - as alias 76.<br />

If IP address of local endpoint is 10.0.0.100, then gatekeeper voip and numbers tables will look as<br />

follows:<br />

[admin@MikroTik] ip telephony voice-port voip> print<br />

Flags: X - disabled, D - dynamic, R - registered<br />

# NAME AUTODIAL REMOTE-ADDRESS JITTER-BUFFER PREFERED-CODEC SIL FAS<br />

0 tst-2.5 10.0.0.101 0s none no yes<br />

1 D local 127.0.0.1 100ms none no yes<br />

2 D 10.0.0... 10.0.0.100 100ms none no yes<br />

[admin@MikroTik] ip telephony numbers> print<br />

Flags: I - invalid, X - disabled, D - dynamic, R - registered<br />

# DST-PATTERN VOICE-PORT PREFIX<br />

0 78 linejack1<br />

1 3... vctx1<br />

2 33_ voip1<br />

3 5.. voip1<br />

4 XD 78 local 78<br />

5 XD 3_ local 3<br />

6 D 76 10.0.0.100 76<br />

7 D 77 10.0.0.100 77<br />

8 D 1_ 10.0.0.100 1<br />

Here we can see how aliases and prefixes are added to numbers table. Entries 0..3 are static. Entries<br />

4 and 5 are added by registering the local endpoint to the local gatekeeper. Entries 6..8 are added by<br />

Page 371 of 568<br />

Copyright 1999-2005, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.<br />

Other trademarks and registred trademarks mentioned herein are properties of their respective owners.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!