Ujjval Karihaloo
2010-Oct-04 18:32 UTC
[asterisk-users] Registering Multiple Trunks to Service Provider
We have multiple entries like the one below in our users.conf file... where the
username. Contact and secret changes for different customers and we register on
their behalf to the Service Provider.
For the trunk below: when the call is placed out, Asterisk (1.4.18) sends the
username of "abc.com" in the MD5 Auth .....which obviously does not
match the trunk setup for this Customer with our Service Provider (username
below is 3035551122)
I don't see anywhere any config file the username = abc.com ....where could
the asterisk be picking it up from?
We have more than 10 such entries (all with same host = provider.sip.com value)
and when as INVITE is challenged, the Asterisk does match the correct trunk and
seems to send out correct Auth credentials...but not the one below..
[trunk_1]
;register to SP
allow = ulaw
;context = test
dialformat = ${EXTEN:1}
canreinvite = no
hasexten = no
hasiax = no
hassip = yes
host = provider.sip.com
insecure = very
port = 5060
registeriax = no
registersip = yes
trunkname = test
trunkstyle = customvoip
username = 3035551122
disallow = gsm,g726,alaw
contact = 3035551122
secret = xxxxx
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20101004/f00522ad/attachment.htm
Ujjval Karihaloo
2010-Oct-05 15:17 UTC
[asterisk-users] Registering Multiple Trunks to Service Provider
Any pointers on this one?
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces
at lists.digium.com] On Behalf Of Ujjval Karihaloo
Sent: Monday, October 04, 2010 12:33 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Registering Multiple Trunks to Service Provider
We have multiple entries like the one below in our users.conf file... where the
username. Contact and secret changes for different customers and we register on
their behalf to the Service Provider.
For the trunk below: when the call is placed out, Asterisk (1.4.18) sends the
username of "abc.com" in the MD5 Auth .....which obviously does not
match the trunk setup for this Customer with our Service Provider (username
below is 3035551122)
I don't see anywhere any config file the username = abc.com ....where could
the asterisk be picking it up from?
We have more than 10 such entries (all with same host = provider.sip.com value)
and when as INVITE is challenged, the Asterisk does match the correct trunk and
seems to send out correct Auth credentials...but not the one below..
[trunk_1]
;register to SP
allow = ulaw
;context = test
dialformat = ${EXTEN:1}
canreinvite = no
hasexten = no
hasiax = no
hassip = yes
host = provider.sip.com
insecure = very
port = 5060
registeriax = no
registersip = yes
trunkname = test
trunkstyle = customvoip
username = 3035551122
disallow = gsm,g726,alaw
contact = 3035551122
secret = xxxxx
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20101005/eb2aaae0/attachment.htm