User Tools

Site Tools


voip:cisco7940-7960

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
voip:cisco7940-7960 [12/06/2025 15:14] – [Cisco XML Services] andrewvoip:cisco7940-7960 [26/02/2026 10:35] (current) – [Cisco 3750 switch config] andrew
Line 21: Line 21:
  
 </code> </code>
 +
 +Better example with QoS for phone.
 +<code>
 +interface FastEthernet1/0/15
 + description Room 101 7960
 + switchport mode access
 + switchport voice vlan 7
 + priority-queue out 
 + mls qos trust device cisco-phone
 + mls qos trust cos
 + spanning-tree portfast
 +</code>
 +
 +This requires QoS to be set on the switch:-
 +  3750-1(config-if)#priority-queue out
  
  
Line 140: Line 155:
   Jul 19 20:20:12 localhost in.tftpd[1200]: RRQ from 192.168.5.250 filename dialplan.xml    Jul 19 20:20:12 localhost in.tftpd[1200]: RRQ from 192.168.5.250 filename dialplan.xml 
  
 +
 +Hotline
 +To create a line that automatically dials a number when the phone goes off-hook use an empty pattern with a timeout of 0 and rewrite containing the number to dial.
 +
 +==== Hotline config in dialplan.xml ====
 +
 +This matches any digits and immediately dials the rewrite, x1234 in this case.
 +
 +<code>
 +<dialTemplate>
 +  <TEMPLATE match="" timeout="0" rewrite="1234" />
 +</dialTemplate>
 +</code>
  
  
Line 216: Line 244:
  
 <code python> <code python>
 +from flask import Flask, request, render_template, Response
 +
 +
 +app = Flask(__name__)
 +
 +
 # See https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cuipph/all_models/xsi/7_0/english/programming/guide/70xsi.pdf # See https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cuipph/all_models/xsi/7_0/english/programming/guide/70xsi.pdf
  
voip/cisco7940-7960.1749741241.txt.gz · Last modified: by andrew

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki