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

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to