How do you setup a voip audiocodes gateway?

CShaum

Joined
May 14, 2010
Messages
19
Likes
0
Points
0
#1
How do you set up a audiocodes MP-118 FXO gateway?? So that it connects with elastix. We had it working for our test box but when we moved it over to the phone server it doesn't work. We saved the configuration file so we have all the setting when we made the switch between the two boxes. We could call out but not in. I read on a couple forums how to config both trixbox/elastix and MP-118 but it doesn't work. Does any one know how to make these thing work?? We had to go back to the old server 3CX because of this one thing.:( Need help!
 

doncipo

Joined
Jun 3, 2010
Messages
18
Likes
0
Points
0
#2
Got one here working well with Elastix 1.6.2-7. If you're still interested in how to setup it I can help.
 

CShaum

Joined
May 14, 2010
Messages
19
Likes
0
Points
0
#3
We got the thing up and running after a lot of searching and found what worked. There is a lot of different ways to set it up. We did get it going and it running well. Thanks.
 

Edmond

Joined
Aug 8, 2010
Messages
8
Likes
0
Points
0
#4
hi CShaum,

what configuration did you use to get your elastix works with the audio codes, i have the same issue?

I hope that you can help me.
 

CShaum

Joined
May 14, 2010
Messages
19
Likes
0
Points
0
#5
I sure can help you out but I'm really busy at the moment I'll try to it too you by tomorrow night if you can wait that long, but I will be happy to help you out. Thanks for asking. There are kind of tough to setup but once you get it going, it runs without a hiccup.
 

Edmond

Joined
Aug 8, 2010
Messages
8
Likes
0
Points
0
#6
yes i can wait :) thanks for reply
 

CShaum

Joined
May 14, 2010
Messages
19
Likes
0
Points
0
#7
I'm extremely sorry, but I had bad luck it getting these settings to you. this forum kept telling me wrong code and dump all my work. very frustrating!! I tried 4 times and it would tell me wrong code?? Let me write it out somewhere else and than import in to this forum. I apologize for this.
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#8
Unfortunately you have about 42 milliseconds to write your message before the "session expires", please work-around by saving your post before you press submit, if and when you get that error, just retry and paste the saved post back in and send it (quickly).

dicko
 

CShaum

Joined
May 14, 2010
Messages
19
Likes
0
Points
0
#9
how do you save it?? Using save web page as???
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#10
In your post (and before you submit it)

control a (select all to clip buffer)

and then later, when applicable

control v (paste from clip buffer)
 

Edmond

Joined
Aug 8, 2010
Messages
8
Likes
0
Points
0
#11
Thanks for your effort, I'll do this configuration for the next week so do not worry and take your time.

thank you again.

Edmond Haddocks
 

Edmond

Joined
Aug 8, 2010
Messages
8
Likes
0
Points
0
#12
hi CShaum,

if possible please send me the configuration file of your audio codes, I think that's enough to see what I need.

thanx
 

CShaum

Joined
May 14, 2010
Messages
19
Likes
0
Points
0
#13
This forum got problems, I can't attach files. I'm trying to attach a txt file but no go, now what?? dicko to the rescue. Thanks
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#14
Sorry my friend, that's not within my purview, further Ecuador is taking a long weekend for a national holiday commemorating the independence of Quito from them Spanish ba...rds :)
 

CShaum

Joined
May 14, 2010
Messages
19
Likes
0
Points
0
#15
Here is my INI file. Copy and paste worked.



;**************
;** Ini File **
;**************

;Board: MP-118 FXO
;Serial Number: 1431843
;Slot Number: 1
;Software Version: 5.40A.019.002
;DSP Software Version: 204IM => 540.14
;Board IP Address: 192.168.1.1
;Board Subnet Mask: 255.255.255.0
;Board Default Gateway: 192.168.1.255
;Ram size: 32M Flash size: 8M
;Num DSPs: 2 Num DSP channels: 8
;Profile: NONE
;-----------------------------------------


[SYSTEM Params]

SyslogServerIP = 192.168.1.1
EnableSyslog = 1
VXMLFIleName = ''
NTPServerIP = 192.43.244.18
VoiceMenuPassword = 'disable'

[BSP Params]

PCMLawSelect = 3
BaseUDPPort = 6000
EnableLANWatchdog = 0
StorageServerNetworkAddress = 255.255.255.255

[ATM Params]


[Analog Params]

FXSLoopCharacteristicsFilename = 'MP11x-02-1-FXS_16KHZ.dat'

[ControlProtocols Params]

AdminStateLockControl = 0
cpPlayCoder = 'PCMA'
cpRecordCoder = 'PCMA'

[MGCP Params]


[MEGACO Params]

DIGITMAPPING = ''
EP_Num_0 = 0
EP_Num_1 = 1
EP_Num_2 = 0
EP_Num_3 = 0
EP_Num_4 = 0

[PSTN Params]


[SS7 Params]


[Voice Engine Params]

EnableContinuityTones = 0
IdlePCMPattern = 85
VoicePromptsFileName = ''
L1L1ComplexRxUDPPort = 0
EnableSilenceCompression = 1
EnableEchoCanceller = 1
BrokenConnectionEventTimeout = 100
RFC2833PayloadType = 96
RFC2833TxPayloadType = 96
RFC2833RxPayloadType = 96
RFC2198PayloadType = 104
EnableAnswerDetector = 0
MaxEchoCancellerLength = 0
NTEMaxDuration = -1
FarEndDisconnectSilenceMethod = 2
FarEndDisconnectSilencePeriod = 15
CallProgressTonesFilename = 'usa_tones_12.dat'

[WEB Params]

ScenarioFileName = 'SCENARIO.dat'

[SIP Params]

ENABLECALLERID = 1
MAXDIGITS = 32
TIMEBETWEENDIGITS = 4
REGISTRATIONTIME = 1800
USERADLOG = 1
ISPROXYUSED = 1
ISREGISTERNEEDED = 1
AUTHENTICATIONMODE = 1
ISWAITFORDIALTONE = 0
ISTWOSTAGEDIAL = 0
ENABLECURRENTDISCONNECT = 0
ENABLEREVERSALPOLARITY = 1
RADDEBLEVEL = 2
RADLOGOUTPUT = 1
GWDEBUGLEVEL = 6
DEFAULTNUMBER = ''
PROXYNAME = '192.168.1.1'
REGISTRARIP = '192.168.1.1'
USERNAME = 'mp_fxo'
PASSWORD = '720'
ENABLESILENCEDISCONNECT = 1
PROGRESSINDICATOR2IP = -1
DISCONNECTONBROKENCONNECTION = 1
CDRSYSLOGSERVERIP = 0.0.0.0
PSTNALERTTIMEOUT = 180
SUBSCRIPTIONMODE = 1
RINGSBEFORECALLERID = 1
REMOTEBASEUDPPORT = 0
COMFORTNOISENEGOTIATION = 1
REGISTRARTRANSPORTTYPE = 0

[SCTP Params]


[VXML Params]


[IPsec Params]


[Audio Staging Params]


;
; *** TABLE DspTemplates ***
; This table contains hidden elements and will not be exposed.
; This table exists on board and will be saved during restarts
;

;
; *** TABLE PREFIX ***
;
;

[ PREFIX ]
FORMAT PREFIX_Index = PREFIX_DestinationPrefix, PREFIX_DestAddress, PREFIX_SourcePrefix, PREFIX_ProfileId, PREFIX_MeteringCode, PREFIX_SrcIPGroupID, PREFIX_DestHostPrefix, PREFIX_DestIPGroupID, PREFIX_SrcHostPrefix, PREFIX_TransportType, PREFIX_SrcTrunkGroupID;
PREFIX 0 = *, 192.168.32.1, *, 1, 255, -1, , -1, , -1, 0;

[ \PREFIX ]

;
; *** TABLE CoderName ***
;
;

[ CoderName ]
; ** NOTE: Changes were made to active configuration.
; ** The data below is different from current values.
FORMAT CoderName_Index = CoderName_Type, CoderName_PacketInterval, CoderName_rate, CoderName_PayloadType, CoderName_Sce;
CoderName 0 = g711Ulaw64k, 20, 0, 255, 0;
CoderName 1 = g711Alaw64k, 20, 0, 255, 0;

[ \CoderName ]

;
; *** TABLE TrunkGroup ***
;
;

[ TrunkGroup ]
FORMAT TrunkGroup_Index = TrunkGroup_TrunkGroupNum, TrunkGroup_FirstTrunkId, TrunkGroup_FirstBChannel, TrunkGroup_LastBChannel, TrunkGroup_FirstPhoneNumber, TrunkGroup_ProfileId, TrunkGroup_LastTrunkId, TrunkGroup_Module;
TrunkGroup 0 = 1, 255, 1, 1, 7894518, 1, 255, 255;
TrunkGroup 1 = 1, 255, 2, 2, 7894491, 1, 255, 255;
TrunkGroup 2 = 1, 255, 3, 3, 7894687, 1, 255, 255;
TrunkGroup 3 = 1, 255, 4, 4, 7894492, 1, 255, 255;
TrunkGroup 4 = 1, 255, 5, 5, 7893823, 1, 255, 255;
TrunkGroup 5 = 1, 255, 6, 6, 7894576, 1, 255, 255;
TrunkGroup 6 = 1, 255, 7, 7, 7892303, 1, 255, 255;
TrunkGroup 7 = 1, 255, 8, 8, 7894769, 1, 255, 255;

[ \TrunkGroup ]

;
; *** TABLE PstnPrefix ***
;
;

[ PstnPrefix ]
FORMAT PstnPrefix_Index = PstnPrefix_DestPrefix, PstnPrefix_TrunkGroupId, PstnPrefix_SourcePrefix, PstnPrefix_SourceAddress, PstnPrefix_ProfileId, PstnPrefix_SrcIPGroupID, PstnPrefix_DestHostPrefix, PstnPrefix_SrcHostPrefix;
PstnPrefix 0 = *, 1, *, *, 0, -1, *, *;

[ \PstnPrefix ]

;
; *** TABLE ProxyIp ***
;
;

[ ProxyIp ]
FORMAT ProxyIp_Index = ProxyIp_IpAddress, ProxyIp_TransportType, ProxyIp_ProxySetId;
ProxyIp 0 = 192.168.32.1, 0, 0;

[ \ProxyIp ]

;
; *** TABLE TxDtmfOption ***
;
;

[ TxDtmfOption ]
FORMAT TxDtmfOption_Index = TxDtmfOption_Type;
TxDtmfOption 0 = 4;

[ \TxDtmfOption ]

;
; *** TABLE TrunkGroupSettings ***
;
;

[ TrunkGroupSettings ]
FORMAT TrunkGroupSettings_Index = TrunkGroupSettings_TrunkGroupId, TrunkGroupSettings_ChannelSelectMode, TrunkGroupSettings_RegistrationMode, TrunkGroupSettings_GatewayName, TrunkGroupSettings_ContactUser, TrunkGroupSettings_ServingIPGroup;
TrunkGroupSettings 0 = 1, 2, 1, , , -1;

[ \TrunkGroupSettings ]

;
; *** TABLE TelProfile ***
;
;

[ TelProfile ]
FORMAT TelProfile_Index = TelProfile_ProfileName, TelProfile_TelPreference, TelProfile_CodersGroupID, TelProfile_IsFaxUsed, TelProfile_JitterBufMinDelay, TelProfile_JitterBufOptFactor, TelProfile_IPDiffServ, TelProfile_SigIPDiffServ, TelProfile_DtmfVolume, TelProfile_InputGain, TelProfile_VoiceVolume, TelProfile_EnableReversePolarity, TelProfile_EnableCurrentDisconnect, TelProfile_EnableDigitDelivery, TelProfile_EnableEC, TelProfile_MWIAnalog, TelProfile_MWIDisplay, TelProfile_FlashHookPeriod, TelProfile_EnableEarlyMedia, TelProfile_ProgressIndicator2IP, TelProfile_TimeForReorderTone;
TelProfile 1 = , 1, 0, 0, 10, 10, 46, 40, -11, 0, 0, 1, 0, 0, 1, 0, 0, 700, 0, -1, 255;

[ \TelProfile ]

;
; *** TABLE EnableCallerId ***
;
;

[ EnableCallerId ]
FORMAT EnableCallerId_Index = EnableCallerId_IsEnabled;
EnableCallerId 0 = 1;
EnableCallerId 1 = 1;
EnableCallerId 2 = 1;
EnableCallerId 3 = 1;
EnableCallerId 4 = 1;
EnableCallerId 5 = 1;
EnableCallerId 6 = 1;
EnableCallerId 7 = 1;

[ \EnableCallerId ]

;
; *** TABLE TargetOfChannel ***
;
;

[ TargetOfChannel ]
FORMAT TargetOfChannel_Index = TargetOfChannel_Destination, TargetOfChannel_Type;
TargetOfChannel 0 = 7894518, 1;
TargetOfChannel 1 = 7894491, 1;
TargetOfChannel 2 = 7894687, 1;
TargetOfChannel 3 = 7894492, 1;
TargetOfChannel 4 = 7893823, 1;
TargetOfChannel 5 = 7894576, 1;
TargetOfChannel 6 = 7892303, 1;
TargetOfChannel 7 = 403, 1;

[ \TargetOfChannel ]

;
; *** TABLE ProxySet ***
;
;

[ ProxySet ]
FORMAT ProxySet_Index = ProxySet_EnableProxyKeepAlive, ProxySet_ProxyKeepAliveTime, ProxySet_ProxyLoadBalancingMethod, ProxySet_IsProxyHotSwap;
ProxySet 0 = 0, 60, 0, 0;

[ \ProxySet ]
 

CShaum

Joined
May 14, 2010
Messages
19
Likes
0
Points
0
#16
If you need any more info let me know.
Cheers,
 

Edmond

Joined
Aug 8, 2010
Messages
8
Likes
0
Points
0
#17
thank you very much, as i try it i'll let you know if it works :)
 

Edmond

Joined
Aug 8, 2010
Messages
8
Likes
0
Points
0
#18
CShaum

sorry to bother you again, you could tell me the parameters which are specifically required to get elastix work with AudioCodes
 

Edmond

Joined
Aug 8, 2010
Messages
8
Likes
0
Points
0
#19
I can receive calls but not make them :(
 

CShaum

Joined
May 14, 2010
Messages
19
Likes
0
Points
0
#20
This is what we our using:
Dialing Rules:
311
411
911
011.
1800NXXXXXX
1866NXXXXXX
1877NXXXXXX
1888NXXXXXX
1NXXNXXXXXX
NXXNXXXXXX
NXXXXXX


Outgoing Settings

Trunk Name:
PEER Details:

type=peer
allow=alaw&ulaw
context=outbound
dtmfmode=rfc2833
host=192.168.1.1 This is the gateways IP address
nat=no
qualify=no

Incoming Settings

USER Context:mp_fxo Must be the same in the gateway, in the Proxy and Registeration page for the gateways Username.
USER Details:

type=friend
host=dynamic
secret=720 Must be the same in the gateway, in the proxy and registeration page, it would the gateway password
allow=all
canreinvite=no
insecure=very
nat=no



We registered it as a gateway rather than endpoint. Check to see that it registered as a gateway or endpoint. Most generally speaking to register as endpoint is for fxs they use the same firmware for both gateways.But really doesn't have an advantage over register as a gateway.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,915
Messages
130,920
Members
17,594
Latest member
knethardsolutions
Top