Quote:
in my sip_additional.conf i put
[calling221]
type=peer
host=192.168.10.38 (ip of my ata)
canreinvite=no
qualify=yes
deny=0.0.0.0/0.0.0.0
context=a2billing
accountcode=123456
1. use the deny and permit pair especially if you are not going to use username/secret
2. set the host=dynamic unless you are 100% sure the host address in not going to change
make sure on your ATA side the username is "calling221" it has to find the proper context to connect to and the "proxy" has the server's address
Since you ATA is connecting to the server set "type=friend" not peer. peer is for when you are calling out "user" is for calling in "friend" covers both
Check you 'context" and make sure that 'a2billing" does exist in the extensions.conf
In your trixbox cli or in your SSH do "sip show peers" so that you can see if the ATA is registered with the server