[asterisk-users] Configuring Parallel SIP Trunks
James Lamanna
jlamanna at gmail.com
Tue Sep 1 19:44:57 CDT 2009
Hi,
I'm trying to configure 2 parallel sip trunks between 2 boxes.
However I seem to have the problem that when making a call from Box 2
to Box 1, it sometimes
says authentication failed because it is using the username of the other trunk.
Here's my configuration:
Box 1:
[dp-dp2]
type=peer
username=dp-dp2
secret=mysecret
qualify=yes
host=box.2.ip.address
context=from-internal
[e911-dp2]
context=from-pstn
host=box.2.ip.address
qualify=yes
secret=mysecret2
type=peer
username=e911-dp2
Box 2:
[dp-dp2]
host=box.1.ip.address
qualify=yes
type=peer
username=dp-dp2
secret=mysecret
context=from-pstn
[e911-dp2]
context=from-internal
host=box.1.ip.address
qualify=yes
secret=mysecret2
type=peer
username=e911-dp2
If I have both trunks up, I'll see in the log on Box 1, when calling
from Box 2 -> Box 1:
" username mismatch, have <e911-dp2>, digest has <dp-dp2>"
How can I get both to co-exist?
Thanks.
-- James
More information about the asterisk-users
mailing list