Asterisk sip trunks specifing source address

Good morning at all and thanks for this interesting forum.

I want to ask you these two questions:

  1. I have 1 server (where is installed Asterisk 1.6.2) with primary ip and one second ip on the same interface;
    Is it possible to do sip trunks specifing source address?

  2. 1 server with 2 network cards with primary ip and one second ip on both cards:is it possible to listen only on 2 of 4 ip?

Waiting for reply, thanks in advance.

1&2. No. In that case, you should run two instances of Asterisk, one binding to each interface. The behavior of Asterisk is to bind to one address or all addresses, not a subset of addresses.