a2billing iax friend

Discussion in 'General' started by meetmeat00, Dec 10, 2008.

  1. meetmeat00

    Joined:
    Dec 4, 2008
    Messages:
    6
    Likes Received:
    0
    Hi i'm new to a2billing and elastix and i figured out that he easiest way for testing a2billing is to create a iax friend and use the web phone on my customer GUI to make a test call

    i'm using elastix 1.3-2 and Asterisk2Billing Version 1.3.0

    So I made the following :

    I created a provider , added my trunk , created a call plan , a ratecard and rates.
    I created a customer , and when i created iax friend for that card number i only added the port number 4569 and left the other options blank.do i need to configure anytheing else?


    then i loged in to the customer GUI where the SIP/IAX Info tab told me to copy and paste the following lines in to my iax.conf

    [call-labs]
    username=2270488358
    type=friend
    secret=952935
    host=call-labs.com
    disallow=all
    context=from-trunk ; change for proper context
    allow=g729 ; we support ulaw,alaw,ilbc,gsm,g723.1,g726,g729a
    canreinvite = no

    i didn't do the copy-paste because creating iax friend autogenerated the following lines in to additional_a2billing_iax.conf

    [2270488358]
    type=friend
    username=2270488358
    accountcode=2270488358
    amaflags=billing
    secret=952935
    nat=yes
    dtmfmode=RFC2833
    qualify=yes
    canreinvite=yes
    disallow=all
    allow=ulaw
    allow=alaw
    allow=gsm
    allow=g729
    host=dynamic
    context=a2billing

    i also included this file in to iax.conf with the line

    #incude additional_a2billing_iax.conf

    i then tried to use the web-phone , but when i dial anything i get a constant ticking.

    Can anyone help me by giving me some directions?
    Thank you
     

Share This Page