@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.Xextensions_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