wsl
Joined: Fri 15 of Sep, 2006
Posted:Fri 15 of Sep, 2006 (11:55 UTC)
I had the same problem and got very little help from voice eclipse and finally figured it out on my own..heres what I got.
[general]
register => <SIPE1>:passwd@chi2-sr1-ha.starnetusa.net/<SIPE> ;first number
register => <SIPE2>:passwd@chi2-sr1-ha.starnetusa.net/<SIPE> ;second number

[voiceeclipse-<SIPE1>
context=incoming
type=friend
username=<SIPE1>
user=<SIPE1>
host=chi2-sr1-ha.starnetusa.net
fromuser=<SIPE1>
secret=passwd
nat=yes
insecure=very
disallow=all
;allow=g729
allow=ulaw

[voiceeclipse-<SIPE2>
context=incoming
type=friend
username=SIPE2
user=SIPE2
host=chi2-sr1-ha.starnetusa.net
fromuser=SIPE2
secret=passwd
nat=yes
insecure=very
disallow=all
;allow=g729
allow=ulaw

here is the extension config.
[incomming]
exten => <SIPE1>,1,do something
exten => <SIPE2>,1,do something


I also creating different dialing rules depending all the caller ID I wanted to send. I set to dial 9 for <SIPE1> and normal dialing for <SIPE2>