How to route external calls

I,l be very happy to get a tip on this.

I,m just getting started with asterisk and is trying to make a test acount on my home computer.

I have in my sip conf, 2 voip acounts under general.

[general]
context = default ;
port=5060
bindaddr=0.0.0.0

register => 4566000201:ueanhjk@sip.server.com:5060
register => 4566000202:then3fre@sip.server.com:5060

I will try to route these to 2 diferent softphones. Anyone have a good idea how I can do this?
What I mean is how can I connect each of thees number to their own dialplan.

kritro :smile:

You have to define a peer for your provider in sip.conf, in the peer’s definition you have to define the context for the incoming calls, then in extensions.conf add the context defined, in this context define one extension per number where you dial the softphone.

Cheers.

Marco Bruni