Can not make or receive calls.. Please help

Hi,

Hoping someone can help me out. I’ve installed and setup a FreePBX distro with two NIC. One for external access and one for Internal access. I setup a trunk and a user extension.

The FreePBX system status shows the trunk as registered and online aswell as the user extension. when I place a call via x-lite the active calls and external call shows green at the system status screen. but x-lite says failed to establish call.

Can someone please help out, and point out what I’ve done wrong?

Kind regards

Hammad

You have not told us what you did so how can we tell you what you did wrong?

Hi

Sorry, was not sure what information would be required. But here goes.

NETWORK

eth0
IP 192.168.200.6
NM 255.255.255.0
GW 192.168.200.1

eth1
IP 192.168.2.6
NM 255.255.255.0
GW (Blank)

ASTERISK SIP SETTINGS

NAT Yes
IP Configiration Static
External IP xxx.xxx.59.226
Local Networks 192.168.2.0 / 255.255.255.0
192.158.200.0 / 255.255.255.0

TRUNK

Trunk Name Draytel
Outbound Caller ID 020xxxxxx65
Maximum Channels 2

Dialed Number Manipulation Rules
prefix [9] match pattern [.]

Peer Details

allow=alaw&ulaw
disallow=all
fromdomain=draytel.org
fromuser=8xxxxx1
host=draytel.org
insecure=very
nat=yes
qualify=yes
secret=hxxxxxx1
type=peer
username=8xxxxx1

8xxxxx1:[email protected]/020xxxxxx65

OUTBOUND ROUTE

Route Name Draytel
Time Goup Perminant Route

Dial Pattern

prefix [9] match pattern [.]

Trunk Sequence

0 DrayTEL

INBOUND ROUTE

Descreption Draytel
DID Number 020xxxxxx65
Set Destination Extension 1001

EXTENSIONS

Everything is default but here is what I think you may need…

user 1001

dtmfmode rfc 2833
context from-internal
host dynamic
na yes
port 5060
qualify yes


the x-lite client

uses the IP 192.168.2.6 to connect to FreePBX…

If I’ve missed anything just let me know, and apoligies in advance. Also thank you for your assistance.

Need log when the call is placed. Is x-lite registering with Asterisk?

X-Lite registers, when pacing calls I can see the freePBX status screen update to show call is active…

I’m pretty much a begenner, will you please run me through how I can access it? (sorry…)

Is it the ‘Reports > Asterisk Logfiles’ you wanted to have a look at?

I did a bit of googling, I think this is the log you were after… Thanks again for your assistance.

[2012-05-22 19:20:41] VERBOSE[-1] chan_sip.c: – Registered SIP ‘1001’ at 192.168.2.101:43044
[2012-05-22 19:20:51] VERBOSE[-1] netsock2.c: == Using SIP RTP TOS bits 184
[2012-05-22 19:20:51] VERBOSE[-1] netsock2.c: == Using SIP RTP CoS mark 5
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [907515994399@from-internal:1] Macro(“SIP/1001-00000000”, “user-callerid,LIMIT,”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:1] Set(“SIP/1001-00000000”, “AMPUSER=1001”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:2] GotoIf(“SIP/1001-00000000”, “0?report”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:3] ExecIf(“SIP/1001-00000000”, “1?Set(REALCALLERIDNUM=1001)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:4] Set(“SIP/1001-00000000”, “AMPUSER=1001”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:5] Set(“SIP/1001-00000000”, “AMPUSERCIDNAME=Limbada”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/1001-00000000”, “0?report”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:7] Set(“SIP/1001-00000000”, “AMPUSERCID=1001”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:8] Set(“SIP/1001-00000000”, “CALLERID(all)=“Limbada” <1001>”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:9] GotoIf(“SIP/1001-00000000”, “0?limit”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:10] ExecIf(“SIP/1001-00000000”, “1?Set(GROUP(concurrency_limit)=1001)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:11] ExecIf(“SIP/1001-00000000”, “0?Set(CHANNEL(language)=)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:12] GosubIf(“SIP/1001-00000000”, “0?sub-ccss,s,1(from-internal,907515994399)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:13] GotoIf(“SIP/1001-00000000”, “1?continue”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Goto (macro-user-callerid,s,26)
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:26] Set(“SIP/1001-00000000”, “CALLERID(number)=1001”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:27] Set(“SIP/1001-00000000”, “CALLERID(name)=Limbada”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-user-callerid:28] Set(“SIP/1001-00000000”, “CHANNEL(language)=en”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [907515994399@from-internal:2] Set(“SIP/1001-00000000”, “MOHCLASS=default”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [907515994399@from-internal:3] Set(“SIP/1001-00000000”, “_NODEST=”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [907515994399@from-internal:4] Gosub(“SIP/1001-00000000”, “sub-record-check,s,1(out,907515994399,)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:1] GotoIf(“SIP/1001-00000000”, “1?check”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Goto (sub-record-check,s,6)
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:6] Set(“SIP/1001-00000000”, “__MON_FMT=wav”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:7] GotoIf(“SIP/1001-00000000”, “1?next”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Goto (sub-record-check,s,10)
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:10] ExecIf(“SIP/1001-00000000”, “0?Return()”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:11] GotoIf(“SIP/1001-00000000”, “0?out,1”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:12] Set(“SIP/1001-00000000”, “__REC_STATUS=INITIALIZED”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:13] ExecIf(“SIP/1001-00000000”, “0?Set(__REC_POLICY_MODE=)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:14] Set(“SIP/1001-00000000”, “NOW=1337710851”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:15] Set(“SIP/1001-00000000”, “__DAY=22”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:16] Set(“SIP/1001-00000000”, “__MONTH=05”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:17] Set(“SIP/1001-00000000”, “__YEAR=2012”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:18] Set(“SIP/1001-00000000”, “__TIMESTR=20120522-192051”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:19] Set(“SIP/1001-00000000”, “__FROMEXTEN=1001”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:20] Set(“SIP/1001-00000000”, “__CALLFILENAME=out-907515994399-1001-20120522-192051-1337710851.0”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-record-check:21] Goto(“SIP/1001-00000000”, “out,1”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Goto (sub-record-check,out,1)
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [out@sub-record-check:1] ExecIf(“SIP/1001-00000000”, “1?Set(__REC_POLICY_MODE=dontcare)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [out@sub-record-check:2] GosubIf(“SIP/1001-00000000”, “0?record,1(exten,907515994399,1001)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [out@sub-record-check:3] Return(“SIP/1001-00000000”, “”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [907515994399@from-internal:5] Macro(“SIP/1001-00000000”, “dialout-trunk,2,07515994399,”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/1001-00000000”, “DIAL_TRUNK=2”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/1001-00000000”, “0?sub-pincheck,s,1()”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/1001-00000000”, “0?disabletrunk,1”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/1001-00000000”, “DIAL_NUMBER=07515994399”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/1001-00000000”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/1001-00000000”, “OUTBOUND_GROUP=OUT_2”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/1001-00000000”, “0?nomax”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/1001-00000000”, “0?chanfull”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/1001-00000000”, “0?skipoutcid”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/1001-00000000”, “DIAL_TRUNK_OPTIONS=”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/1001-00000000”, “outbound-callerid,2”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/1001-00000000”, “0?Set(CALLERPRES()=)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/1001-00000000”, “0?Set(REALCALLERIDNUM=1001)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/1001-00000000”, “1?normcid”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Goto (macro-outbound-callerid,s,6)
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-outbound-callerid:6] Set(“SIP/1001-00000000”, “USEROUTCID=”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/1001-00000000”, “EMERGENCYCID=”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/1001-00000000”, “TRUNKOUTCID=02033552865”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/1001-00000000”, “1?trunkcid”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Goto (macro-outbound-callerid,s,12)
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/1001-00000000”, “1?Set(CALLERID(all)=02033552865)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/1001-00000000”, “0?Set(CALLERID(all)=)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/1001-00000000”, “0?Set(CALLERID(all)=)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/1001-00000000”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/1001-00000000”, “1?sub-flp-2,s,1()”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-flp-2:1] ExecIf(“SIP/1001-00000000”, “0?Set(TARGET_FLP_2=7515994399)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-flp-2:2] GotoIf(“SIP/1001-00000000”, “0?match”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@sub-flp-2:3] Return(“SIP/1001-00000000”, “”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/1001-00000000”, “OUTNUM=07515994399”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/1001-00000000”, “custom=SIP/DrayTEL”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/1001-00000000”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/1001-00000000”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:17] Macro(“SIP/1001-00000000”, “dialout-trunk-predial-hook,”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/1001-00000000”, “”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/1001-00000000”, “0?bypass,1”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/1001-00000000”, “1?Set(CONNECTEDLINE(num,i)=07515994399)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/1001-00000000”, “1?Set(CONNECTEDLINE(name,i)=CID:02033552865)”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/1001-00000000”, “0?customtrunk”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:22] Dial(“SIP/1001-00000000”, “SIP/DrayTEL/07515994399,300,”) in new stack
[2012-05-22 19:20:51] VERBOSE[-1] netsock2.c: == Using SIP RTP TOS bits 184
[2012-05-22 19:20:51] VERBOSE[-1] netsock2.c: == Using SIP RTP CoS mark 5
[2012-05-22 19:20:51] VERBOSE[-1] app_dial.c: – Called SIP/DrayTEL/07515994399
[2012-05-22 19:20:58] WARNING[-1] chan_sip.c: Retransmission timeout reached on transmission [email protected] for seqno 102 (Critical Request) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 6401ms with no response
[2012-05-22 19:20:58] WARNING[-1] chan_sip.c: Hanging up call [email protected] - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[2012-05-22 19:20:58] VERBOSE[-1] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:23] NoOp(“SIP/1001-00000000”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 111”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [s@macro-dialout-trunk:24] Goto(“SIP/1001-00000000”, “s-CHANUNAVAIL,1”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/1001-00000000”, “RC=111”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/1001-00000000”, “111,1”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Goto (macro-dialout-trunk,111,1)
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [111@macro-dialout-trunk:1] Goto(“SIP/1001-00000000”, “continue,1”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [continue@macro-dialout-trunk:1] GotoIf(“SIP/1001-00000000”, “1?noreport”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Goto (macro-dialout-trunk,continue,3)
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [continue@macro-dialout-trunk:3] NoOp(“SIP/1001-00000000”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 111 - failing through to other trunks”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [continue@macro-dialout-trunk:4] Set(“SIP/1001-00000000”, “CALLERID(number)=1001”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [907515994399@from-internal:6] Macro(“SIP/1001-00000000”, “outisbusy,”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [s@macro-outisbusy:1] Progress(“SIP/1001-00000000”, “”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [s@macro-outisbusy:2] GotoIf(“SIP/1001-00000000”, “0?emergency,1”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [s@macro-outisbusy:3] GotoIf(“SIP/1001-00000000”, “0?intracompany,1”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] pbx.c: – Executing [s@macro-outisbusy:4] Playback(“SIP/1001-00000000”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
[2012-05-22 19:20:58] VERBOSE[-1] file.c: – <SIP/1001-00000000> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
[2012-05-22 19:21:00] VERBOSE[-1] file.c: – <SIP/1001-00000000> Playing ‘pls-try-call-later.ulaw’ (language ‘en’)
[2012-05-22 19:21:02] VERBOSE[-1] pbx.c: – Executing [s@macro-outisbusy:5] Congestion(“SIP/1001-00000000”, “20”) in new stack
[2012-05-22 19:21:02] WARNING[-1] channel.c: Prodding channel ‘SIP/1001-00000000’ failed
[2012-05-22 19:21:02] VERBOSE[-1] app_macro.c: == Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/1001-00000000’ in macro ‘outisbusy’
[2012-05-22 19:21:02] VERBOSE[-1] pbx.c: == Spawn extension (from-internal, 907515994399, 6) exited non-zero on ‘SIP/1001-00000000’
[2012-05-22 19:21:02] VERBOSE[-1] pbx.c: – Executing [h@from-internal:1] Hangup(“SIP/1001-00000000”, “”) in new stack
[2012-05-22 19:21:02] VERBOSE[-1] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/1001-00000000’

Your trunk, and maybe your NAT are configured wrong. Did your provider give you that config? It appears to have too many authentication factors.

The trunk, draytel didn’t provide it. I found it on this forum. I think it was a reply (possibly from yourself) to another user. But a friend of mine has used the same trunk settings as above (with a different freePBX setup) and is working fine… I’ll get it double checked.

With regards to NAT I’ve set the firewall (TMG 2010) to allow SIP (UDP 5060) and RTP (UDP 10,000 - 20,000) to the FreePBX IP (192.168.200.6) and all out going traffic is allowed by default.

Or is it the NAT settings on on FreePBX that I need to change? If so any pointers on what to and how to please?

Set the NAT settings in sip settings module. But I don’t think that is the issue.

Your trunk is unavailable, I would try working with the carrier customer support.

OK, I will drop them a call and post back with their response.
Thank you

Did you manage to get this working I have the same problem.

by using your Config, I’m able to get in coming calls but not outgoing.

allow=alaw&ulaw
disallow=all
fromdomain=draytel.org
fromuser=89
host=draytel.org
insecure=very
nat=yes
qualify=yes
secret=
***
type=peer
username=8****9

Hi,

I did call up draytel and was told the config is fine. I have not managed to get it working as yet, been busy with other things. If you do find a solution do post back.

Regards

H