Monitoring calls

General discussions about Asterisk.

Moderators: Moderator, Support

Monitoring calls

Postby johnyquest » Wed Dec 02, 2015 3:03 am

Hi everyone,
i have an issue. I would like to monitor calls from outbound of my Asterisk. For example if someone call me from a mobile phone, or from another company, I would like to monitor this calls. Or monitoring calls, that callerID start with for example with 7XX or 23XX.
Can someone give me an advice how to do that? Now I am able to monitor all calls only on specific extentions thanks command Monitor().

exten => 1122,1,Answer()
exten => 1122,n,Ringing
exten => 1122,n,Wait(3)
exten => 1122,n,Monitor(wav,${STRFTIME(EPOCH,,%Y%m%d-%H:%M:%S)} Call_on_1122_z_${CALLERID(all)},m)
exten => 1122,n,Dial(SIP/1122)
exten => 1122,n,HangUp

Posts: 1
Joined: Wed Dec 02, 2015 2:45 am

Re: Monitoring calls

Postby david55 » Wed Dec 02, 2015 3:05 pm

Google asterisk ex-girlfriend logic. Also note that you can use s or n-1 for the priority.

PS This is the wrong forum for support questions, like this.
Moves Like Spencer
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Monitoring calls

Postby ambiorixg12 » Wed Dec 02, 2015 9:36 pm

Beside of the asterisk ex-girlfriend logic would be also more practical if do a Gobsub()
Posts: 967
Joined: Sun Mar 04, 2007 9:32 pm
Location: Dominican Republic

Return to Asterisk General

Who is online

Users browsing this forum: No registered users and 1 guest