[Spce-user] Problems with peergroup server change and cdr display

Vladimir Grujic hyperbabac at gmail.com
Thu Jun 21 16:06:41 EDT 2012


That's a great news. I will pool the changes tomorrow and continue testing.
As for the messed calls I allready ditch them from the db.
On Jun 21, 2012 6:28 PM, "Andrew Pogrebennyk" <apogrebennyk at sipwise.com>
wrote:

> Vladimir,
>
> the fix has been pushed to the 2.5 repository, running 'apt-get update;
> apt-get upgrade' should give you the fixed package.
>
> The important part is that the top of your ROUTE_INVITE in
> proxy.cfg.customtt.tt2 should look like this:
>
>        if($var(from_pstn) == 1)
>        {
>                $avp(s:acc_caller_user) = $fU;
>                $avp(s:acc_caller_domain) = $avp(s:ip);
>        }
>        else if($avp(s:from_faxserver) != 1 && $var(cf_loop) != 1)
>        {
>                # if coming from CF loop, it's already passed by header
>                # for normal calls, set it using From
>                $avp(s:acc_caller_user) = $fU;
>                $avp(s:acc_caller_domain) = $fd;
>        }
>        if($var(cf_loop) != 1)
>        {
>                $(avp(s:acc_state)[*]) = "call";
>        }
>
>
> Then you can find and drop or fix the kamailio.acc record which are
> missing acc_state field. Select them:
> mysql kamailio -e 'select * from acc where src_leg like "%||133%" or
> src_leg like "%||134%"\G'
>
> So in order to fix those records where *second last* field in src_leg is
> empty you can put there "call" like "...|0|call|1334833583.482825".
>
> Thank you for the report.
>
> On 06/20/2012 09:13 PM, Andrew Pogrebennyk wrote:
> > Vladimir,
> > I'm setting myself a reminder to check this tomorrow.
> > Thank you for your patience.
> >
> > On 06/18/2012 08:25 PM, Vladimir Grujic wrote:
> >> I do, but i did a diff and changes I've made are very minor and do not
> >> touch routing logic (I've added couple of short numbers and forward them
> >> to asterisk for sam apps there)
> >>
> >> Vladimir
> >>
> >>
> >> On Mon, Jun 18, 2012 at 7:51 PM, Jon Bonilla <jbonilla at sipwise.com
> >> <mailto:jbonilla at sipwise.com>> wrote:
> >>
> >>     El Mon, 18 Jun 2012 18:34:37 +0200
> >>     Vladimir Grujic <hyperbabac at gmail.com <mailto:hyperbabac at gmail.com
> >>
> >>     escribió:
> >>
> >>     > It's latest and greatest 2.5.
> >>     >
> >>     > :)
> >>     >
> >>     > Vladimir
> >>     >
> >>     >
> >>
> >>     do you use customtt.tt2 files?
> >>
> >>
> >>     _______________________________________________
> >>     Spce-user mailing list
> >>     Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
> >>     http://lists.sipwise.com/listinfo/spce-user
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Spce-user mailing list
> >> Spce-user at lists.sipwise.com
> >> http://lists.sipwise.com/listinfo/spce-user
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20120621/1317c591/attachment.html>


More information about the Spce-user mailing list