INOC-DBA SIP Proxy FAQ v1.0 2005012201 by Gaurab Raj Upadhaya INOC-DBA (Inter-NOC Dial-by-ASN ) hotline phone system connects the network operations centers of network operators around the world in a closed VOIP system. The system's name is derived from the fact that the dial plan employs the AS Numbers of the participating organizations. To call the network operations center of another carrier or ISP, a user simply picks up the phone and dials their AS Number, which rings straight through to the other network's NOC or specific individuals there. The INOC-DBA hotline system has been in production use since October,2002, but undergoes continuous development and refinement. There are currently about 500 ISPs and carriers connected to the system, throughout the world; in fact, in January of 2003, the INOC-DBA phone system became the first single telephone network of any sort to reach all seven continents. More recent developments have included cryptographic authentication of user's telephones, and a self-provisioning web interface for participant organizations. While the initial system was designed largely using Cisco 7960 Phones, currently many varieties of phones connect to the INOC DBA proxy. Grandstream manufactured phoes are second choice hardware phones. A lot of engineers on the move, or without an hardware phone, commonly X-ten and Kphone, both soft-phones. Increasingly, Asterisks VOIP PBX software is commonly used as a gateway. This FAQ is to help users of these different devices connect to the INOC-DBA. ---------------------- Table of Content a. INOC-DBA SIP Information b. Cisco 7960 Phone Configuration c. Asterisks Mini-Howto d. Grandstream e. To Do List f. References ---------------------- a. INOC-DBA SIP Information INOC-DBA uses Session Initiation Protocol (SIP) for setting up the VOIP call between its users. For the system to work, PCH maintains and runs a central SIP proxy. All users of the system register their phone with this proxy. The information below should help users register with the SIP Proxy SIP Proxy IP Address : 204.61.208.90 SIP Proxy Hostname : inoc-dba.pch.net SIP Proxy Username : SIP Proxy password : Your SIP-IP : Further Notes i. A single username/password pair may have multiple phones. Authentication is the function of the user and not the phone. ================================================================================ b. Cisco 7960 Phone Configuration The INOC-DBA provides a provisioning system for the Cisco 7960 phones. You can add the MAC address of the phone to the provisiong system and assign lines to it. After the phone has been provisioned, please point your phone to TFTP the configuration from inoc-dba.pch.net (204.61.208.90). The provisioning syste doesn't include authentication information in the auto generated config files, thus you'll need to input the authentication information on the phone directly. If you are part of other SIP networks, you can include the line information for those networks into the configuration generated on the inoc-dba tftp server. Please use the box at the bottom of your phone configuration to add more parameters to your phone configuration. If you are upgrading from the cisco proprietary skinny image on the phone, please write to 'operator@pch.net' to walk you through the process. ================================================================================ c. Asterisk Gateway Configuration This guide assumes that you already have a functioning Asterisk setup, or are capable of installing and running one. We just provide the bits and pieces for connecting to the INOC-DBA. This example show how to set up a single extension 3856*999 in an asterisk box. ;sip.conf ;----------- ; ;need to add the register line, which is what Asterisk will send to the inoc-dba. ; the format is ; ; register = > ASN*EXT:password:username@inoc-dba.pch.net/Local_extension ; ; register => 3856*999:mypassword:operator@inoc-dba.pch.net/999 [inoc-dba] type=friend host=inoc-dba.pch.net port=5060 username= fromuser=3856*999 ; your phone number, in form of ASN*Ext secret= canreinvite=yes context=from-inoc-dba insecure=very ; ; ; If you prefer MD5 has in place of plaintext password, you'll have ; register => ASN*EXT:md5secret:username@inoc-dba.pch.net/Local_extension ; register => 3856*999:whocares:operator@inoc-dba.pch.net/999 [inoc-dba] type=friend host=inoc-dba.pch.net port=5060 username= fromuser=3856*999 ; your phone number auth=MD5 secret=whocares ; MD5 hash of your secret canreinvite=yes context=from-inoc-dba insecure=very ; ========================== ; Now the extentions ; ; extensions.conf ;----------------- ; ; ; You can locally map the extensions used for INOC-DBA, or use different local ; mappings. ; ; This extension will ring local SIP extension 100 for 40 seconds then hangup ; exten => 999,1,Dial(SIP/100,40) exten => 999,2,Hangup ; ; This extension is for outgoing calls to inoc-dba ; 8 is the prefix that will be stripped off when making the call ; 8 prefix is used to identify this call to be made to inoc-dba system exten => _8XXXX.,1,SetCIDName(Your Name) exten => _8XXXX.,2,SetCIDNum(3856*999) exten => _8XXXX.,3,Dial(SIP/${EXTEN:1}@inocdba) exten => _8XXXX.,4,Congestion exten => _8XXXX.,5,Hangup ; ; ================================================================================ d. Grandstream BudgeTel 102 Configuration Example: Grandstream phones are either single or dual line SIP phones. These look and feel like the standard telephone. These phones retail for around USD70 on the Internet. Admin password: admin IP address: (DHCP or static - your choice) SIP Server: [204.61.208.90] Outbound Proxy: [204.61.208.90] SIP User ID: [Your INOC-DBA number] Authenticate ID: [your inoc-dba web interface login] Authenticate Password: [your password] Name: [a descriptive name for this phone, like "Bobs Phone"] Preferred Vocoder: 1) PCMA 2) PCMU 3) G729 4) G723 5) G728 6) G726-32 G723 rate: 6.3kbps Set the "silence suppression" to "No" Voice Frames per TX: 10 IP QoS: 0 VLAN Tag: 0 SIP User ID is phone number: yes Dial plan: (empty) SIP Registration: Yes Register Expiration: 2 Early Dial: No Use # as Dial Key: Yes Local SIP port: 5060 Local RTP Port: 5004 NAT Traversal: no TFTP server: your tftp server. VoiceMail UserID: [the number that is to be dialed for voicemail access] Offhook auto-dial: (empty) Send DTMF: via RTP RFC2833 Send Flash Event: No NTP Server: time.nist.gov Time Zone: [set to your timezone] Send Anonymous: No Further Notes. i. INOC DBA doesn't yet provide a STUN server, but if you have access to one you can use it. ii. You can use a local tftp server to store your phone configs. ----------------- e. Todo Add config parameters for softphones Add a section on the online interface ---------- f. Further References To obtain your username and password, please go to https://www.pch.net/inoc-dba/ Your best source of information will be visiting the INOC-DBA home page locaated at http://www.pch.net/inoc-dba/ You can also subscribe to the INOC-DBA mailing list and visit the archives. The mailing list information is located at https://www.pch.net/mailman/listinfo/inoc-dba/ You can always write to 'operator@pch.net' if you have any questions. We try to respond within two working days.