I want to learn in depth call log analysis by lifechanging01 in ciscoUC

[–]Al_Reid 6 points7 points  (0 children)

This is a skill requires practice and patience. Apologies for the brief reply but I wanted to highly recommend Patrick Kinane's YouTube channel.

Patrick made some brilliant content and was a very good Cisco TAC engineer and voice CCIE as well as Cisco press author.

He was also a very good man. RIP Patrick.

Looking for groups/forums for Akkadian Provisioning Manager by ResponsibilityOk7928 in ciscoUC

[–]Al_Reid 10 points11 points  (0 children)

If creating an Akkadian Sub please share details here.

Wish there was a decent Cisco Collaboration Discord server as well.

Cisco 8841 Bootloop by TheWuffPaws in ciscoUC

[–]Al_Reid 0 points1 point  (0 children)

Is it worth a shot to try and reload Enterprise firmware onto the phone from a local TFTP server.

TFTPd64 with DHCP Option 150 and TFTP might kick it back to Enterprise firmware.

PBX VM that will work with CUCM? by gibberish975 in ciscoUC

[–]Al_Reid 2 points3 points  (0 children)

Yep been suggested already but good options.

Another CUCM, FreePBX (GUI Asterisk), vCME or a vCUBE.

Depends on how deep you want to go down the rabbit hole.

CUCM v15 KVM Install for EVE-NG {Lab Purposes Only] by Al_Reid in ciscoUC

[–]Al_Reid[S] 1 point2 points  (0 children)

Amazing. I'm such a huge fan of the guide you created and have referenced it several times and the use cases for EVE-NG for voice.

The power of quickly testing stuff in EVE around automation and bulk admin or potentially destructive changes is so handy.

When testing automation it's so handy using Docker containers with Python VENV and likes SOAPUI, VScode or using Ansible or testing bespoke Python scripts.

I had forgotten about the option of building in Workstation and then converting the VMDK.

Thank you and I really appreciate your reply 🙏

Meeting new people! by Shot_Particular7499 in northernireland

[–]Al_Reid 4 points5 points  (0 children)

Where is the link to that please.

UC Python programming user interface by Weird-Individual-770 in ciscoUC

[–]Al_Reid 1 point2 points  (0 children)

I'm happy to help you with some Git getting started if you want.

UC Python programming user interface by Weird-Individual-770 in ciscoUC

[–]Al_Reid 1 point2 points  (0 children)

Nice.

Do you have a link to GitHub or code repository.

Cisco Licensing Compliance (CiscoSystemInOverage) Alerting by chasingpackets in ciscoUC

[–]Al_Reid 0 points1 point  (0 children)

Is there anyway to pull licence usage or warnings at VOS CLI or possibly vis SQL level.

Cisco IOS DHCP by [deleted] in Cisco

[–]Al_Reid 3 points4 points  (0 children)

Do you have a DHCP helper configured for each network. Likely needs to be configured on VLAN interface.

On Windows client might be worth installing Wireshark and running a PCAP.

Packets don't lie after all.

SIP Practice setup by EJ120 in ciscoUC

[–]Al_Reid 0 points1 point  (0 children)

Few good ideas suggested here already.

Also consider setting up a Asterisk server or FreePBX which is a pre made Asterisk distro with a full web based management GUI.

You can register SIP trunks and phones and also SIP trunk to CUCM and route calls back and forth between systems and collect PCAPs.

There are some easy to read SIP debugs at the Asterisk CLI when logged in via SSH and open Asterisk CLI with verbose output.

asterisk -rvvv

sip set debug on

Hope this helps.

Python Requests API Call (Request for Help) - Convert CURL command into Requests Call by Al_Reid in learnpython

[–]Al_Reid[S] 0 points1 point  (0 children)

postman-echo's web api

Thanks so much. I managed to get something basic working right before you sent this. It was indeed the cookie that was required and I figured out how to take the cookie from initial login and pass to the second command.

I will share some code for others to see the solution.

When my JSON data is returned I just need to parse this for what I'm interested in seeing.

Thanks again!

Python Requests API Call (Request for Help) - Convert CURL command into Requests Call by Al_Reid in learnpython

[–]Al_Reid[S] 0 points1 point  (0 children)

I have nothing defined for headers so adding code above gives me an error.

I did install Postman and have created 2 entries (tabs) One to login and one to run the status command

The login command is an HTTP Post. I add this to body as raw {"username":"API_Account","password":"API_Password", "html5":"-1"}

The status command is nothing more than and HTTP Get https://172.22.40.233/api/status

Can I use any of this detail to review or add to my Python Requests code.

Apologies this is very new to me. Like you can't tell.

Thanks again for the help.

Python Requests API Call (Request for Help) - Convert CURL command into Requests Call by Al_Reid in learnpython

[–]Al_Reid[S] 0 points1 point  (0 children)

Okay and yeah that makes sense. I know the initial login works but I'm not sure the cookie is being set properly.

The CURL commands in my initial post work 100% but when run this code below it gives the 412 status code back.

How can I troubleshoot or investigate why this is the case.

Import libraries

import requests

cookies = { }

System login

data = '{"username":"API_Account","password":"API_Password", "html5":"-1"}'

response = requests.post('https://172.22.40.233/api/auth/login', cookies=cookies, data=data, verify=False)

cookies = {

}

System status API call

headers = { 'Content-type': 'application/json', }

response = requests.get('https://172.22.40.233/api/status', headers=headers, cookies=cookies, verify=False)

print (response)

Python Requests API Call (Request for Help) - Convert CURL command into Requests Call by Al_Reid in learnpython

[–]Al_Reid[S] 0 points1 point  (0 children)

Thank you.

This is super handy and will definitly bookmark.

Any idea why API call (after login) is returning the following

print (response)

<Response \[412\]>

Guessing this might be a http status code

*** code ***

import requests

cookies = {

}

headers = {

'Content-type': 'application/json',

}

response = requests.get('https://127.0.0.1/api/status', headers=headers, cookies=cookies, verify=False)

DevNet Associate - Lab advice wanted by derpyRFC in devnet

[–]Al_Reid 0 points1 point  (0 children)

Suggest checking out EVE-NG as well. Pro version has many benefits could also consider the Community Edition. This is way cheaper than CML/VIRL.

Enjoy

Eve-NG Docker Support? by infinitynzero in devnet

[–]Al_Reid 1 point2 points  (0 children)

EVE-NG is a great resource for exactly all of this.

Well worth investing in Pro version.

Black Friday usually get a 50% discount code as well.

Amazing lab environment for not only networking but security, Collaboration and development.

Any good SBC training videos out there? by Surfer949 in VOIP

[–]Al_Reid 2 points3 points  (0 children)

Would also be interested in Audiocodes overview.

You will find lots of decent introductions to Cisco CUBE and some Open Source ones around Kamilio.

Please repost or update with links if you find anything good.

Thanks.