[Spce-user] Problems with peergroup server change and cdr display
Vladimir Grujic
hyperbabac at gmail.com
Fri Jun 22 05:07:52 EDT 2012
New config is working great. Even the subscriber is billed for that
outbound call i made for him. But there is a more important question: When
some changes are applied to the system (for example asterisk or kamailio )
the ngcpcfg script restarts the service thus killing all active
connections. Is it avoidable? (for example instruct asterisk to do reload
of the changed module sip/dialplan and kamailio also). When i applied new
config everything worked except i could not hear the callee and he did not
hear me. I had to reboot the switch to make it work again.
Vladimir
On Thu, Jun 21, 2012 at 10:06 PM, Vladimir Grujic <hyperbabac at gmail.com>wrote:
> 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/pipermail/spce-user_lists.sipwise.com/attachments/20120622/e0a5ddd3/attachment-0001.html>
More information about the Spce-user
mailing list