Two Asterisk


#1

Hi all,

I have a server with asterisk 1.10 and a2billing 1.9.4 and all works fine ( Server A ). Now I want that Resellers having the same configuration, make their calls through Server A as a trunk.

We are testing with other server and same configuration as Server A ( we will call Server B ).

On Server B sip.conf I put the trunk

[TrunkServerA]
disallow=all
allow=xxxxxxx
type=peer
context=a2billing
.
.
username=xxxxxx
secret=xxxx
host=serverA
.
.

When I see the peers on Server A, don´t appears the Server B account registered.

Any idea ?.


#2

I didn’t think 1.10 was at production quality yet.

To register, you need either a register => line or to specify the contact address in the sip.conf entry.

However, if you have a static address, which I would have thought likely, there is no need to register.


#3

Yes, I dont t need to registry with username and password. If a put a wrong secret or username, the trunk connect anyway :

ServerB

Name/username Host Dyn Forcerport ACL Port Status Description Realtime
XXXXXXXXXXX XXXXXXXX 5060 OK (1 ms)

How can I see the stats of this connection on ServerA ?


#4

Well, my problem seems that is with A2Billing and the Dialplan and not with Asterisk.

Sorry.