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

No Inbound Route match on DID only when DID is set to ANY

$
0
0

@pijssel wrote:

Hi There,

I have 2 Inbound routes configured to match the exact number. But they won't work. Inbound routes will only match the 3rd Inbound route where I've set the DID to any.

This is what the raw INVITE looks like (sngrep output):
INVITE sip:s@213.X.X.X:5060;transport=UDP SIP/2.0
To: sip:31703596733@ 83.X.X.X

extensions_additional.conf that was generated by FreePBX:
[ext-did-0002]
include => ext-did-0002-custom
exten => fax,1,Goto(${CUT(FAX_DEST,^,1)},${CUT(FAX_DEST,^,2)},${CUT(FAX_DEST,^,3)})

exten => 31703596733,1,Set(__DIRECTION=INBOUND)
exten => 31703596733,n,Gosub(sub-record-check,s,1(in,${EXTEN},dontcare))
exten => 31703596733,n,Gosub(app-blacklist-check,s,1())
exten => 31703596733,n,Set(_FROMDID=${EXTEN})
exten => 31703596733,n,Set(CDR(did)=${FROM_DID})
exten => 31703596733,n,ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)}))
exten => 31703596733,n,Set(__MOHCLASS=)
exten => 31703596733,n,Ringing()
exten => 31703596733,n,Set(_REVERSALREJECT=FALSE)
exten => 31703596733,n,GotoIf($["${REVERSAL_REJECT}"!="TRUE"]?post-reverse-charge)
exten => 31703596733,n,GotoIf($["${CHANNEL(reversecharge)}"="1"]?macro-hangupcall)
exten => 31703596733,n(post-reverse-charge),Noop()
exten => 31703596733,n,Set(_CALLINGNAMEPRESSV=${CALLERID(name-pres)})
exten => 31703596733,n,Set(_CALLINGNUMPRESSV=${CALLERID(num-pres)})
exten => 31703596733,n,Set(CALLERID(name-pres)=allowed_not_screened)
exten => 31703596733,n,Set(CALLERID(num-pres)=allowed_not_screened)
exten => 31703596733,n(did-cid-hook),Noop(CallerID Entry Point)
exten => 31703596733,n,Macro(prepend-cid,KiteCare)
exten => 31703596733,n(dest-ext),Goto(timeconditions,2,1)

;--== end of [ext-did-0002] ==--;

Any idea what goes wrong?

Regards, Paul

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 12609

Trending Articles



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