Two problems PENDING

Discussion in 'General' started by telecomtechnician, Apr 23, 2010.

  1. telecomtechnician

    Joined:
    Jan 8, 2008
    Messages:
    422
    Likes Received:
    0
    Hi elastix community

    1) In a previous post I mentioned a problem related to the AGENDA feature that is not working. I cannot upload a recording and of course cannot create an event. When I try to save a recording, it sends me a message about ¨Permission Denied to create the audio file¨

    2)When in the PBX tab, menu network, I put the host as mydomain.com, I do not have audio between a local and remote extension, but the email feature (and relay)works perfect.
    When I change the host, to the internal IP of the LAN where the elastix server is connected, I do have local and remote audio on extensions but I do not have the email feature working.

    Has this problem happen to somebody else? I would appreciate your feedback.

    Waiting for your comments

    David Medina
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    If use you mydomain.com, you should probably have

    externhost=mydomain.com,

    in your sip nat config (not externip) but mydomain.com must be resolvable from the internet to your box (i.e. the same address as externip).

    if you use an internal ip then you will need to setup postfix to accept and translate mail originating from that ip.

    dicko
     
  3. telecomtechnician

    Joined:
    Jan 8, 2008
    Messages:
    422
    Likes Received:
    0
    Hi Dicko, thanks for the tip.

    Can you give me some help on how to work with postfix? I do not have any idea on how to work with it.

    Any suugestion about the Agenda feature?

    Thanks and waiting for your help

    David Medina
     
  4. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Webmin has an nice and easy gui wrapper around most of postfix. man postfix for "the horses mouth" (and of course the well self documented /etc/postfix/main.cf )

    I'm sorry I can't help you with agenda, personally I never understood it's practical value.

    dicko
     
  5. Siu

    Siu

    Joined:
    Jan 15, 2010
    Messages:
    30
    Likes Received:
    0
    1. Recording file, you can use WinSCP copy into PBX.
    2. host.yourDomain.com, do not missing host.
    3. postfix here are example
    1.
    Create SSL
    Login to root
    mkdir /etc/postfix/gmail
    cd /etc/postfix//gmail
    openssl genrsa -out gmail.key 1024
    openssl req -new -key gmail.key -x509 -out gmail.crt

    2.
    create Gmail account connection
    vi /etc/postfix/saslpasswd
    mail.gmail.com yourname@gmail.com:your_email_password
    postmap hash:/etc/postfix/saslpasswd
    chmod 600 /etc/postfix/saslpasswd /etc/postfix/saslpasswd.db

    3.
    Modify main.cf
    vi /etc/postfix/main.cf

    relayhost = [smtp.gmail.com]:587

    smtp_sasl_auth_enable=yes
    smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
    smtp_use_tls = yes
    smtp_sasl_security_options = noanonymous
    smtp_sasl_tls_security_options = noanonymous
    smtp_tks_note_starttls_offer = yes
    tls_random_source = dev:/dev/urandom
    smtp_tls_scert_verifydepth = 5
    smtp_tls_key_file=/etc/postfix/gmail/gmailkey
    smtp_tls_cert_file=/etc/postfix/gmail/gmail.crt
    smtpd_tls_ask_ccert = yes
    smtpd_tls_req_ccert =no
    smtp_tls_enforce_peername = no

    4.
    reload Postfix
    service postfix reload
     

Share This Page