Help: Configuration

Status
Not open for further replies.

virgel07

Joined
Jan 5, 2012
Messages
21
Reaction score
0
Good Day!

I seek for someone can help me to configure my Audicodes MP-104 to work with the 3cx Phone System. My 3cx Phone System are working smoothly in my lan using voip phone but i can't make it working in my pstn line to make receive and make a call. Your help are greatly appreciated. Thanks in advance.
 
thanks for the reply. yeah my ip phone is already registered in my 3cx phone system and its working in our local voip. Now, i want to connect my pstn line to mp104 because i want an inbound and outbound call. I want to know how to do it in audiocodes mp104 fxo.
 
1.) sip phone --->> voip gateway mp104 ---->> outside office pstn line
PSTN Line

2.) sip phone <<--- voip gateway mp104 <<---- outside office pstn line
PSTN Line
 
Is this of any help? http://www.3cx.com/forums/audiocodes-mp-90.html
 
sir, it helps, now after configuring my auidocodes mp118, the 3cx phone system registered the pstn extension created, i already created an outbound rules but i cannot make outbound call, im in the phillipines. local tel line is 7 digits. I tried to call also for the pstn line connected in my mp118 but it just ringing, i set an inbound rule to connect to my working extension line but nothing pick-up the call.

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

;Board: MP-118 FXS
;Serial Number: 480381
;Slot Number: 1
;Software Version: 4.60A.016.003
;Board IP Address: 10.1.10.10
;Board Subnet Mask: 255.255.0.0
;Board Default Gateway: 10.1.10.1
;Ram size: 32M Flash size: 8M
;Num DSPs: 2 Num DSP channels: 8
;Profile: NONE
;------------------------------


[SYSTEM Params]

DNSPriServerIP = 10.1.10.1
SyslogServerIP = 10.1.10.172
EnableSyslog = 1

[BSP Params]

LocalOAMIPAddress = 192.168.0.180
RoutingTableHopsCountColumn = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

[ATM Params]


[Analog Params]

FXSLoopCharacteristicsFilename = 'MP11x10-1-fxs.dat'
CallProgressTonesFilename = 'usa_tones_09.dat'

[ControlProtocols Params]


[MGCP Params]


[MEGACO Params]

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

[SS7 Params]


[Voice Engine Params]

IdlePCMPattern = 85
BrokenConnectionEventTimeout = 3

[WEB Params]

LogoWidth = '339'

[SIP Params]

ENABLECALLERID = 1
MAXDIGITS = 11
DISCONNECTONBUSYTONE = 0
ISPROXYUSED = 1
ISREGISTERNEEDED = 1
PLAYRBTONE2TEL = 1
ISWAITFORDIALTONE = 1
ISTWOSTAGEDIAL = 0
GWDEBUGLEVEL = 5
PROXYNAME = '10.1.10.172'
REGISTRARIP = '10.1.10.172'
SIPGATEWAYNAME = 'audiocode.com'
DISCONNECTONBROKENCONNECTION = 0
REGISTRARNAME = '10.1.10.172'
RINGSBEFORECALLERID = 0
WAITFORDIALTIME = 400
CODERNAME = g711Ulaw64k,20
CODERNAME = g729,20
CODERNAME = g726,20
CODERNAME = g711Alaw64k,20
CODERNAME = g7231,30
CALLERDISPLAYINFO0 = Larry Potter 1,0
CALLERDISPLAYINFO1 = Larry Potter 2,0
CALLERDISPLAYINFO2 = Larry Potter 3,0
CALLERDISPLAYINFO3 = Larry Potter 4,0
PREFIX = *,10.1.10.172,*,0
NUMBERMAPTEL2IP = *,0,$$,11,$$,$$,*,$$,*
PSTNPREFIX = [200-201],1,*,*,0
PSTNPREFIX = *,3,10001,*,0
PSTNPREFIX = *,4,10002,*,0
TARGETOFCHANNEL0 = 100,0
TARGETOFCHANNEL1 = 100,0
TARGETOFCHANNEL2 = 10001,1
TARGETOFCHANNEL3 = 10002,1
TRUNKGROUP_1 = 1-2,200,0
TRUNKGROUP_3 = 3-3,10001,0
TRUNKGROUP_4 = 4-4,10002,0
PROXYIP = 10.1.10.172
AUTHENTICATION_0 = 200,200
AUTHENTICATION_1 = 201,201
AUTHENTICATION_2 = 10001,10001
AUTHENTICATION_3 = 10002,10002
TRUNKGROUPSETTINGS = 1,0
TRUNKGROUPSETTINGS = 2,1
TRUNKGROUPSETTINGS = 3,1
TRUNKGROUPSETTINGS = 4,1
ENABLECALLERID_0 = 1
ENABLECALLERID_1 = 1
ENABLECALLERID_2 = 1
ENABLECALLERID_3 = 1

[VXML Params]


[Audio Staging Params]


[PSTN-SDH Params]
 
I got this error when making outbound call..

10:54:45.718 [CM503020]: Normal call termination. Reason: Not found
10:54:45.718 [CM503016]: Call(3): Attempt to reach <sip:[email protected]:5060> failed. Reason: Not Found
10:54:45.718 [CM503014]: Call(3): No known route to target: <sip:[email protected]:5060>
10:54:45.718 [CM503010]: Making route(s) to <sip:[email protected]:5060>
10:54:45.718 [CM505001]: Ext.400: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXPhone 6.0.20943.0] PBX contact: [sip:[email protected]:5060]
10:54:45.703 [CM503001]: Call(3): Incoming call from Ext.400 to <sip:[email protected]:5060>
 
sir, can u please guide me to setup from 3cx phone system to Audiocodes MP-118, pls. show me how the required setting will be put in 3cx Phone System and MP-118. Pls. include the guide for outbound call.

Location: Philippines
PSTN Line: 9910553

Thanks a lot.
 
virgel07 said:
10:54:45.718 [CM503014]: Call(3): No known route to target: <sip:99902174@10.1.10.172:5060>

This means that you have not created an outbound rule in 3CX to handle calls given the digits you are dialling. It doesn't know what to do with the call. Have a look at...

http://www.3cx.com/docs/manual/

As far as the incoming calls, I'm probably not going to be much help with that, as I'm not familiar with that gateway . Check the 3CX logs to see if there is any sign of an incoming call. If there is, then it is a 3CX configuration issue preventing the call from reaching an extension, post the log. If not, then it is a gateway setting, hopefully someone else can offer some suggestions. When a call comes in, (explaining in really basic terms), it is "forwarded" to the trunk number, in 3CX. There is usually a few seconds delay, in some areas (depending on the system used), to allow for receipt of caller ID information.
 
Thanks for the fast reply!

sir, is it possible that i will directly connect my pstn line to MP-104 FXO and make an outbound call?

In our place supposed to be if i call locally the format is (062) 991 0551, we just need to dial 7 digits to reach (062) 991 0551.

3cx Phone System Setup:

Outbound Rule:

Prefix:
Call from from extension: 400
Call to numbers with a length of: 7

PSTN Line:

Virtual Extension Number: 10000
Authentication Id: 10000
Authentication Password: 10000
Port Idetification: 10000

After creating this, it appeared Unregistered in 3CX Phone System, why?

I got this message when i dial 991 0551:

10:14:44.328 [CM503020]: Normal call termination. Reason: Not available
10:14:44.328 [CM503016]: Call(36): Attempt to reach <sip:[email protected]:5060> failed. Reason: Not Registered
10:14:44.312 [CM503016]: Call(36): Attempt to reach <sip:[email protected]:5060> failed. Reason: Not Registered
10:14:44.312 [CM503017]: Call(36): Target is not registered: PSTNline:9902174 dialed on (AnyLine@SGC Local)
10:14:44.312 [CM303003]: There are no available outbound lines on gateway SGC Local at this time.
10:14:44.312 [CM503010]: Making route(s) to <sip:[email protected]:5060>
10:14:44.312 [CM505001]: Ext.400: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXPhone 6.0.20943.0] PBX contact: [sip:[email protected]:5060]
10:14:44.296 [CM503001]: Call(36): Incoming call from Ext.400 to <sip:[email protected]:5060>

This is my Mp-104 Configuration.Ini

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

;Board: MP-104 FXO
;Serial Number: 575765
;Slot Number: 1
;Software Version: 4.60A.016.003
;Board IP Address: 192.168.3.173
;Board Subnet Mask: 255.255.255.0
;Board Default Gateway: 192.168.3.1
;Ram size: 16M Flash size: 4M
;Num DSPs: 1 Num DSP channels: 4
;Profile: NONE
;------------------------------


[SYSTEM Params]


[BSP Params]


[ATM Params]


[Analog Params]

CallProgressTonesFilename = 'usa_tones_11.dat'

[ControlProtocols Params]


[MGCP Params]


[MEGACO Params]


[SS7 Params]


[Voice Engine Params]

IdlePCMPattern = 255
RFC2833PayloadType = 101

[WEB Params]

LogoWidth = '339'

[SIP Params]

MAXDIGITS = 10
ISTWOSTAGEDIAL = 0
ISG72364USED = 0
SIPGATEWAYNAME = 'audiocodes.com'
ENABLEDIGITDELIVERY = 1
ENABLEDIGITDELIVERY2IP = 1
SIPTRANSPORTTYPE = 1
CODERNAME = g711Ulaw64k,20
CODERNAME = g711Alaw64k,20
CODERNAME = g7231r53,30
CODERNAME = g7231r53,30
PREFIX = *,192.168.3.1,*,0
NUMBERMAPIP2TEL = *,0,$$,$$,$$,$$,*,$$,*
PSTNPREFIX = 9910553,1,*,*,0
TARGETOFCHANNEL0 = 9910553,1
TRUNKGROUP_1 = 1-1,9910553,0
AUTHENTICATION_0 = 10000,10000
TRUNKGROUPSETTINGS = 1,0
TRUNKGROUPSETTINGS = 2,2

[VXML Params]


[Audio Staging Params]


[PSTN-SDH Params}



Pls. correct me in this sir, Thanks a lot...
 
I'm not sure if the gateway or your 3CX is 192.169.3.172 or 173. You might want to check your IP settings.
 
"I'm not sure if the gateway or your 3CX is 192.169.3.172 or 173. You might want to check your IP settings."

192.169.3.172 = my pc ip
192.169.3.173 = my mp104 gateway ip
 
virgel07 said:
192.169.3.173 = my mp104 gateway ip

So why is 3CX trying to reach 192.168.3.172:5060 (and failing) ?
Do you have the correct IP datafilled against the trunk in 3CX?

virgel07 said:
10:14:44.328 [CM503016]: Call(36): Attempt to reach <sip:9902174@192.168.3.172:5060> failed. Reason: Not Registered
 
sir,

i connect my telephone line to audiocodes mp104 FXO 4ports, is it correct? do i can make an outbound call after i configure my 3cx phone system w/ outbound rule?
 
If everything else is correct, then, yes, that's the way it should work.
 
Sir,

Pls. take a look, i try to make a local call from my extension: 136 to 9910551 and this is what i got;

16:50:50.859 CallCtrl::onLegConnected :[CM503007]: Call(141): Device joined: sip:[email protected]:5060
16:50:50.843 CallCtrl::onLegConnected :[CM503007]: Call(141): Device joined: sip:[email protected]:5060
16:50:50.828 Line::printEndpointInfo :[CM505002]: Gateway:[MP104FXO] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [Audiocodes-Sip-Gateway-MP-104 FXO/v.4.60A.016.003] Transport: [sip:192.168.3.1:5060]
16:50:48.234 CallCtrl::onSelectRouteReq :[CM503004]: Call(141): Calling: PSTNline:10005@[Dev:sip:[email protected]:5060, Dev:sip:[email protected]:5060, Dev:sip:[email protected]:5060, Dev:sip:[email protected]:5060]
16:50:48.125 CallCtrl::onIncomingCall :[CM503001]: Call(141): Incoming call from Ext.136 to "9910551"[sip:[email protected]:5060]


Their is no ring tone when i dialled 9910551, it automatically answered and i just heard a strange sound..tssshhhhhhh.


Pls. take a look this is my MP-104 FXO .ini;

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

;Board: MP-104 FXO
;Serial Number: 575765
;Slot Number: 1
;Software Version: 4.60A.016.003
;Board IP Address: 192.168.3.200
;Board Subnet Mask: 255.255.255.0
;Board Default Gateway: 192.168.3.1
;Ram size: 16M Flash size: 4M
;Num DSPs: 1 Num DSP channels: 4
;Profile: NONE
;------------------------------


[SYSTEM Params]


[BSP Params]


[ATM Params]


[Analog Params]

FarEndDisconnectSilenceMethod = 0
CallProgressTonesFilename = 'usa_tones_11.dat'

[ControlProtocols Params]


[MGCP Params]


[MEGACO Params]


[SS7 Params]


[Voice Engine Params]

IdlePCMPattern = 255
VoiceVolume = 11
InputGain = 11
DTMFVolume = 0
DTMFTransportType = 2

[WEB Params]

LogoWidth = '339'

[SIP Params]

MAXDIGITS = 11
REGISTRATIONTIME = 60
ISPROXYUSED = 1
ISREGISTERNEEDED = 1
ISTWOSTAGEDIAL = 0
ENABLECURRENTDISCONNECT = 1
ENABLEREVERSALPOLARITY = 1
CHANNELSELECTMODE = 1
REGISTRARIP = '192.168.3.1'
SIPGATEWAYNAME = 'MP104FXO'
REGISTRARNAME = '192.168.3.1'
CODERNAME = g711Ulaw64k,20
CODERNAME = g711Alaw64k,20
CODERNAME_1 = g711Alaw64k,20
CODERNAME_1 = g711Ulaw64k,20
CALLERDISPLAYINFO0 = 10005,0
CALLERDISPLAYINFO1 = 10006,0
CALLERDISPLAYINFO2 = 10007,0
CALLERDISPLAYINFO3 = 10008,0
PREFIX = *,192.168.3.1,*,1
PSTNPREFIX = *,1,10005,192.168.3.1,1
TARGETOFCHANNEL0 = 10005,1
TARGETOFCHANNEL1 = 10006,1
TARGETOFCHANNEL2 = 10007,1
TRUNKGROUP_1 = 1-1,10005,1
TRUNKGROUP_1 = 2-2,10006,1
TRUNKGROUP_1 = 3-3,10007,1
PROXYIP = 192.168.3.1
AUTHENTICATION_0 = 10005,10005
AUTHENTICATION_1 = 10006,10006
AUTHENTICATION_2 = 10007,10007
TRUNKGROUPSETTINGS = 1,1
TXDTMFOPTION = 4
TELPROFILE_1 = Default Tel Profile,1,0,0,70,7,0,0,0,5,5,1,1,0,1

[VXML Params]


[Audio Staging Params]


[PSTN-SDH Params]
 
You've changed the IP on the device and the call is going through correctly according to the 3CX logs.

virgel07 said:
16:50:50.859 CallCtrl::onLegConnected :[CM503007]: Call(141): Device joined: sip:[email protected]:5060
16:50:50.843 CallCtrl::onLegConnected :[CM503007]: Call(141): Device joined: sip:[email protected]:5060

What happens beyond that, I'm not sure as I'm not familiar with the settings for that device. Did you try the phone line in other sockets on the device? If you don't have the phone line connected, does the call fail? If it fails, that would show the device is aware of an idle phone line being present. Can you listen on an extension, or call a local phone to see if the call is, in fact, going through but you just have no audio path?

In many Gateways there is a one-stage/two-stage option, which I'd expect to give you dialtone if not set correctly.
Some Gateways also have an internal dialplan, which, if not set-up correctly, can prevent some calls from going through.

I'm really not sure if those issues apply here or not.

If no one else, more familiar with your gateway, doesn't come up with any suggestions, you might do some searches for any configuration settings for the MP-104 (or similar models), when connecting with any type of PBX. There may just be one or two settings that require changing.

You've got it to the point that 3CX is passing on the call, which is a big step.
 
sir,

it seems that i found difficulty in configuring the MP104 to work with the 3cx phone system, in this case i want to ask your suggestion what be may the good and right units that really work with the 3cx and it has an easy configuration

Thank you!
 
virgel07 said:
i want to ask your suggestion what be may the good and right units that really work with the 3cx and it has an easy configuration

"Easy Configuration"is very subjective, but if you want to go with a multi-line gateway that has been proven to work, then I'd recommend sticking to something that is supported by 3CX.

https://www.3cx.com/voip-gateways
 
Ok Sir, thank you very much for accomodating my querries. By the way, sir what version of 3cx that has a "Generate config file" button? My current 3cx version is 9 and i cannot see that button.
 
Status
Not open for further replies.

Forum statistics

Threads
112,019
Messages
590,322
Members
164,965
Latest member
Harpreet Brar