Szerkesztő:Misi(AT)niif.hu

Innen: KIFÜ Wiki
A lap korábbi változatát látod, amilyen Misi(AT)niif.hu (vitalap | szerkesztései) 2012. április 16., 14:06-kor történt szerkesztése után volt.

Szakácskönyv/Cookbook/Tutorial

Egyéb

SIP <=> ISDN átjáró

Dial-Peer matching a Cisco SIP<=>ISDN Gateway-ekben

The process of dial-peer matching for Cisco SIP<=>ISDN Gateways

teszt hívás kezdeményezés (Cisco hidden command)

csim start 12345

12345 hívott szám

voice source-group

Az 50 standard ACL a SIP üzenet legelső Via header-jét vizsgálja meg, és ez alapján hoz döntést. Ha a legelső (és egyben a legalsó) Via header ha egy FQDN host név, akkor azt A rekordra feloldja, vagy ha ip cím akkor direkt azzal veti össze az 50 acl-t.

voice source group 
access-list 50

Hibakereséshez pár debug parancs

debug ccsip info
debug voip source-group
debug domain
debug vpm

Cisco DHCP 150 vs. 66

Option 66 only allows 1 host, while option 150 can contain more than 1 ip address, which can be used for TFTP redundancy.

Cisco / Linksys / Sipura SPA 9xx/5xxG

SPA 5xx sw 7.4.3 presence nem támogatott!

  • PUBLISH metódus nem támogatott (?!)
  • event package presence nem támogatott

SPA Redundant Provisioning FQDN vagy ip adható meg. Ha FQDN akkor csak A rekordra old fel, nincs SRV támogatás. Ha több "A" rekord van akkor azokat próbálgatja végig.

SPA reboot url

http://<ip of the phone>/admin/reboot

SPA resync url

http://<ip of the phone>/admin/resync?http://... 

SPA config url

http://<ip of the phone>/admin/spacfg.xml

SPA report rule

<Report_Rule ua="na">http://$A/cisco/$PN/rep/report.php?mac=$MA</Report_Rule>
<?php
$xml = new DOMDocument();
$xml2 = new DOMDocument();
$xml->loadXML($HTTP_RAW_POST_DATA);
$xml2->loadXML($xml->saveXML($xml->getElementsByTagName('flat-profile')->item(0)));
$file=$_GET['mac'].".xml";
echo $file;
$xml2->save($file);
?>

SPA dictionary (magyar nyelv)

SPA504G sw: 7.4.3

SPA9X2_Dictionaries_v615.zip -el jól működik ami beszerezhető innen: https://www.myciscocommunity.com/docs/DOC-2845

SPA LDAP

SPA corporate directory LDAP beállítás

https://www.myciscocommunity.com/servlet/JiveServlet/downloadBody/1251-102-2-4033/SPA900_LDAP_CORP_DIR_V11.pdf

P-RTP-Stat format / formátum

The format of the P-RTP-Stat header is:
P-RTP-State: 
PS=<packets sent>,OS=<octets sent>,PR=<packets received>,OR=<octets received>,
PL=<packets lost>,JI=<jitter in ms>,LA=<delay in ms>,DU=<call duration in s>,
EN=<encoder>,DE=<decoder>

Példa:

P-RTP-Stat: PS=253,OS=60720,PR=147,OR=35280,PL=58,JI=1,LA=0,DU=0,EN=G722,DE=G722

Emergency

Emergency Number—Enter a comma-separated list of emergency
numbers. When one of these numbers is dialed, the unit disables processing of
CONF, HOLD, and other similar softkeys or buttons to avoid accidentally putting the
current call on hold. The phone also disables hook flash event handling. 
Only the far end can terminate an emergency call. 
The phone is restored to normal after the
call is terminated and the phone is back on-hook.

Cisco IOS Voice transaltion rule "?" mizéria

If you type ? directly, IOS thinks it is a request for help. You must type Control-V then ?.


Asterisk incoming SUBSCRIBE request to "peer" matching

  • chan_sip.c
    • function check_peer_ok(....)
/* For subscribes, match on device name only; for other methods,
 * match on IP address-port of the incoming request.
 */

Végpontok

NIIF VoIP Peering

NREN VoIP Lapok

Példa TLD / SLD

Rezervált TLD-k és SLD-k http://tools.ietf.org/html/rfc2606

fontosabbak:

  • test
  • example

Példa nevek

abc nev domain
A alice altalnta
B bob biloxi
C carol chicago / cleveland
D dave / david denver / detroit
E eve / ethel eugene / el-paso

Azonosítók Számok vs. Betűk

Betű átvitel DTMF-ben nem megoldott. 0-9 ,*,#,A-D De számok mappingje megoldható ENUM vagy egyéb lokális megoldással.

Prefix vs.mapping

Logikus könnyen fejben tartható a prefixes megoldás,de pazarló is.

3001 <=> "06-50-12" + "3001"

Nem minden esetben jó megoldás, pl. akkor nem ha kisebb a nyilvános számmező mint a belső mellékek száma. Ilyenkor haszálunk "mapping"-et. Hátránya nem fejben tartható kell egy összerendelő "mapping" tábla.

4001 <=> "06-50-123002"