Configuration elastix with frecconet.pl

Discussion in 'General' started by elmod, Jul 4, 2010.

  1. elmod

    Joined:
    Jul 2, 2010
    Messages:
    1
    Likes Received:
    0
    hello

    I have big problems with trunk configuration.

    That i have from my provider:
    Asterisk config.

    sip.conf
    [general]
    context=default
    bindport=5060
    srvlookup=yes
    defaultexpiry=60
    allowguest=no
    dtmfmode = rfc2833
    nat=yes

    if asterisk is behind NAT

    defaultexpiry=60
    localnet=192.168.1.0/255.255.255.0
    externip=my_public_addrees

    register

    register => USER:pASS@sip.freeconet.pl/przychodzace1 (przychodzace1 look at extensions.conf)


    [freeconet-out]
    type=peer
    username=USER
    secret=PASS
    fromdomain=sip.freeconet.pl
    context=freeconet
    host=sip.freeconet.pl
    port=5060
    outboundproxy=sip.freeconet.pl
    outboundproxyport=5060
    insecure=no

    [freeconet-in1]
    type=peer
    fromdomain=sip.freeconet.pl
    port=5060
    context=freeconet
    host=213.218.116.65
    insecure=no

    [freeconet-in2]
    type=peer
    fromdomain=sip.freeconet.pl
    port=5060
    context=freeconet
    host=213.218.116.66
    insecure=no

    [phone1]
    context=freeconet
    type=friend
    username=some_thing_USER
    secret=PASS
    callerid="Kowalski Jan" <100>
    host=dynamic
    nat=yes
    accountcode=Kowalscy
    allow=all

    extensions.conf

    [default]
    exten => _.,1,Hangup
    [freeconet]
    exten => t,1,Hangup
    exten => h,1,Hangup
    exten => _X.,1,SIPAddHeader(X-Fid: ${SIPCALLID})
    exten => _X.,2,Dial(sip/${EXTEN}@freeconet-out)
    exten => przychodzace1,1,Dial(SIP/phone1,45,Tt)


    I don't have any help from that provider they are saying Elastix is not good for voip.

    Can somebody help ?

    What I must put in trunk settings ?
     
  2. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    What is the issue? Give a complete description of the issue. As well, attach the CLI's output (asterisk -r) during the issues.
     

Share This Page