[Spce-user] reminder calls
Skyler
skchopperguy at gmail.com
Thu Aug 25 19:31:07 EDT 2011
Hi,
On Thu, 2011-08-25 at 17:10 -0400, Jonathan Scott wrote:
> On 8/24/2011 4:37 PM, Skyler wrote:
> > If this were happening to me right now, the first thing I'd try is to
> > uncomment those 2 lines which fixed the caller-name. run ngcpcfg apply.
> > Then try a reminder call again to compare the ngrep's before/after.
> >
> > If you have the time ;)
> >
> > Skyler
> >
> >
> Had a chance today to test that again.
>
>
> Aug 25 17:05:02 sip /usr/sbin/kamailio[7880]: INFO: <script>: New
> request - M=INVITE R=sip:test__AT__sip.xatel.net at 127.0.0.1
> F=sip:reminder at voicebox.sipwise.local
> T=sip:test__AT__sip.xatel.net at 127.0.0.1 IP=127.0.0.1:5070
> (127.0.0.1:5060) ID=47c2ee2f4edcb12a10a7626332760101 at voicebox.sipwise.local
> Aug 25 17:05:02 sip /usr/sbin/kamailio[7880]: INFO: <script>: Proxy
> authentication failed, invalid user - M=INVITE
> R=sip:test__AT__sip.xatel.net at 127.0.0.1
> F=sip:reminder at voicebox.sipwise.local
> T=sip:test__AT__sip.xatel.net at 127.0.0.1 IP=127.0.0.1:5070
> (127.0.0.1:5060) ID=47c2ee2f4edcb12a10a7626332760101 at voicebox.sipwise.local
>
>
>
> Same thing, after reverting all changes that were made to those lines in
> proxy cfg.
>
>
Well that's good news ;)
Try this...
vi /etc/ngcp-config/templates/etc/asterisk/sip.conf.tt2
Add this to [sip_proxy]: port=[% kamailio.proxy.port %]
BUT, now the caller-name shows the reminder call as FROM "asterisk",
so..
vi /etc/ngcp-config/templates/etc/asterisk/proxy.cfg.tt2 or
proxy.cfg.customtt.tt2 if you are doing that
go to line 717 (xlog("L_INFO", "Replaced reminder uri and to - M=$rm R=
$ru F=$fu T=$tu IP=$avp(s:ip):$avp(s:port) ($si:$sp) ID=$ci\n");)
and add this below it: uac_replace_from("[% reminder.sip_fromuser %
]","");
save those and ngcpcfg apply. Works for me ;)
-Skyler
More information about the Spce-user
mailing list