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?

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to