Incoming call connection to extension

Hello. I am relatively new to Freepbx and Asterisk, but have been using standalone SIP trunks and both softphones (X-Lite) and CISCO 7940 SIP phones with Sipgate for about 5 years. I am using DD-WRT on my router with ports open and forwarded to my FreePBX / Asterisk Server on a Raspberry Pi using the latest install of IncrediblePBX (Asterisk 11.6.0 and FreePBX 2.11.0.23)

I have installed the Sipgate Trunk, set up incoming calls and outgoing calls including setting up UK dialplans with calls fowarded to an extension which is registered.

First the good things:

  1. The trunk is registered and online
  2. The extension is registered and online
  3. I can use the extension to dial out and to make calls, with two way audio
  4. I can dial in on a PSTN line and the call is answered by Asterisk, but is diverted to the extension’s voicemail if enabled, or returns a number unobtainable tone if voicemail is inactive on the extension

BUT despite trying a 101 things in the extension setting I cannot get incoming calls to ring and connect to the registered extension (for the time being I am using a softphone X-Lite to do the testing, but the same occurs on a 7940 if this is connected).

I wonder if anybody can help me please?

The following is the Log when an incoming call is received, anybody have any ideas as to what is going on please and how to fix this?

The only warnings I can see below are these two lines:

[2014-02-15 10:54:09] WARNING[5308][C-0000002a] chan_sip.c: Purely numeric hostname (705), and not a peer–rejecting!
[2014-02-15 10:54:09] WARNING[5308][C-0000002a] app_dial.c: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)

I have tried googling these errors, without much success.

Thanks in anticipation that this is an easy fix?

Andrew

The full Log extract follows:

[2014-02-15 10:54:09] VERBOSE[3027][C-0000002a] netsock2.c: == Using SIP RTP TOS bits 184
[2014-02-15 10:54:09] VERBOSE[3027][C-0000002a] netsock2.c: == Using SIP RTP CoS mark 5
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Set(“SIP/sipgateUK1TR-00000038”, “__FROM_DID=1358481”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Gosub(“SIP/sipgateUK1TR-00000038”, “app-blacklist-check,s,1()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?check-blocked”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?check-blocked”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?check-blocked:morechecks”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (app-blacklist-check,s,5)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:5] NoOp(“SIP/sipgateUK1TR-00000038”, “1518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:6] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?strip2”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:7] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?strip1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:8] Goto(“SIP/sipgateUK1TR-00000038”, “check”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (app-blacklist-check,s,14)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:14] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?blacklisted”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:15] Set(“SIP/sipgateUK1TR-00000038”, “CALLED_BLACKLIST=1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:16] Return(“SIP/sipgateUK1TR-00000038”, “”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] Set(“SIP/sipgateUK1TR-00000038”, “CDR(did)=1358481”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:4] ExecIf(“SIP/sipgateUK1TR-00000038”, “0 ?Set(CALLERID(name)=1518682)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:5] Ringing(“SIP/sipgateUK1TR-00000038”, “”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:6] Set(“SIP/sipgateUK1TR-00000038”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:7] Set(“SIP/sipgateUK1TR-00000038”, “CALLERPRES()=allowed_not_screened”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:8] Goto(“SIP/sipgateUK1TR-00000038”, “from-did-direct,705,1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (from-did-direct,705,1)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Set(“SIP/sipgateUK1TR-00000038”, “__RINGTIMER=15”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Macro(“SIP/sipgateUK1TR-00000038”, “exten-vm,705,705,0,0,0”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Macro(“SIP/sipgateUK1TR-00000038”, “user-callerid,”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Set(“SIP/sipgateUK1TR-00000038”, “TOUCH_MONITOR=1392461649.56”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Set(“SIP/sipgateUK1TR-00000038”, “AMPUSER=1518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?report”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:4] ExecIf(“SIP/sipgateUK1TR-00000038”, “1?Set(REALCALLERIDNUM=1518682)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:5] Set(“SIP/sipgateUK1TR-00000038”, “AMPUSER=”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:6] Set(“SIP/sipgateUK1TR-00000038”, “AMPUSERCIDNAME=”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:7] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?report”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-user-callerid,s,13)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:13] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?continue”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:14] Set(“SIP/sipgateUK1TR-00000038”, “__TTL=64”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:15] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?continue”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-user-callerid,s,26)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:26] Set(“SIP/sipgateUK1TR-00000038”, “CALLERID(number)=1518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:27] Set(“SIP/sipgateUK1TR-00000038”, “CALLERID(name)=02030518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:28] Set(“SIP/sipgateUK1TR-00000038”, “CDR(cnum)=1518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:29] Set(“SIP/sipgateUK1TR-00000038”, “CDR(cnam)=02030518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:30] Set(“SIP/sipgateUK1TR-00000038”, “CHANNEL(language)=en”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Set(“SIP/sipgateUK1TR-00000038”, “RingGroupMethod=none”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] Set(“SIP/sipgateUK1TR-00000038”, “__EXTTOCALL=705”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:4] Set(“SIP/sipgateUK1TR-00000038”, “__PICKUPMARK=705”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:5] Set(“SIP/sipgateUK1TR-00000038”, “RT=15”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:6] Gosub(“SIP/sipgateUK1TR-00000038”, “sub-record-check,s,1(exten,705,)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Set(“SIP/sipgateUK1TR-00000038”, “REC_POLICY_MODE_SAVE=”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?check”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (sub-record-check,s,7)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:7] Set(“SIP/sipgateUK1TR-00000038”, “__MON_FMT=wav”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:8] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?next”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (sub-record-check,s,11)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:11] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?Return()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:12] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?Set(__REC_POLICY_MODE=)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:13] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?exten,1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:14] Set(“SIP/sipgateUK1TR-00000038”, “__REC_STATUS=INITIALIZED”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:15] Set(“SIP/sipgateUK1TR-00000038”, “NOW=1392461649”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:16] Set(“SIP/sipgateUK1TR-00000038”, “__DAY=15”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:17] Set(“SIP/sipgateUK1TR-00000038”, “__MONTH=02”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:18] Set(“SIP/sipgateUK1TR-00000038”, “__YEAR=2014”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:19] Set(“SIP/sipgateUK1TR-00000038”, “__TIMESTR=20140215-105409”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:20] Set(“SIP/sipgateUK1TR-00000038”, “__FROMEXTEN=1518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:21] Set(“SIP/sipgateUK1TR-00000038”, “__CALLFILENAME=exten-705-1518682-20140215-105409-1392461649.56”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:22] Goto(“SIP/sipgateUK1TR-00000038”, “exten,1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (sub-record-check,exten,1)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?callee”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Set(“SIP/sipgateUK1TR-00000038”, “__REC_POLICY_MODE=dontcare”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]rd-check:3] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?caller”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (sub-record-check,exten,10)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:10] Set(“SIP/sipgateUK1TR-00000038”, “__REC_POLICY_MODE=”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:11] GosubIf(“SIP/sipgateUK1TR-00000038”, “0?record,1(exten,705,1518682)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:12] Return(“SIP/sipgateUK1TR-00000038”, “”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:7] Macro(“SIP/sipgateUK1TR-00000038”, “dial-one,15,tr,705”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Set(“SIP/sipgateUK1TR-00000038”, “DEXTEN=705”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Set(“SIP/sipgateUK1TR-00000038”, “DIALSTATUS_CW=”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] GosubIf(“SIP/sipgateUK1TR-00000038”, “0?screen,1()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:4] GosubIf(“SIP/sipgateUK1TR-00000038”, “0?cf,1()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:5] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?skip1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-dial-one,s,8)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:8] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?nodial”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:9] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?continue”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:10] Set(“SIP/sipgateUK1TR-00000038”, “EXTHASCW=ENABLED”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:11] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?next1:cwinusebusy”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-dial-one,s,23)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:23] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?next3:continue”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-dial-one,s,24)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:24] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?Set(DIALSTATUS_CW=BUSY)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:25] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?nodial”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:26] GosubIf(“SIP/sipgateUK1TR-00000038”, “1?dstring,1():dlocal,1()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Set(“SIP/sipgateUK1TR-00000038”, “DSTRING=”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Set(“SIP/sipgateUK1TR-00000038”, “DEVICES=705”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?Return()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:4] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?Set(DEVICES=05)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:5] Set(“SIP/sipgateUK1TR-00000038”, “LOOPCNT=1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:6] Set(“SIP/sipgateUK1TR-00000038”, “ITER=1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:7] Set(“SIP/sipgateUK1TR-00000038”, “THISDIAL=SIP/705”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:8] GosubIf(“SIP/sipgateUK1TR-00000038”, “1?zap2dahdi,1()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?Return()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Set(“SIP/sipgateUK1TR-00000038”, “NEWDIAL=”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] Set(“SIP/sipgateUK1TR-00000038”, “LOOPCNT2=1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:4] Set(“SIP/sipgateUK1TR-00000038”, “ITER2=1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:5] Set(“SIP/sipgateUK1TR-00000038”, “THISPART2=SIP/705”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:6] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?Set(THISPART2=DAHDI/705)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:7] Set(“SIP/sipgateUK1TR-00000038”, “NEWDIAL=SIP/705&”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:8] Set(“SIP/sipgateUK1TR-00000038”, “ITER2=2”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:9] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?begin2”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:10] Set(“SIP/sipgateUK1TR-00000038”, “THISDIAL=SIP/705”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:11] Return(“SIP/sipgateUK1TR-00000038”, “”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:9] Set(“SIP/sipgateUK1TR-00000038”, “DSTRING=SIP/705&”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:10] Set(“SIP/sipgateUK1TR-00000038”, “ITER=2”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:11] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?begin”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:12] Set(“SIP/sipgateUK1TR-00000038”, “DSTRING=SIP/705”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:13] Return(“SIP/sipgateUK1TR-00000038”, “”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:27] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?nodial”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:28] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?skiptrace”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:29] GosubIf(“SIP/sipgateUK1TR-00000038”, “1?ctset,1():ctclear,1()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Set(“SIP/sipgateUK1TR-00000038”, “DB(CALLTRACE/705)=1518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Return(“SIP/sipgateUK1TR-00000038”, “”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:30] Set(“SIP/sipgateUK1TR-00000038”, “D_OPTIONS=tr”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:31] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?SIPAddHeader(Alert-Info: )”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:32] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?SIPAddHeader()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:33] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?Set(CHANNEL(musicclass)=)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:34] GosubIf(“SIP/sipgateUK1TR-00000038”, “0?qwait,1()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:35] Set(“SIP/sipgateUK1TR-00000038”, “__CWIGNORE=”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:36] Set(“SIP/sipgateUK1TR-00000038”, “__KEEPCID=TRUE”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:37] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?usegoto,1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:38] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?godial”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-dial-one,s,42)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:42] Dial(“SIP/sipgateUK1TR-00000038”, “SIP/705,15,tr”) in new stack
[2014-02-15 10:54:09] WARNING[5308][C-0000002a] chan_sip.c: Purely numeric hostname (705), and not a peer–rejecting!
[2014-02-15 10:54:09] WARNING[5308][C-0000002a] app_dial.c: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:43] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?MacroExit()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:44] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?Set(DIALSTATUS=)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:45] GosubIf(“SIP/sipgateUK1TR-00000038”, “0?s-CHANUNAVAIL,1()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:46] MacroExit(“SIP/sipgateUK1TR-00000038”, “”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:8] Set(“SIP/sipgateUK1TR-00000038”, “SV_DIALSTATUS=CHANUNAVAIL”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:9] GosubIf(“SIP/sipgateUK1TR-00000038”, “0?docfu,1()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:10] GosubIf(“SIP/sipgateUK1TR-00000038”, “0?docfb,1()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:11] Set(“SIP/sipgateUK1TR-00000038”, “DIALSTATUS=CHANUNAVAIL”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:12] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?MacroExit()”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:13] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?s-CHANUNAVAIL,1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:14] Macro(“SIP/sipgateUK1TR-00000038”, “vm,705,CHANUNAVAIL,”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Macro(“SIP/sipgateUK1TR-00000038”, “user-callerid,SKIPTTL”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Set(“SIP/sipgateUK1TR-00000038”, “TOUCH_MONITOR=1392461649.56”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Set(“SIP/sipgateUK1TR-00000038”, “AMPUSER=1518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?report”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:4] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?Set(REALCALLERIDNUM=1518682)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:5] Set(“SIP/sipgateUK1TR-00000038”, “AMPUSER=”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:6] Set(“SIP/sipgateUK1TR-00000038”, “AMPUSERCIDNAME=”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:7] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?report”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-user-callerid,s,13)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:13] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?continue”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-user-callerid,s,26)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:26] Set(“SIP/sipgateUK1TR-00000038”, “CALLERID(number)=1518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:27] Set(“SIP/sipgateUK1TR-00000038”, “CALLERID(name)=02030518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:28] Set(“SIP/sipgateUK1TR-00000038”, “CDR(cnum)=1518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:29] Set(“SIP/sipgateUK1TR-00000038”, “CDR(cnam)=02030518682”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:30] Set(“SIP/sipgateUK1TR-00000038”, “CHANNEL(language)=en”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Set(“SIP/sipgateUK1TR-00000038”, “VMGAIN=g(6)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] Macro(“SIP/sipgateUK1TR-00000038”, “blkvm-check,”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Set(“SIP/sipgateUK1TR-00000038”, “GOSUB_RETVAL=”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?Set(GOSUB_RETVAL=TRUE)”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] MacroExit(“SIP/sipgateUK1TR-00000038”, “”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:4] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?vmx,1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-vm,vmx,1)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Set(“SIP/sipgateUK1TR-00000038”, “MEXTEN=705”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Set(“SIP/sipgateUK1TR-00000038”, “MMODE=CHANUNAVAIL”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] Set(“SIP/sipgateUK1TR-00000038”, “RETVM=”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:4] Set(“SIP/sipgateUK1TR-00000038”, “MODE=unavail”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:5] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?chknomsg”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-vm,vmx,7)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:7] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?s-CHANUNAVAIL,1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:8] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?notdirect”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-vm,vmx,10)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:10] NoOp(“SIP/sipgateUK1TR-00000038”, "Checking if ext 705 is enabled: ") in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:11] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?s-CHANUNAVAIL,1”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-vm,s-CHANUNAVAIL,1)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Macro(“SIP/sipgateUK1TR-00000038”, “get-vmcontext,705”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Set(“SIP/sipgateUK1TR-00000038”, “VMCONTEXT=default”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?200:300”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-get-vmcontext,s,300)
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:300] NoOp(“SIP/sipgateUK1TR-00000038”, “”) in new stack
[2014-02-15 10:54:09] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] VoiceMail(“SIP/sipgateUK1TR-00000038”, “[email protected],ug(6)”) in new stack
[2014-02-15 10:54:10] VERBOSE[5308][C-0000002a] file.c: – <SIP/sipgateUK1TR-00000038> Playing ‘vm-theperson.ulaw’ (language ‘en’)
[2014-02-15 10:54:11] VERBOSE[5308][C-0000002a] file.c: – <SIP/sipgateUK1TR-00000038> Playing ‘digits/7.ulaw’ (language ‘en’)
[2014-02-15 10:54:12] VERBOSE[5308][C-0000002a] file.c: – <SIP/sipgateUK1TR-00000038> Playing ‘digits/0.ulaw’ (language ‘en’)
[2014-02-15 10:54:13] VERBOSE[5308][C-0000002a] file.c: – <SIP/sipgateUK1TR-00000038> Playing ‘digits/5.ulaw’ (language ‘en’)
[2014-02-15 10:54:14] VERBOSE[5308][C-0000002a] file.c: – <SIP/sipgateUK1TR-00000038> Playing ‘vm-isunavail.ulaw’ (language ‘en’)
[2014-02-15 10:54:15] VERBOSE[5308][C-0000002a] file.c: – <SIP/sipgateUK1TR-00000038> Playing ‘vm-intro.ulaw’ (language ‘en’)
[2014-02-15 10:54:20] VERBOSE[5308][C-0000002a] file.c: – <SIP/sipgateUK1TR-00000038> Playing ‘beep.ulaw’ (language ‘en’)
[2014-02-15 10:54:21] VERBOSE[5308][C-0000002a] app_voicemail.c: – Recording the message
[2014-02-15 10:54:21] VERBOSE[5308][C-0000002a] app.c: – x=0, open writing: /var/spool/asterisk/voicemail/default/705/tmp/iHiseV format: wav, 0x29782cc
[2014-02-15 10:54:21] VERBOSE[5308][C-0000002a] app.c: – x=1, open writing: /var/spool/asterisk/voicemail/default/705/tmp/iHiseV format: wav49, 0x2597d74
[2014-02-15 10:54:24] VERBOSE[5308][C-0000002a] app.c: – User ended message by pressing #
[2014-02-15 10:54:24] VERBOSE[5308][C-0000002a] file.c: – <SIP/sipgateUK1TR-00000038> Playing ‘auth-thankyou.ulaw’ (language ‘en’)
[2014-02-15 10:54:25] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] Goto(“SIP/sipgateUK1TR-00000038”, “exit-SUCCESS,1”) in new stack
[2014-02-15 10:54:25] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-vm,exit-SUCCESS,1)
[2014-02-15 10:54:25] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/sipgateUK1TR-00000038”, “0?exit-RETURN,1”) in new stack
[2014-02-15 10:54:25] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:2] Playback(“SIP/sipgateUK1TR-00000038”, “goodbye”) in new stack
[2014-02-15 10:54:25] VERBOSE[5308][C-0000002a] file.c: – <SIP/sipgateUK1TR-00000038> Playing ‘goodbye.ulaw’ (language ‘en’)
[2014-02-15 10:54:26] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] Hangup(“SIP/sipgateUK1TR-00000038”, “”) in new stack
[2014-02-15 10:54:26] VERBOSE[5308][C-0000002a] app_macro.c: == Spawn extension (macro-vm, exit-SUCCESS, 3) exited non-zero on ‘SIP/sipgateUK1TR-00000038’ in macro ‘vm’
[2014-02-15 10:54:26] VERBOSE[5308][C-0000002a] app_macro.c: == Spawn extension (macro-exten-vm, s, 14) exited non-zero on ‘SIP/sipgateUK1TR-00000038’ in macro ‘exten-vm’
[2014-02-15 10:54:26] VERBOSE[5308][C-0000002a] pbx.c: == Spawn extension (from-did-direct, 705, 2) exited non-zero on ‘SIP/sipgateUK1TR-00000038’
[2014-02-15 10:54:26] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] Macro(“SIP/sipgateUK1TR-00000038”, “hangupcall,”) in new stack
[2014-02-15 10:54:26] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/sipgateUK1TR-00000038”, “1?theend”) in new stack
[2014-02-15 10:54:26] VERBOSE[5308][C-0000002a] pbx.c: – Goto (macro-hangupcall,s,3)
[2014-02-15 10:54:26] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:3] ExecIf(“SIP/sipgateUK1TR-00000038”, “0?Set(CDR(recordingfile)=)”) in new stack
[2014-02-15 10:54:26] VERBOSE[5308][C-0000002a] pbx.c: – Executing [[email protected]:4] Hangup(“SIP/sipgateUK1TR-00000038”, “”) in new stack
[2014-02-15 10:54:26] VERBOSE[5308][C-0000002a] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/sipgateUK1TR-00000038’ in macro ‘hangupcall’
[2014-02-15 10:54:26] VERBOSE[5308][C-0000002a] pbx.c: == Spawn extension (from-did-direct, h, 1) exited non-zero on ‘SIP/sipgateUK1TR-00000038’

I’m watching this thread with anticipation.
I have the same set up as you dd-wrt and a raspberry pi.
I have the extensions working and outgoing calls, but i cannot get the incoming calls to work at all.
Work in progress :slight_smile:

Looks like you are using some type of custom extension, did you modify the dial field of the extension by accident?

How did you get a dahdi analog extension into your mix of hardware?

It is part of the IncrediblePBX distribution and was installed automatically. At the moment I have no idea what it does.

Hi and thanks for looking.

Not as far as I know. I have actually deleted all the extensions that I made originally and added them again using the standard Generic SIP device. I cannot see that I have modified the extension dialplan. I have only one extension at the moment. The only Dialplan I have is in the outbound routes.

Where could I have added a Dialplan to the extension. I cannot se the option to add an extension dialplan.

Andrew

Thanks. I am away on a short holiday now until Friday, but will pick up then. I would be interested to know how your extensions are set up please, just to ‘swap notes’?

Thanks

Here’s my freepbx system status

and a few more screenshots.
to be fair, theres not too much config involved

How are you getting on now. I still cannot receive incoming calls.

I worked it out. It was because I had inserted the DID number. Took it out and it worked. Have a great little system working now and having tuned the installation am really pleased with the results.

I have it all resolved now and works like a dream! I had incorrectly inserted the DID number in the box on the INBOUND route. After clearing that field, it just started working and I haven’t looked back.

BTW you seem to have alot of issues I note on the screenshots you sent above. Particularly with the Symlinks - that doesn’t look good. I suggest you uninstall the Dahdi module, or at least turn it off and see whether the symlinks clear up.

Best of luck