Hi Bogdan,
I never even thought to try that, thanks for the pointer! When I was
looking at the docs I never even thought to try the reply code as the
first param, whoops!
Thanks for the help
On Mon, 2010-04-26 at 14:33 +0300, Bogdan-Andrei Iancu wrote:
> Hi Brad,
>
> for acc_db_request(), if you put in the first param a reply code, you
> will get the code in DB record ->
>
> acc_log_request("503 Server Failure", "acc");
>
> Regards,
> Bogdan
>
> Brad Bendy wrote:
> > Hi List,
> >
> > Im trying to see if acc can save replies that are user generated, for
> > example if we send a 503 downstream for a trunkgroup not being active.
> > acc_db_request will let me put a sip_reason in whatever table I specify
> > but not a sip_code, is that just the way it works?
> >
> >
> > Is this possible somehow? Ive looked over the docs several time and I
> > see no way to write a custom entry with a response code as well as
> > message.
> >
> > Thanks for any help or suggestions.
> >
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > [email protected]
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users