an accountcode :)

________________________________

From: Jason Moore [mailto:[email protected]]
Sent: Mon 8/24/2009 10:50 PM
To: Asterisk User Group
Subject: [on-asterisk] multiple accounts with one SIP provider?



Hi,

I've configured asterisk to use multiple SIP providers - but I'm 
having a tough time configuring multiple accounts with the same 
provider. Both accounts register fine, but no matter what context I 
use in dialing (SIP/one SIP/two) the calls are showing up in one of 
the accounts CDR.

Is this a problem when the hostname and port are the same?

 > sip show registry
Host                            Username           Refresh 
State            Reg.Time
did.voip.les.net:5060           19000              105 
Registered           Mon, 24 Aug 2009 22:40:05
did.voip.les.net:5060           14000              105 
Registered           Mon, 24 Aug 2009 22:40:05

The sip contexts are nothing special. Is there anything I'm missing to 
help asterisk differentiate the two accounts?

[one_peer]
type=friend
username=19000
host=did.voip.les.net
dtmfmode=auto
insecure=very
disallow=all
allow=ulaw
context=one-incoming

[two_peer]
type=friend
username=14000
host=did.voip.les.net
dtmfmode=auto
insecure=very
disallow=all
allow=ulaw
context=two-incoming

Regards,

:jason


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Reply via email to