Hello,
I have setup the latest stable release of a2billing on my asterisk 11.x server running freepbx. and using asterisk realtime.
I have 1 outgoing trunk and route in freepbx. I have created a user in a2billing, and a SIP config for it, the corresponding sip config is setup as a trunk on a 2nd asterisk server.
username=10-digit-random-number
type=friend
secret=random-secret
host=pbx.server1.com
;fromuser=10-digit-random-number (same as username=)
context=a2billing ; change for proper context
allow=g729 ; we support ulaw,alaw,ilbc,gsm,g723.1,g726,g729a
trustrpid=yes
sendrpid=yes
canreinvite=no
also the registration string is set there.
when i run "sip show registry" on the 2nd asterisk server and "sip show peers" the followin information is shown;
Host dnsmgr Username Refresh State Reg.Time
pbx.server.1com:5060 N the-10-digit-number 105 Registered Sat, 13 Jun 2015 01:44:55
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
TRUNKNAME/the-10-digit-number IP-OF-A2BILLING-INSTALLATION No No 5060 Unmonitored
--- this user can make outgoing calls without any problems. however it is not shown on the a2billing server when i run "sip show peers" or "sip show registry".
I have also a catchALL did incoming route on freepbx _44X. and a DID assigned to this customer in a2billing, when i set the destination to a telephone number it has no problem dialling it...
but f I try anything else like
[email protected] or SIP/10digitnumber or SIP/10digitnumber/DID nothing is happening...
Any Ideas?