Thursday, October 15, 2009

Configuring Audiocodes MP108 MP104 FXO with Asterisk

Audiocodes MP108 FXO is 8 FXO port on single device, its really well built, but with that, it comes with a lot of setting to deal, basically audiocodes is not simple FXO gateway which normally relies on asterisk to do the switching/PBX stuff, I hope that I can disable all the functionality and just use this gateway with asterisk.

ok now how to set this audiocodes just to forward all call come from PSTN that connect on FXO port to asterisk and vice versa, forward all call from astersik to any available FXO port, this is the few step that will make audiocodes work with such configuration.

Step 1:
Configure audiocodes to have registration account with asterisk, this can be done easily with "Protocol Management -> Protocol Definition -> Proxy&Registration", fill on "Proxy IP Address", "Enable Registration : Yes", "Username", "Password", and "Authentication Mode : Per Endpoint".

Step 2:
Configuring "Protocol Management -> Endpoint Phone Number", this is important part for make each FXO port on audiocodes registered with asterisk, in here, under "Channel", you can fill with either 1, 1-2, 1-8, 3-4, or whatever you want to have, this means that port 1, or port 1-2, etc will registered on astersik with userid/username filled on "Phone Number", yes, that is correct, "Phone Number" on this configuration page is AlphaNumeric, the password is using global "Password" on First step.

next, on same page configure "Hunt Group ID", this is another important configuration which make audiocodes forward incoming call from asterisk to any available FXO. Hunt Group ID is number from 0 to any, I put 1.

Step 3:
to make audiocodes forward call from FXO to asterisk, configure "Endpoint Settings -> Automatic Dialing", I have 777 number on asterisk to handle all incoming call, so I put "Destination Phone Number" as 777 so every incoming call on FXO will be forwarded to 777 on my Astersik.

Step 4:
this is the last configuration that everyone need, forward call from asterisk to any available FXO. in "Routing Tables -> IP to Hunt Group Routing Table" configure under "Dest. Phone Prefix" with "*" (or any prefix that you might have), "Source Phone Prefix" with "*", "Source IP Address" with "*", "Hunt Group ID" with any number you configure on Step 2, in my case, 1.

thats it, all configurations are complete. the audiocodes now can forward the call from FXO to asterisk, and vice versa.

step 3 and step 4 basically the configuration that need to have if audiocodes reporting error such "[ERROR] #0:TrunkGroup::AllocateEndPoint- Can't find EndPoint for phone number"

1 comment:

Anonymous said...

I've summarized the following steps:

*Step 1:*
Configure audiocodes to have registration account with asterisk, this can be
done easily with "Protocol Management -> Protocol Definition ->
Proxy&Registration", fill on "Proxy IP Address", "Enable Registration :
Yes", "Username", "Password", and "Authentication Mode : Per Endpoint".

*Step 2:*
Configuring "Protocol Management -> Endpoint Phone Number", this is
important part for make each FXO port on audiocodes registered with
asterisk, in here, under "Channel", you can fill with either 1, 1-2, 1-8,
3-4, or whatever you want to have, this means that port 1, or port 1-2, etc
will registered on astersik with userid/username filled on "Phone Number",
yes, that is correct, "Phone Number" on this configuration page is
AlphaNumeric, the password is using global "Password" on First step.

next, on same page configure "Hunt Group ID", this is another important
configuration which make audiocodes forward incoming call from asterisk to
any available FXO. Hunt Group ID is number from 0 to any, I put 1.

*Step 3:*
to make audiocodes forward call from FXO to asterisk, configure "Endpoint
Settings -> Automatic Dialing", I have 777 number on asterisk to handle all
incoming call, so I put "Destination Phone Number" as 777 so every incoming
call on FXO will be forwarded to 777 on my Astersik.

*Step 4:*
this is the last configuration that everyone need, forward call from
asterisk to any available FXO. in "Routing Tables -> IP to Hunt Group
Routing Table" configure under "Dest. Phone Prefix" with "*" (or any prefix
that you might have), "Source Phone Prefix" with "*", "Source IP Address"
with "*", "Hunt Group ID" with any number you configure on Step 2, in my
case, 1.

*I add here addiiotnal steps needed for me to get ready**:
Step 5:*
Add port by port authentication at Protocol Management -> Endoint Settings
-> Authentication

*Step 6:*
Choosing Channel Selection Mode: Protocol Management -> Hunt Group Settings,
choose the hunt group number and the way you prefer.

*Step 7:*
Choosing Dialing Mode: Protocol Management -> FXO Settings, I select One
Stage.

Hope it helps.

Elder Daniel

current

last archive