Internal Call Record

Home » Asterisk Users » Internal Call Record
Asterisk Users 9 Comments

Hello

How can I record voice between internalities? I can record voice in incoming and outgoing calls, but I can’t make it between the internal. Would you support this?

Thanks.

9 thoughts on - Internal Call Record

  • Show us the parts of your dial plan which:

    a) work for recording incoming / outgoing calls

    b) do not work for recording internal calls

    then we might be able to give you a clue what’s wrong.

    Antony.


    There’s no such thing as bad weather – only the wrong clothes.

    – Billy Connolly

    Please reply to the list;
    please *don’t* CC me.

  • Hello

    For example: My phone number is 1000, the other’s number is 1001. These numbers are in the same PBX (asterisk). I want 1000, 1001 can call to record audio calls.

    Thanks.

  • Gokan,

    Since you’ve said that outside calls can be recorded, but not inside calls; Antony requested that you show us your dialplan code for recordings that work.  This will give us an idea of what might be going wrong when trying to record inside calls.

    It would also be helpful to see your console output when things are not working.

    Doug

  • Hello

    Mynum: 6001 , Othernum: 6002.

    I can record as follows. But I do not enter individual records for each internal required. I want to do it more smoothly with a Macro.

    Thanks.

    exten => _6001,1,NoOp()
    exten => _6001,n,MixMonitor(${UNIQUEID}.wav,ab)
    exten => _6001,n,Dial(SIP/6001,20)
    exten => _6001,n,StopMixMonitor()
    exten => _6001,n,Hangup()

  • So, are you saying that this is the part which does work?

    We need to see the part which doesn’t work as well, otherwise we have no idea what to suggest you change.

    Well, firstly, why are you using “_6001”? The leading underscore says “this is going to be a pattern match”, but you then follow with a specific number, not a pattern. You might as well write just “6001” without the underscore, which is clearer to you and more efficient for Asterisk.

    Note: You don’t need the StopMixMonitor() immediately preceding a Hangup() –
    it’s done automatically when the call ends.

    Do all your internal extensions start with “600” (or maybe “60”)?

    If so, have you tried the same dial plan but using “_600X” or “_60XX” as the extension match on every line (oh, and incidentally, you can say “same => n,”
    in place of “exten => _6000,n,” on every line after the first one – this saves some typing, and also makes things a lot simpler if you decide you need to change the basic pattern match at some time in the future).


    How does an Israeli man make tea? Hebrews it.

    Please reply to the list;
    please *don’t* CC me.

  • Hello

    The total number of internal medicine is 6000-6020. When I do 6XXX
    getting error. I did as follows. I think (*) there is a mistake I am doing.

    exten => 6XXX,1,NoOp()
    exten => 6XXX,n,MixMonitor(${UNIQUEID}.wav,ab)
    exten => 6XXX,n,Dial(SIP/${ARG2}/${ARG1},20) (*)
    exten => 6XXX,n,StopMixMonitor()
    exten => 6XXX,n,Hangup()

  • Yes.

    As I explained in my previous email, an underscore at the start of the extension means “this is going to be a pattern”.

    So, if you want to specify a single number, you don’t need to use the underscore – for example “6001”

    If you want to specify multiple numbers using pattern matching, then you do need the underscore – for example “_60XX”.

    “_60XX” will match any number between 6000 and 6099, which would be fine for your purposes.

    Regards,

    Antony.


    APL [is a language], in which you can write a program to simulate shuffling a deck of cards and then dealing them out to several players, in four characters, none of which appear on a standard keyboard.

    – David Given

    Please reply to the list;
    please *don’t* CC me.

  • Hi,

    Am Sonntag, den 10.03.2019, 12:46 +0300 schrieb Gokan Atmaca:
    “directmedia” in case of chan_sip).

    Using directmedia the media flows from end to end not running through asterisk. In this case recording doesn’t work.

    HTH,

    Karsten

  • I thought this worked the other way around:

    If you set directmedia, the media flows directly between endpoints, _unless_
    Asterisk has some function (such as recording, there are several others) which prevents this being possible, in which case the media continues to flow through Asterisk.

    In other words, you have to set directmedia to make it _possible_ for the media to bypass Asterisk, but that doesn’t mean that it necessarily _does_.

    Antony.


    It may not seem obvious, but (6 x 5 + 5) x 5 – 55 equals 5!

    Please reply to the list;
    please *don’t* CC me.