Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12600

Accepting call from number to 's' Error

$
0
0

@travick wrote:

Hi Friends,

I have an ISO install of
Asterisk 13.9.1
freepbx-13.0.127

I have installed a Sangoma PRI CARD with 1 port to PRI Line and another port connects to a Legacy PBX.

I can successfully make inbound calls from PSTN to PBX but
when a call is placed from PBX to the PSTN

Following appears in asterisk and the number or numeric digits do not appear.

-- Accepting call from '4466446644' to 's' on channel 0/31, span 3
    -- Executing [s@from-digital:1] ExecIf("DAHDI/i3/4466446644-38", "1?Set(__FROM_DID=s)") in new stack
    -- Executing [s@from-digital:2] Gosub("DAHDI/i3/4466446644-38", "sub-record-check,s,1(in,s,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("DAHDI/i3/4466446644-38", "0?initialized") in new stack
    -- Executing [s@sub-record-check:2] Set("DAHDI/i3/4466446644-38", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:3] Set("DAHDI/i3/4466446644-38", "NOW=1490088767") in new stack
    -- Executing [s@sub-record-check:4] Set("DAHDI/i3/4466446644-38", "__DAY=21") in new stack
    -- Executing [s@sub-record-check:5] Set("DAHDI/i3/4466446644-38", "__MONTH=03") in new stack
    -- Executing [s@sub-record-check:6] Set("DAHDI/i3/4466446644-38", "__YEAR=2017") in new stack
    -- Executing [s@sub-record-check:7] Set("DAHDI/i3/4466446644-38", "__TIMESTR=20170321-150247") in new stack
    -- Executing [s@sub-record-check:8] Set("DAHDI/i3/4466446644-38", "__FROMEXTEN=unknown") in new stack
    -- Executing [s@sub-record-check:9] Set("DAHDI/i3/4466446644-38", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:10] NoOp("DAHDI/i3/4466446644-38", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("DAHDI/i3/4466446644-38", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("DAHDI/i3/4466446644-38", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("DAHDI/i3/4466446644-38", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("DAHDI/i3/4466446644-38", "2?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("DAHDI/i3/4466446644-38", "1?sub-record-check,in,1") in new stack
    -- Goto (sub-record-check,in,1)
    -- Executing [in@sub-record-check:1] NoOp("DAHDI/i3/4466446644-38", "Inbound Recording Check to s") in new stack
    -- Executing [in@sub-record-check:2] Set("DAHDI/i3/4466446644-38", "FROMEXTEN=unknown") in new stack
    -- Executing [in@sub-record-check:3] ExecIf("DAHDI/i3/4466446644-38", "10?Set(FROMEXTEN=4466446644)") in new stack
    -- Executing [in@sub-record-check:4] Gosub("DAHDI/i3/4466446644-38", "recordcheck,1(dontcare,in,s)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/i3/4466446644-38", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("DAHDI/i3/4466446644-38", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("DAHDI/i3/4466446644-38", "") in new stack
    -- Executing [in@sub-record-check:5] Return("DAHDI/i3/4466446644-38", "") in new stack
    -- Executing [s@from-digital:3] Gosub("DAHDI/i3/4466446644-38", "app-blacklist-check,s,1()") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/i3/4466446644-38", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("DAHDI/i3/4466446644-38", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("DAHDI/i3/4466446644-38", "") in new stack
    -- Executing [s@from-digital:4] Set("DAHDI/i3/4466446644-38", "CDR(did)=s") in new stack
    -- Executing [s@from-digital:5] ExecIf("DAHDI/i3/4466446644-38", "1 ?Set(CALLERID(name)=4466446644)") in new stack
    -- Executing [s@from-digital:6] Set("DAHDI/i3/4466446644-38", "__MOHCLASS=") in new stack
    -- Executing [s@from-digital:7] Set("DAHDI/i3/4466446644-38", "__REVERSAL_REJECT=FALSE") in new stack
    -- Executing [s@from-digital:8] GotoIf("DAHDI/i3/4466446644-38", "1?post-reverse-charge") in new stack
    -- Goto (from-digital,s,10)
    -- Executing [s@from-digital:10] NoOp("DAHDI/i3/4466446644-38", "") in new stack
    -- Executing [s@from-digital:11] Set("DAHDI/i3/4466446644-38", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@from-digital:12] Set("DAHDI/i3/4466446644-38", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@from-digital:13] Set("DAHDI/i3/4466446644-38", "CALLERID(name-pres)=allowed_not_screened") in new stack
    -- Executing [s@from-digital:14] Set("DAHDI/i3/4466446644-38", "CALLERID(num-pres)=allowed_not_screened") in new stack
    -- Executing [s@from-digital:15] NoOp("DAHDI/i3/4466446644-38", "CallerID Entry Point") in new stack
    -- Executing [s@from-digital:16] Goto("DAHDI/i3/4466446644-38", "ext-trunk,1,1") in new stack
    -- Goto (ext-trunk,1,1)
    -- Executing [1@ext-trunk:1] Set("DAHDI/i3/4466446644-38", "TDIAL_STRING=DAHDI/r0") in new stack
    -- Executing [1@ext-trunk:2] Set("DAHDI/i3/4466446644-38", "DIAL_TRUNK=1") in new stack
    -- Executing [1@ext-trunk:3] Goto("DAHDI/i3/4466446644-38", "ext-trunk,tdial,1") in new stack
    -- Goto (ext-trunk,tdial,1)
    -- Executing [tdial@ext-trunk:1] Set("DAHDI/i3/4466446644-38", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [tdial@ext-trunk:2] GotoIf("DAHDI/i3/4466446644-38", "1?nomax") in new stack
    -- Goto (ext-trunk,tdial,4)
    -- Executing [tdial@ext-trunk:4] ExecIf("DAHDI/i3/4466446644-38", "1?Set(CALLERPRES(name-pres)=allowed_not_screened)") in new stack
    -- Executing [tdial@ext-trunk:5] ExecIf("DAHDI/i3/4466446644-38", "1?Set(CALLERPRES(num-pres)=allowed_not_screened)") in new stack
    -- Executing [tdial@ext-trunk:6] Set("DAHDI/i3/4466446644-38", "DIAL_NUMBER=s") in new stack
    -- Executing [tdial@ext-trunk:7] GosubIf("DAHDI/i3/4466446644-38", "1?sub-flp-1,s,1()") in new stack
    -- Executing [s@sub-flp-1:1] ExecIf("DAHDI/i3/4466446644-38", "0?Return()") in new stack
    -- Executing [s@sub-flp-1:2] Return("DAHDI/i3/4466446644-38", "") in new stack
    -- Executing [tdial@ext-trunk:8] Set("DAHDI/i3/4466446644-38", "OUTNUM=s") in new stack
    -- Executing [tdial@ext-trunk:9] Set("DAHDI/i3/4466446644-38", "DIAL_TRUNK_OPTIONS=T") in new stack
    -- Executing [tdial@ext-trunk:10] Dial("DAHDI/i3/4466446644-38", "DAHDI/r0/s,300,T") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
[2017-03-21 15:02:47] WARNING[11972][C-00000037]: sig_pri.c:8112 sig_pri_call: Unrecognized pridialplan NPI modifier: s
    -- Called DAHDI/r0/s
    -- Span 1: Channel 0/1 got hangup request, cause 28
    -- Hungup 'DAHDI/i1/-b'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [tdial@ext-trunk:11] Set("DAHDI/i3/4466446644-38", "CALLERID(number)=4466446644") in new stack
    -- Executing [tdial@ext-trunk:12] Set("DAHDI/i3/4466446644-38", "CALLERID(name)=4466446644") in new stack
    -- Executing [tdial@ext-trunk:13] Hangup("DAHDI/i3/4466446644-38", "") in new stack
  == Spawn extension (ext-trunk, tdial, 13) exited non-zero on 'DAHDI/i3/4466446644-38'
    -- Hungup 'DAHDI/i3/4466446644-38'

Am I missing something bcos I have used the same rule matching for inbound rules to and from the Dahd trunk?

Apart from that Dahdi net and cpe settings are also in order and everything else that I can think of.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 12600

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>