Hel with dial plan

I would like to implement dial plan for this scenario:

If anyone dials 911, it also needs to ring another extension and barge the call to that extension,and also need to record the call

I have tried something like this but i’m a noob at asterisk programming:

[dial1]
exten => 911,n,Set(SPYGROUP=test)
exten => 911,n,Set(CALLERID(all)=7752344565)
exten => 911,n,Dial(SIP/752344565@bandwidth-primary)
exten => 911,n,Hangup()
[dial2]
exten => _1001,1,ChanSpy(SIP/${EXTEN},b)

Is anyone willing to help me with this?

You don’t have a priority 1.

I think you need need originate and a conference bridge, and designing a system to do that is more than you can expect from peer support.

Lol is funny, I read this request on a freelance job website… I already accomplished this task. I used local channel, originate command() and Multiple Inheritance variable