{"id":2362,"date":"2008-08-20T12:11:16","date_gmt":"2008-08-20T16:11:16","guid":{"rendered":"http:\/\/blog.voipsupply.com\/?p=2362"},"modified":"2024-01-31T10:31:30","modified_gmt":"2024-01-31T15:31:30","slug":"setting-up-an-audiocodes-mp1xx-fxs-with-asterisk","status":"publish","type":"post","link":"https:\/\/www.voipsupply.com\/blog\/voip-insider\/setting-up-an-audiocodes-mp1xx-fxs-with-asterisk\/","title":{"rendered":"Setting Up an AudioCodes MP1xx FXS With Asterisk"},"content":{"rendered":"<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/P3Z_TV1CxxA\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>This will be the last in the AudioCodes setup series. A quick and dirty configuration for a vanilla Asterisk setup. AudioCodes uses the network address 10.1.10.10 for FXS and 10.1.10.11 for FXO gateways. Setup your network accordingly to access the default address.<\/p>\n<p><!--more--><\/p>\n<h3>Asterisk Setup:<\/h3>\n<p>The Asterisk setup is easy. Just create standard type=friend extensions for as many phone extensions as you would like to create in sip.conf. A typical basic entry would look like below.<\/p>\n<blockquote><p>[1001]<br \/>\ntype=friend<br \/>\ncontext=local ; Context for incoming calls for this user<br \/>\nhost=dynamic ; This peer register with us<br \/>\ndtmfmode=inband ; Choices are inband, rfc2833, or info<br \/>\nusername=1001<br \/>\nsecret=1234<br \/>\ndisallow=all<br \/>\nallow=ulaw ; dtmfmode=inband only works with ulaw or alaw!<br \/>\n;progressinband=no ; <a title=\"polycom phones\" href=\"\/manufacturer\/polycom\/phones\">Polycom phones<\/a> don&#8217;t work properly with &#8220;never&#8221;<\/p>\n<p>Create dialplan entries in extensions.conf<br \/>\nexten =&gt; 1001,1,Dial(SIP\/1001|25)<\/p><\/blockquote>\n<h3>AudioCodes Setup:<\/h3>\n<p>Connect the gateway to a network switch and connect a computer to the same<br \/>\nswitch. Then configure the IP address of the computer to 10.1.10.XXX (anything but 10 or 11). Then run your web browser and point it to http:\/\/10.1.10.10 and login using<\/p>\n<blockquote><p>Default IP address: 10.1.10.10<br \/>\nDefault username: Admin<br \/>\nDefault password: Admin<\/p><\/blockquote>\n<p>Click -&gt; &#8220;Quick Setup&#8221; and change the following:<\/p>\n<blockquote><p>IP Address =&gt; IP address of the AudioCodes 124<br \/>\nSubnet Mask =&gt; Set to the correct netmask for your local network<br \/>\nDefault Gateway Address =&gt; Gateway IP address for your LAN<br \/>\nWorking With Proxy =&gt; Yes<br \/>\nProxy IP Address =&gt; IP address of the Asterisk server<br \/>\nEnable Registration =&gt; Set to &#8220;Enable&#8221;<\/p><\/blockquote>\n<p>Restart the gateway and log back in using the new IP address.<\/p>\n<blockquote><p>Protocol Management -&gt; Protocol Definition -&gt; Proxy &amp; Registration<br \/>\nRegistrar IP Address =&gt; Set to the IP address of the Asterisk server<br \/>\nRegistration Time =&gt; 60<br \/>\nSubscription Mode =&gt; Per Endpoint<br \/>\nAuthentication Mode =&gt; Per Endpoint<\/p><\/blockquote>\n<p>Go to Protocol Management -&gt; Protocol Definition -&gt; DTMF &amp; Dialing<br \/>\nMax Digits In Phone Num -&gt; Make it a large number like 32 digits<\/p>\n<p>Go to Protocol Management -&gt; Protocol Definition -&gt; Coders<br \/>\nAdd coders as needed You need to set at least G.711U-law<\/p>\n<p>Go to Protocol Management -&gt; Endpoint Settings -&gt; Authentication<br \/>\nSet SIP username and password for each port to match your settings in sip.conf<\/p>\n<p>Go to Protocol Management -&gt; Endpoint Phone Numbers<br \/>\nEnter an extension (phone) number for every used channel to match entries in sip.conf<\/p>\n<p>AudioCodes FXS gateway is ready. Worked here YMMV.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This will be the last in the AudioCodes setup series. A quick and dirty configuration for a vanilla Asterisk setup. AudioCodes uses the network address 10.1.10.10 for FXS and 10.1.10.11 for FXO gateways. Setup your network accordingly to access the default address.<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1222],"tags":[],"class_list":["post-2362","post","type-post","status-publish","format-standard","hentry","category-technical-advice"],"_links":{"self":[{"href":"https:\/\/www.voipsupply.com\/blog\/voip-insider\/wp-json\/wp\/v2\/posts\/2362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.voipsupply.com\/blog\/voip-insider\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.voipsupply.com\/blog\/voip-insider\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.voipsupply.com\/blog\/voip-insider\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.voipsupply.com\/blog\/voip-insider\/wp-json\/wp\/v2\/comments?post=2362"}],"version-history":[{"count":3,"href":"https:\/\/www.voipsupply.com\/blog\/voip-insider\/wp-json\/wp\/v2\/posts\/2362\/revisions"}],"predecessor-version":[{"id":310173,"href":"https:\/\/www.voipsupply.com\/blog\/voip-insider\/wp-json\/wp\/v2\/posts\/2362\/revisions\/310173"}],"wp:attachment":[{"href":"https:\/\/www.voipsupply.com\/blog\/voip-insider\/wp-json\/wp\/v2\/media?parent=2362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.voipsupply.com\/blog\/voip-insider\/wp-json\/wp\/v2\/categories?post=2362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.voipsupply.com\/blog\/voip-insider\/wp-json\/wp\/v2\/tags?post=2362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}