[Asterisk-Users] accountcode problem

Mike Machado mike at homelandtel.com
Thu Jul 15 17:21:36 MST 2004


I am trying to set the account code for outbount calls from a sip
"friend", but its not working. I have this in my sip.conf:

[user1]
type=friend
host=dynamic
secret=test123
context=from-sip-int
accountcode=user1

The SIP from: is not "user1" because we allow them to specify their own
ANI out our trunks (they are CLEC). Is because the from: not matching
the user entry here, it does not which user and therefore does not put
the accountcode in the CDR?


When I map extensions to this SIP user, the account code is set fine,
but I need the account code on outbound calls from this user as well.
Thoughts?




More information about the asterisk-users mailing list