If you want to know how to register an IP Phone at a Router please click here.
If you want to know how to configure SIP SRST please click here.
Setup is simple, the RJ11 from PSTN analog line connects directly to the FXO port of the router. FXO (Foriegn Exchange Office) is a type of WAN interface card which an analog line from a PBX or a Telephone service provider can be connected to.
(1) Create a POTS dial peer for outgoing calls
VGW(config)#dial-peer voice 100 pots
VGW(config-dial-peer)#destination-pattern ..........
VGW(config-dial-peer)#port 0/0/0
Destination pattern .......... matches any number with 10 digits. port 0/0/0 is the physical analog port connected to the analog line.
(2) Configure an extension to ring for incoming calls
VGW(config)#voice-port 0/0/0
VGW(config-voiceport)#connection plar opx 1111
VGW(config-voiceport)#caller-id enable
This is configured to ring 1111 extension. Last command is to identify the caller's number.
Above configuration is enough to make calls out and receive calls in. Following command will show an active incoming call on port 0/0/0 as off-hook.
VGW# show voice port summary
Now let's say if you have 2 or more analog lines connected to several ports. You can create a trunk group and assign it to voice ports.
VGW(config)#trunk group PSTN
VGW(config-trunk-group)#hunt-scheme round-robin
VGW(config)#voice-port 0/0/0
VGW(config-voiceport)#trunk-group PSTN 1
VGW(config)#voice-port 0/0/1
VGW(config-voiceport)#trunk-group PSTN 2
In above configuration, Line choosing method is round robin which means if one line is busy it will go to the other line. 1 in the trunk-group sub command states it is the preferred line.
I'm curious to find out what blog system you have been working with?
ReplyDeleteI'm experiencing some small security issues with my latest site and I'd like to find something
more safe. Do you have any recommendations?
Thank you, I've just been searching for information approximately this subject
ReplyDeletefor a while and yours is the best I've discovered so far.
But, what about the bottom line? Are you positive about the source?
It's amazing to pay a quick visit this site and reading the views of all friends regarding this post, while
ReplyDeleteI am also eager of getting know-how.
What a data of un-ambiguity and preserveness of valuable experience about unexpected emotions.
ReplyDeleteHello, I read your blog on a regular basis. Your writing
ReplyDeletestyle is witty, keep doing what you're doing!
Hi everyone, it's my first pay a quick visit at this web site, and paragraph is actually fruitful for me, keep up posting these posts.
ReplyDelete