Custom dialplan is not recording any calls

Hi all,

I need a little help here with my dialplan.

I am passing some dtmf in my code and those calls are not recorded. I want them to be recorded as well.

example of code shown below:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Entering Dialplan Direct Dialing ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

exten => 221,1,Set(CALLERID(num)=123456789)
exten => 221,n,NoOp(I am in Quick Dialing)
exten => 221,n,Dial(SIP/SIPROUTES/987654321,20,M(221))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Entering Macro of Direct Dialing ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[macro-221]
exten => s,1,Answer()
exten => s,n,Wait(1)
exten => s,n,SendDTMF(221)
exten => s,n,Wait(1)

I want to record these dialcodes. when someone dial these dialcodes they will be recorded as the other calls are recorded.

And also one question can I use outbound route in place of my carrier (SIPROUTES) in this dialplan?

You want to dial using your outbound routes, so the Dial line would look like:

exten => 221,n,Dial(local/[email protected],20,M(221))

and it will record the call also ?

It will if you enable recording in your outbound route(s).

ok I will give it a try…

hey call works from internal dialplan like first it dials extension 221 and then it dials the number passing the dtmf but not recording the call still.

anything else that I can try.

I want to record these calls.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.