Okay after a lot of help from selintra (thank you again), I now have a working in and out line with a Voipbuster account.
As I also have an other carrier (Budgetphone), and as it was not listed in the Carriers menu, I added it.
After adding the new carrier, and creating a new trunk (with the just created new carrier), the command:
asterisk -rx "sip show registry" shows that both carriers are registered
[root@files asterisk]# asterisk -rx "sip show registry"
Host Username Refresh State Reg.Time
sip.budgetphone.nl:5060 3130xxxxxxx@ 145 Registered Thu, 20 Mar 2008 18:02:50
sip.voipbuster.com:5060 xxxxxxxxx 145 Registered Thu, 20 Mar 2008 18:02:50
[root@files asterisk]#
(note that I've changed the xxxx for privacy)
I assigned the Voipbuster account to extension: 5000
I assigned the Budgetphone account to extension: 5001
Then in the Routes I assigned a route named call-5000, with as primary path the Voipbuster number
I also assigned a route name call-5001, with as primary path the Budgetphone number
Both routes have as route Dial Plans: _00X. _0X.
Problem now (last line)
When I call the Voipbuster number (from a none Voip phone), the extension 5000 rings, and I can use it (this is working fine)
When I call the Budgetphone number (from a none Voip phone), the extension 5001 rings, and I can use it (this is working fine)
When I make a call from extension 5000, it will use the Voipbuster account (this is also working fine)
When I make a call from extension 5001, it SHOULD use the Budgetphone , but DOES use the Voipbuster account (this is NOT working fine as it should use the Budgetphone carrier to make the call)
I'm sure it's got something to do with the routes, but again what?
Thank you for any help on this.