Asterisk Mini-HOWTO for INOC-DBA v.20050105.txt Gaurab Raj Upadhaya (gaurab@pch.net) 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=pchconf fromuser=3856*999 secret=nothing 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=pchconf fromuser=3856*999 auth=MD5 secret=whocares 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 ; ; ================================================================================ To obtain your username and password, please go to https://www.pch.net/inoc-dba/ For further help, please e-mail operator@pch.net Thanks for using INOC-DBA.