Hello ,
In Asterisk define the sip peers in both sides to use IP without user name and pass
In server B define : [serverA] type=friend host= IP_A .. . . .
In server A define : [serverB] type=friend host= IP_B context= from_B accountcode= ?? .. . . .
Both asterisks should now see each other,, In Server A, define the from_B contect to call A2Billing And define the account code to the value of one of the accounts in A2Billing dB
Now all calls coming from server B will be billed in server A to that account.
Hope this helps
|