Network configuration of freepbx

I got 2 static ip address from ISP provider and want use one of the IP address for freepbx. But I don’t use any router to assign any static IP from router to pbx. Like My configuration would through isp – raw switch–freepbx. is it possible? then what would be the network configuration require on frepbx or nat setting. And also I want all extension would work from any network.
Kindly advise if is it possible?

You are taking huge risk by exposing your FreePBX to external network without routing through firewall. Though Freepbx has inbuilt firewall and intrusion detection, it is always recommended to place firewall and route all traffic in protected method.

1 Like

Until a year ago, this was totally true. With the release of FreePBX 13, this is no longer completely true.

FreePBX 13 includes two firewall components. The first, the Integrated Firewall, handles all of the standard firewall features that the system needs, including managing the ports and zones. The system implements trusted and untrusted zones, along with many different options for dealing with all of the different features that we need to make the system work.

The second is the Adaptive Firewall, which allows us to open the system up to external phones.

Connecting the system to your second IP should be fine. Be sure to turn off your Anonymous Connections and do not allow Guest Connections, then set up your Firewall Zones so they match your local network and trusted networks (your ITSP, for example) and you should be good to go.

1 Like

Ok,let me know if I integrated freepbx through router then what would be the IP configuration?

How you connect the server to the Internet is kind of between you and your ISP. You have two addresses from your ISP, What did they tell you to do to connect them?

I suspect you’ll assign a static address to your network firewall for your computers in your network and a static address to your FreePBX server.

Add a second network interface from the FreePBX server to the local network and make that interface the one that your local phones connect to and you should be fine.

I have my FreePBX 13 on DMZ with the built-in firewall active. All good here

I have 2 static IP address from ISP. One is connected with my cyberoam firewall for to the local network. And the second one I want to use for freepbx server out of my cyberoam firewall. Now let me know the configuration?

How? No details? No information about how your firewall is connected to your ISP? No information about your phone server? I don’t even know how many interfaces your phone server has. There’s no way I have give you “THE CONFIGURATION” you demand.

Your first message said something about not wanting to use a router to send traffic to your phone server, but I don’t understand how you expect this to be connected.

ok…Let me clarify.

here is my 2 static ip got from ISP.

Static 1: 111.93.179.XXX
Static 2: 111.93.179.XX1

Static 1: 111.93.179.XXX is connected with firewall and providing Lan interface for my PC and phones also connected.
Static 2 I want to dedicate for freepbx server.

The configuration of these two IP:

I connected theses IP to raw switch first and then dedicated one with firewall and other for FreePBX. So that I can use both static IP at the same time.

I also attached my static IP configuration.
1.Now my question is if use my LAN interface’s DHCP for pbx then what would be my network configuration. Shall I need to do port forwarding/open UDP port from firewall.
2. Or I can use Static 2: 111.93.179.XX1 as a static ip for freepbx.

OK - you have two equally workable choices.

Choice 1 - send your “xx1” address to the firewall and “one-for-one” NAT it to the phone server. Put the phone server behind the firewall. This way, you have a local/non-routable address for your phones to connect to and you can use the capabilities of the firewall to do "preliminary blocking of traffic that you don’t need to send to your phone server.

This would be my choice. Set it up like any other “NAT” connected phone server, including setting up the server’s own “intergrated” firewall to block traffic from outside the network that you don’t want into the server. This way, you can turn on the Adaptive firewall and allow external SIP connectivity to the server in a trustable way.

Choice 2 - Set up the Ethernet port on the phone server to Statically use the “xx1” address. The switch on the phone will automatically route all of the “xx1” traffic to the interface and you will be golden.

If you do this, you should add a second interface and set it up with a local address on the network with your phones. This way, your phones have a local/non-routable address to connect to the phone server through. See above for firewall stuff.

My phones are on, able to receive incoming calls and extension to extension but unable to calll outbound.
Receiving error this number is not in service. Here is the log report.

[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:2] Set(“PJSIP/500-00000013”, “__REC_STATUS=INITIALIZED”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:3] Set(“PJSIP/500-00000013”, “NOW=1491294727”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:4] Set(“PJSIP/500-00000013”, “__DAY=04”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:5] Set(“PJSIP/500-00000013”, “__MONTH=04”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:6] Set(“PJSIP/500-00000013”, “__YEAR=2017”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:7] Set(“PJSIP/500-00000013”, “__TIMESTR=20170404-140207”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:8] Set(“PJSIP/500-00000013”, “__FROMEXTEN=500”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:9] Set(“PJSIP/500-00000013”, “__MON_FMT=wav”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:10] NoOp(“PJSIP/500-00000013”, “Recordings initialized”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:11] ExecIf(“PJSIP/500-00000013”, “0?Set(ARG3=dontcare)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:12] Set(“PJSIP/500-00000013”, “REC_POLICY_MODE_SAVE=”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:13] ExecIf(“PJSIP/500-00000013”, “0?Set(REC_STATUS=NO)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:14] GotoIf(“PJSIP/500-00000013”, “3?checkaction”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Goto (sub-record-check,s,17)
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:17] GotoIf(“PJSIP/500-00000013”, “1?sub-record-check,out,1”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Goto (sub-record-check,out,1)
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:1] NoOp(“PJSIP/500-00000013”, “Outbound Recording Check from 500 to 917685951757”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:2] Set(“PJSIP/500-00000013”, “RECMODE=dontcare”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/500-00000013”, “1?Goto(routewins)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Goto (sub-record-check,out,7)
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:7] Gosub(“PJSIP/500-00000013”, “recordcheck,1(yes,out,917685951757)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:1] NoOp(“PJSIP/500-00000013”, “Starting recording check against yes”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:2] Goto(“PJSIP/500-00000013”, “yes”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Goto (sub-record-check,recordcheck,9)
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:9] ExecIf(“PJSIP/500-00000013”, “0?Return()”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:10] Set(“PJSIP/500-00000013”, “__REC_POLICY_MODE=YES”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:11] Goto(“PJSIP/500-00000013”, “startrec”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Goto (sub-record-check,recordcheck,16)
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:16] NoOp(“PJSIP/500-00000013”, “Starting recording: out, 917685951757”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:17] Set(“PJSIP/500-00000013”, “AUDIOHOOK_INHERIT(MixMonitor)=yes”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:18] Set(“PJSIP/500-00000013”, “__CALLFILENAME=out-917685951757-500-20170404-140207-1491294727.34”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:19] MixMonitor(“PJSIP/500-00000013”, “2017/04/04/out-917685951757-500-20170404-140207-1491294727.34.wav,ai(LOCAL_MIXMON_ID),”) in new stack
[2017-04-04 14:02:07] VERBOSE[21934][C-00000012] app_mixmonitor.c: Begin MixMonitor Recording PJSIP/500-00000013
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:20] Set(“PJSIP/500-00000013”, “__MIXMON_ID=0x374d100”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:21] Set(“PJSIP/500-00000013”, “__RECORD_ID=PJSIP/500-00000013”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:22] Set(“PJSIP/500-00000013”, “__REC_STATUS=RECORDING”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:23] Set(“PJSIP/500-00000013”, “CDR(recordingfile)=out-917685951757-500-20170404-140207-1491294727.34.wav”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:24] Return(“PJSIP/500-00000013”, “”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:8] Return(“PJSIP/500-00000013”, “”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/500-00000013”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:4] Set(“PJSIP/500-00000013”, “MOHCLASS=default”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:5] ExecIf(“PJSIP/500-00000013”, “1?Set(TRUNKCIDOVERRIDE=13473901030)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:6] Set(“PJSIP/500-00000013”, “_NODEST=”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:7] Macro(“PJSIP/500-00000013”, “dialout-trunk,2,917685951757,off”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:1] Set(“PJSIP/500-00000013”, “DIAL_TRUNK=2”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:2] GosubIf(“PJSIP/500-00000013”, “0?sub-pincheck,s,1()”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:3] GotoIf(“PJSIP/500-00000013”, “0?disabletrunk,1”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:4] Set(“PJSIP/500-00000013”, “DIAL_NUMBER=917685951757”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:5] Set(“PJSIP/500-00000013”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:6] Set(“PJSIP/500-00000013”, “OUTBOUND_GROUP=OUT_2”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:7] GotoIf(“PJSIP/500-00000013”, “1?nomax”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Goto (macro-dialout-trunk,s,9)
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:9] GotoIf(“PJSIP/500-00000013”, “0?skipoutcid”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:10] Set(“PJSIP/500-00000013”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:11] Macro(“PJSIP/500-00000013”, “outbound-callerid,2”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:1] ExecIf(“PJSIP/500-00000013”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:2] ExecIf(“PJSIP/500-00000013”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/500-00000013”, “0?Set(REALCALLERIDNUM=500)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:4] GotoIf(“PJSIP/500-00000013”, “1?normcid”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Goto (macro-outbound-callerid,s,7)
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:7] Set(“PJSIP/500-00000013”, “USEROUTCID=”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:8] Set(“PJSIP/500-00000013”, “EMERGENCYCID=”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:9] Set(“PJSIP/500-00000013”, “TRUNKOUTCID=13473901030”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:10] GotoIf(“PJSIP/500-00000013”, “1?trunkcid”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Goto (macro-outbound-callerid,s,15)
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:15] ExecIf(“PJSIP/500-00000013”, “1?Set(CALLERID(all)=13473901030)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]allerid:16] ExecIf(“PJSIP/500-00000013”, “0?Set(CALLERID(all)=)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:17] ExecIf(“PJSIP/500-00000013”, “1?Set(CALLERID(all)=13473901030)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:18] ExecIf(“PJSIP/500-00000013”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:19] ExecIf(“PJSIP/500-00000013”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:20] Set(“PJSIP/500-00000013”, “CDR(outbound_cnum)=13473901030”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:21] Set(“PJSIP/500-00000013”, “CDR(outbound_cnam)=”) in new stack
[2017-04-04 14:02:07] WARNING[2092] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:12] GosubIf(“PJSIP/500-00000013”, “1?sub-flp-2,s,1()”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:1] ExecIf(“PJSIP/500-00000013”, “1?Return()”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:13] Set(“PJSIP/500-00000013”, “OUTNUM=917685951757”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:14] Set(“PJSIP/500-00000013”, “custom=SIP/[email protected]”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:15] ExecIf(“PJSIP/500-00000013”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:16] ExecIf(“PJSIP/500-00000013”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:17] Macro(“PJSIP/500-00000013”, “dialout-trunk-predial-hook,”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:1] MacroExit(“PJSIP/500-00000013”, “”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:18] GotoIf(“PJSIP/500-00000013”, “0?bypass,1”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:19] ExecIf(“PJSIP/500-00000013”, “1?Set(CONNECTEDLINE(num,i)=917685951757)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:20] ExecIf(“PJSIP/500-00000013”, “1?Set(CONNECTEDLINE(name,i)=CID:13473901030)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:21] ExecIf(“PJSIP/500-00000013”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)13473901030)”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:22] GotoIf(“PJSIP/500-00000013”, “0?customtrunk”) in new stack
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:23] Dial(“PJSIP/500-00000013”, “SIP/[email protected]/917685951757,300,Tt”) in new stack
[2017-04-04 14:02:07] NOTICE[21933][C-00000012] chan_sip.c: Conflicting extension values given. Using ‘Outgoing’ and not ‘917685951757’
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] netsock2.c: Using SIP RTP TOS bits 184
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] netsock2.c: Using SIP RTP CoS mark 5
[2017-04-04 14:02:07] VERBOSE[21933][C-00000012] app_dial.c: Called SIP/[email protected]/917685951757
[2017-04-04 14:02:39] WARNING[2497] chan_sip.c: Retransmission timeout reached on transmission [email protected]:5061 for seqno 102 (Critical Request) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 31999ms with no response
[2017-04-04 14:02:39] WARNING[2497] chan_sip.c: Hanging up call [email protected]:5061 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:24] NoOp(“PJSIP/500-00000013”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 18”) in new stack
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:25] GotoIf(“PJSIP/500-00000013”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] pbx.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:1] Set(“PJSIP/500-00000013”, “RC=18”) in new stack
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:2] Goto(“PJSIP/500-00000013”, “18,1”) in new stack
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] pbx.c: Goto (macro-dialout-trunk,18,1)
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:1] Goto(“PJSIP/500-00000013”, “s-NOANSWER,1”) in new stack
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] pbx.c: Goto (macro-dialout-trunk,s-NOANSWER,1)
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:1] NoOp(“PJSIP/500-00000013”, “Dial failed due to trunk reporting NOANSWER - giving up”) in new stack
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:2] Progress(“PJSIP/500-00000013”, “”) in new stack
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:3] Playback(“PJSIP/500-00000013”, “number-not-answering,noanswer”) in new stack
[2017-04-04 14:02:39] VERBOSE[21933][C-00000012] file.c: <PJSIP/500-00000013> Playing ‘number-not-answering.ulaw’ (language ‘en’)
[2017-04-04 14:02:40] ERROR[21933][C-00000012] netsock2.c: getaddrinfo(“static-251.179.93.111-tataidc.co.in”, “(null)”, …): Name or service not known
[2017-04-04 14:02:40] WARNING[21933][C-00000012] acl.c: Unable to lookup ‘static-251.179.93.111-tataidc.co.in
[2017-04-04 14:02:41] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:4] Congestion(“PJSIP/500-00000013”, “20”) in new stack
[2017-04-04 14:02:41] WARNING[21933][C-00000012] translate.c: no samples for ulawtolin
[2017-04-04 14:02:41] VERBOSE[21933][C-00000012] app_macro.c: Spawn extension (macro-dialout-trunk, s-NOANSWER, 4) exited non-zero on ‘PJSIP/500-00000013’ in macro ‘dialout-trunk’
[2017-04-04 14:02:41] VERBOSE[21933][C-00000012] pbx.c: Spawn extension (from-internal, 917685951757, 7) exited non-zero on ‘PJSIP/500-00000013’
[2017-04-04 14:02:41] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:1] Macro(“PJSIP/500-00000013”, “hangupcall”) in new stack
[2017-04-04 14:02:41] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:1] GotoIf(“PJSIP/500-00000013”, “1?theend”) in new stack
[2017-04-04 14:02:41] VERBOSE[21933][C-00000012] pbx.c: Goto (macro-hangupcall,s,3)
[2017-04-04 14:02:41] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/500-00000013”, “0?Set(CDR(recordingfile)=)”) in new stack
[2017-04-04 14:02:41] VERBOSE[21933][C-00000012] pbx.c: Executing [[email protected]:4] Hangup(“PJSIP/500-00000013”, “”) in new stack
[2017-04-04 14:02:41] VERBOSE[21933][C-00000012] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘PJSIP/500-00000013’ in macro ‘hangupcall’
[2017-04-04 14:02:41] VERBOSE[21933][C-00000012] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/500-00000013’
[2017-04-04 14:02:41] VERBOSE[21934][C-00000012] app_mixmonitor.c: MixMonitor close filestream (mixed)
[2017-04-04 14:02:41] VERBOSE[21934][C-00000012] app_mixmonitor.c: End MixMonitor Recording PJSIP/500-00000013
[2017-04-04 14:02:44] ERROR[2498] netsock2.c: getaddrinfo(“static-251.179.93.111-tataidc.co.in”, “(null)”, …): Name or service not known
[2017-04-04 14:02:44] WARNING[2498] acl.c: Unable to lookup 'static-251.179.93.111-tataidc.co.in

Also, I have received below notification on my dashboard.

“A new, unconfigured, network interface has been detected. Please assign interface ‘eth0’ to a zone”

OK - I gave you two options. You apparently didn’t choose either of the options I gave you and decided to do something else.

I’m done unless you can tell me what you did. Your desire to keep secrets and not tell us the information we need to help you is wasting everyone’s time.

I have changed my plan and configured in a traditional way. I connected my PBX through a router. now all is going fine able to receive incoming and making outgoing calls. However, there is one problem still exists that is “A new, unconfigured, network interface has been detected. Please assign interface ‘eth0’ to a zone”. can you help me out of this. thanks for your immense help.

OK.

You connected your system straight to the router using your external interface. Your eth0 interface should be connected to the Internet zone, since you are running it outside the firewall.

If you have a second interface that you can connect to the interior network (for your phones) you can set that one up as an Internal Network interface and not have to define your other network as a Trusted or Local network.

OR

You can set up your “other” network as a Trusted or Local network and allow your phone to connect through the Internet Zone

Good morning. Yes had my PBX set up before the way you were trying. I few things I bumped into were A) The gateway on ALL network cards must be blank, or the gateway of your ISP, not your router. B) Never could get rid of the message about the zones, just gave up after a while. C) Yes running SIP to a direct connection is nice, through a NAT, not so nice. (When I went back to the way you are running now, I either had a VPN running or used Zioper or any IAX softphone as IAX has no issues with NAT).

Hope this helps a little.