...
Expand | ||
---|---|---|
| ||
The LemmonsLab RS232 Kit If you hate RS232 you will love this! Over the years of working with RS232 I have bundled together a very small yet extremely versatile kit that makes working with the mysterious (or some would say painful) serial connections. Below are various pieces and parts that make up that kit. Most of this is inexpensive and every phone tech would benefit from having one in their bag of tricks. CONSOLE ADAPTER Let's start simple! Many network devices use the ubiquitous “Cisco Console Cable”™ Cable” for maintenance access. You have surely seen their famous light blue cable with a RJ45 connector on one end and a serial DB9 female on the other. That is a lot of cable to carry around and I have a smaller version you can make for just $3 or so. Purchase a DB9 female to RJ45 adapter from any of the myriad of suppliers such as https://www.cablewholesale.com/products/serial-modem-cable/modular-adaptors/product-31d1-1740bl.php . I use a blue one to remind me this is a Cisco style console adapter. These adapters have a standardized color code for each wire and you simply insert wires into the connector body to link the connectors in whatever fashion you wish. COMPUTER CONSOLE |
...
Expand | ||
---|---|---|
| ||
Adtran hand-off to second NIC on external server Example: Trunk/Adtran provider should supply something like the following: ======================================================================================================= I have the SIP information for you below along with the cut sheet with the phone numbers on the SIP. SIP TRUNK SETUP Serial: CFG1888946 Given the above information, you’ll want to go ahead and static the secondary eth port on the server for an IP of 10.57.5.2, a subnet of 255.255.255.0, and leave the gateway IP blank in most cases you do not want to add the default gateway as this can traffic to route incorrectly. Once that is done, go into SSH and run “nmcli” to look at the default routes for each interface, you should see something like this:
ens1: connected to Wired connection 2
DNS configuration: Run nmtui and edit the desired interface, in our example, that will be “Wired connection 2” please not the interface is subject to change so look carefully.
edit the “Wired connection 2” interface and under “Routing” add the following: Destination/Prefix Next Hop Afterwards you’ll want to activate the connection by running nmtui again. [root@vw-00301809dc6b ~]# nmcli ens1: connected to Wired connection 2 docker0: unmanaged lo: unmanaged DNS configuration: you can also look at the routing by running the following command: [root@vw-00301809dc6b ~]# ip r l And if we do a tracepath to the SIP registration gateway we can see it’s routing correctly: [root@vw-00301809dc6b ~]# tracepath 10.35.65.4 If we go into asterisk and run “sip show registry” we can also see the trunk is now registered: [root@vw-00301809dc6b ~]# asterisk -r Connected to Asterisk 16.6.2 currently running on vw-00301809dc6b (pid = 1) vw-00301809dc6bCLI> sip show registry |
...
Expand | ||
---|---|---|
| ||
Symtpom(s): Version(s): Summary:
Dialplan reloaded. |
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
FORTIGATE | ISP Cutover Quick Script ==================================== SCRIPT | CUTOVER IP CHANGES ==================================== config system interface edit “wan1” set vdom “root” set ip [NEW IP] [NEW SN] end end config system virtual-wan-link config members edit 1 set interface “wan1” set gateway [NEW GW] next end end config router static edit 1 set gateway [NEW GW] next end end ==================================== AWS IPS TO WHITELIST/CHANGE ==================================== Custom UDP 123 CUSTOM UDP 5060 HTTP TCP 80
HTTPS 443 Custom TCP 8080 |
...
Expand | ||
---|---|---|
| ||
Verify if turned off: Edit asterisk container file: remove the “;” Before: After: esc:wq
Verify change: |
Expand | ||
---|---|---|
| ||
Access logs: |
Expand | ||
---|---|---|
| ||
Example/Symptom: A user is forwarding calls out of the server to their cell phone. When someone calls a user DID that is currently set to forward calls to their cell phone, the call builds and connects both parties but there is no audio. Solution: Add a 1-second delay or 1-second of silence before the call out-routes from the server to the carrier. Steps:
Prior to editing the asg_callrouter.conf file:
After editing the asg_callrouter.conf file:
After making changes enter asterisk (asterisk -r) and run: dial plan reload Detailed Explanation:
|
...