How to find , internal, external inbound or outbound

Home » Asterisk Users » How to find , internal, external inbound or outbound
Asterisk Users 6 Comments

Hi
Does anyone knows how to find out a call in a asterisk is external
incoming ,external out going or internal

Thanks
Nikhil

6 thoughts on - How to find , internal, external inbound or outbound

  • There’s no such concept in Asterisk. Everything is a call, doesn’t matter its direction.

    Atenciosamente,

    Vinícius Fontes
    Gerente de Segurança da Informação
    Canall Tecnologia em Comunicações
    Passo Fundo – RS – Brasil
    +55 54 2104-7000

    Information Security Manager
    Canall Tecnologia em Comunicações
    Passo Fundo – RS – Brazil
    +55 54 2104-7000

  • I HATE OUTLOOK

    _____

    reply please….

    _____

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Vinícius
    Fontes
    Sent: Friday, December 17, 2010 6:22 AM
    outbound

    There’s no such concept in Asterisk. Everything is a call, doesn’t matter
    its direction.

    Rant at the top, here’s my actual thoughts. Yes, Everything is a call, BUT…
    each call has an origin and at least one destination.

    If I do this:

    Exten => 1234,1,answer

    Exten => 1234,n,playback(tt-weasels)

    Exten => 1234,n,hangup

    This call doesn’t actually “go anywhere”, but it has an origin of the phone
    I dial 1234 from and a destination of a local channel to process the
    playback.

    If I add to my incoming context

    Exten => s,n,goto(default,1234,1)

    And call my Asterisk using a SIP or DAHDI trunk, the origin is that trunk,
    and destination is still a local channel.

    Now If I actually speak to someone, the destination will be the SIP or DAHDI
    channel that asterisk reaches them on.

    If you look in the CDR, the origin and destination fields will tell you
    which trunk each uses. By definition (mine, but it’s probably somebody
    else’s too), this is my answer to OP’s question

    Origin destination =

    Sip trunk SIP ext external incoming

    DAHDI trunk SIP ext external incoming

    SIP ext SIP trunk external out

    SIP ext DAHDI trunk external out

    SIP ext SIP ext internal

    Local channel = SIP ext

    There are smarter people than me that read this list; perhaps they will
    improve on this answer.

  • Hi,

    My system been attacked from someone I guess, kindly check the link below

    How can I stop the ircd attack

    http://pastebin.com/tbjh5qzP

    regards

    *********************************************
    No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates.

    This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.

    If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person.

    Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects.
    *********************************************