Guest User

Untitled

a guest
Jul 10th, 2010
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.03 KB | None | 0 0
  1. sip.conf:
  2. ; Note: If your SIP devices are behind a NAT and your Asterisk
  3. ; server isn't, try adding "nat=1" to each peer definition to
  4. ; solve translation problems.
  5.  
  6. [general]
  7. #include sip_general_additional.conf
  8.  
  9. bindport = 5060 ; Port to bind to (SIP is 5060)
  10. bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
  11. disallow=all
  12. allow=ulaw
  13. allow=alaw
  14. ; If you need to answer unauthenticated calls, you should change this
  15. ; next line to 'from-trunk', rather than 'from-sip-external'.
  16. ; You'll know this is happening if when you call in you get a message
  17. ; saying "The number you have dialed is not in service. Please check the
  18. ; number and try again."
  19. context = from-sip-external ; Send unknown SIP callers to this context
  20. callerid = Unknown
  21. tos=0x68
  22.  
  23. ; Reported as required for Asterisk 1.4
  24. notifyringing=yes
  25. notifyhold=yes
  26. limitonpeers=yes
  27.  
  28. ; enable and force the sip jitterbuffer. If these settings are desired
  29. ; they should be set in the sip_general_custom.conf file as this file
  30. ; will get overwritten during reloads and upgrades.
  31. ;
  32. ; jbenable=yes
  33. ; jbforce=yes
  34.  
  35. register => 201:[email protected]
  36. register => [email protected]
  37.  
  38. ; #, in this configuration file, is NOT A COMMENT. This is exactly
  39. ; how it should be.
  40. #include sip_general_custom.conf
  41. #include sip_nat.conf
  42. #include sip_registrations_custom.conf
  43. #include sip_registrations.conf
  44. #include sip_custom.conf
  45. #include sip_additional.conf
  46.  
  47. qualify=no
  48. nat=never
  49.  
  50.  
  51.  
  52. sip_additional.conf
  53.  
  54. ; do not edit this file, this is an auto-generated file by freepbx
  55. ; all modifications must be done from the web gui
  56.  
  57. [200]
  58. type=friend
  59. secret=
  60. record_out=Adhoc
  61. record_in=Adhoc
  62. qualify=yes
  63. port=5061
  64. pickupgroup=
  65. nat=never
  66. mailbox=200@device
  67. host=dynamic
  68. dtmfmode=
  69. disallow=
  70. dial=SIP/200
  71. context=from-internal
  72. canreinvite=no
  73. callgroup=
  74. callerid=device <200>
  75. allow=
  76. accountcode=
  77. call-limit=50
  78.  
  79. [201]
  80. type=friend
  81. username=201
  82. secret=MYPASSWORD
  83. record_out=Adhoc
  84. record_in=Adhoc
  85. qualify=yes
  86. port=5060
  87. pickupgroup=
  88. nat=never
  89. mailbox=201@device
  90. host=192.168.80.204
  91. dtmfmode=
  92. disallow=
  93. dial=SIP/201
  94. context=default
  95. canreinvite=no
  96. callgroup=
  97. callerid=device <201>
  98. allow=
  99. accountcode=
  100. call-limit=50
  101.  
  102.  
  103.  
  104. SEPMAC.cnf.xml
  105. <device xsi:type="axl:XIPPhone">
  106. <deviceProtocol>SIP</deviceProtocol>
  107. <sshUserId>Markus</sshUserId>
  108. <sshPassword>test</sshPassword>
  109. <devicePool>
  110. <name>Default</name>
  111. <dateTimeSetting>
  112. <name>CMLocal</name>
  113. <dateTemplate>D.M.Y</dateTemplate>
  114. <timeZone>W. Europe Standard/Daylight Time</timeZone>
  115. </dateTimeSetting>
  116. <callManagerGroup>
  117. <members>
  118. <member priority="0">
  119. <callManager>
  120. <ports>
  121. <ethernetPhonePort>2000</ethernetPhonePort>
  122. </ports>
  123. <processNodeName>192.168.80.3</processNodeName>
  124. </callManager>
  125. </member>
  126. </members>
  127. </callManagerGroup>
  128. <srstInfo>
  129. <name>Enable</name>
  130. <srstOption>Enable</srstOption>
  131. <userModifiable>true</userModifiable>
  132. <ipAddr1>192.168.80.3</ipAddr1>
  133. <port1>2000</port1>
  134. <ipAddr2></ipAddr2>
  135. <port2>2000</port2>
  136. <ipAddr3></ipAddr3>
  137. <port3>2000</port3>
  138. </srstInfo>
  139. <mlppDomainId>-1</mlppDomainId>
  140. <mlppIndicationStatus>Default</mlppIndicationStatus>
  141. <preemption>Default</preemption>
  142. </devicePool>
  143. <loadInformation></loadInformation>
  144. <vendorConfig>
  145. <disableSpeaker>false</disableSpeaker>
  146. <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
  147. <forwardingDelay>1</forwardingDelay>
  148. <pcPort>0</pcPort>
  149. <settingsAccess>1</settingsAccess>
  150. <garp>0</garp>
  151. <voiceVlanAccess>0</voiceVlanAccess>
  152. <videoCapability>1</videoCapability>
  153. <autoSelectLineEnable>0</autoSelectLineEnable> <name>Enable</name>
  154. <srstOption>Enable</srstOption>
  155. <userModifiable>true</userModifiable>
  156. <ipAddr1>192.168.80.3</ipAddr1>
  157. <port1>2000</port1>
  158. <ipAddr2></ipAddr2>
  159. <port2>2000</port2>
  160. <ipAddr3></ipAddr3>
  161. <port3>2000</port3>
  162. </srstInfo>
  163. <mlppDomainId>-1</mlppDomainId>
  164. <mlppIndicationStatus>Default</mlppIndicationStatus>
  165. <preemption>Default</preemption>
  166. </devicePool>
  167. <loadInformation></loadInformation>
  168. <vendorConfig>
  169. <disableSpeaker>false</disableSpeaker>
  170. <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
  171. <forwardingDelay>1</forwardingDelay>
  172. <pcPort>0</pcPort>
  173. <settingsAccess>1</settingsAccess>
  174. <garp>0</garp>
  175. <voiceVlanAccess>0</voiceVlanAccess>
  176. <videoCapability>1</videoCapability>
  177. <autoSelectLineEnable>0</autoSelectLineEnable>
  178. <webAccess>0</webAccess>
  179. <daysDisplayNotActive>1,7</daysDisplayNotActive>
  180. <displayOnTime>06:30</displayOnTime>
  181. <displayOnDuration>00:10</displayOnDuration>
  182. <displayIdleTimeout>00:10</displayIdleTimeout>
  183. </vendorConfig>
  184. <versionStamp></versionStamp>
  185. <userLocale>
  186. <name>German_Germany</name>
  187. <uid>1</uid>
  188. <langCode>de</langCode>
  189. <version></version>
  190. <winCharSet>UTF-8</winCharSet>
  191. </userLocale>
  192. <networkLocale>de</networkLocale>
  193. <networkLocaleInfo>
  194. <name>German_Germany</name>
  195. <uid>64</uid>
  196. <version></version>
  197. </networkLocaleInfo>
  198. <deviceSecurityMode>1</deviceSecurityMode>
  199. <idleTimeout>120</idleTimeout>
  200. <authenticationURL></authenticationURL>
  201. <directoryURL></directoryURL>
  202. <idleURL></idleURL>
  203. <informationURL></informationURL>
  204. <messagesURL></messagesURL>
  205. <proxyServerURL></proxyServerURL>
  206. <servicesURL></servicesURL>
  207. <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
  208. <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
  209. <dscpForCm2Dvce>96</dscpForCm2Dvce>
  210. <sipProfile>
  211. <sipLines>
  212. <line button="1">
  213. <featureID>9</featureID>
  214. <featureLabel>12345</featureLabel>
  215. <proxy>192.168.80.3</proxy>
  216. <port>5060</port>
  217. <name>201</name>
  218. <displayName>Markus</displayName>
  219. <autoAnswer>
  220. <autoAnswerEnabled>2</autoAnswerEnabled>
  221. </autoAnswer>
  222. <callWaiting>3</callWaiting>
  223. <authName>201</authName>
  224. <authPassword>MYPASSWORD</authPassword>
  225. <sharedLine>false</sharedLine>
  226. <messageWaitingLampPolicy>1</messageWaitingLampPolicy>
  227. <messagesNumber>*97</messagesNumber>
  228. <ringSettingIdle>4</ringSettingIdle>
  229. <ringSettingActive>5</ringSettingActive>
  230. <contact>201</contact>
  231. <forwardCallInfoDisplay>
  232. <callerName>true</callerName>
  233. <callerNumber>false</callerNumber>
  234. <redirectedNumber>false</redirectedNumber>
  235. <dialedNumber>true</dialedNumber>
  236. </forwardCallInfoDisplay>
  237. </line>
  238. </sipLines>
  239. <dialTemplate>dialplan.xml</dialTemplate>
  240. </sipProfile>
  241. </device>
  242.  
  243. SIPMAC.cnf
  244.  
  245. line1_name: "201"
  246. line1_authname: "201"
  247. line1_password: "MYPASSWORD"
  248. line1_shortname: "201"
  249.  
  250.  
  251. SIPDEFAULT.cnf
  252. proxy1_address: "192.168.80.3"
  253. proxy1_port: 5060
  254. proxy2_address: ""
  255. proxy2_port: 5060
  256. line2_name: ""
  257. line2_authname: ""
  258. line2_password: ""
  259. line2_shortname: ""
  260. proxy3_address: ""
  261. proxy3_port: 5060
  262. line3_name: ""
  263. line3_authname: ""
  264. line3_password: ""
  265. line3_shortname: ""
  266. proxy4_address: ""
  267. proxy4_port: 5060
  268. line4_name: ""
  269. line4_authname: ""
  270. line4_password: ""
  271. line4_shortname: ""
  272. proxy5_address: ""
  273. proxy5_port: 5060
  274. line5_name: ""
  275. line5_authname: ""
  276. line5_password: ""
  277. line5_shortname: ""
  278. proxy6_address: ""
  279. proxy6_port: 5060
  280. line6_name: ""
  281. line6_authname: ""
  282. line6_password: ""
  283. line6_shortname: ""
  284. proxy_register: 1
  285. timer_register_expires: 180
  286. preferred_codec: g711ulaw
  287. tos_media: 5
  288. dtmf_inband: 1
  289. dtmf_outofband: avt
  290. dtmf_db_level: 3
  291. timer_t1: 500
  292. timer_t2: 4000
  293. sip_retx: 10
  294. sip_invite_retx: 6
  295. timer_invite_expires: 180
  296. tftp_cfg_dir: "./"
  297. dnd_control: 0
  298. callerid_blocking: 0
  299. anonymous_call_block: 0
  300. dtmf_avt_payload: 101
  301. sync: 1
  302. phone_label: "Pluto"
Advertisement
Add Comment
Please, Sign In to add comment