[Spce-user] SIP Peering cannot send SIP MESSAGE

Daniel Grotti dgrotti at sipwise.com
Wed Sep 24 08:52:38 EDT 2014


Hi,
can you share the kamailio-proxy.log ?
Before test it, please run: ngcp-kamctl proxy fifo debug 2
After the test, you can restore the debug to 1.

Thanks,
Daniel



On 09/22/2014 04:05 PM, Marc Storck wrote:
> On Sep 22, 2014, at 2:12 PM, Daniel Grotti <dgrotti at sipwise.com> wrote:
>
> Hi,
> SPCE is not rejecting, just asking authentication.
> If you want to change the behavior you should hack the following part
> in
> /etc/ngcp-config/templates/etc/kamailio/proxy/impresence.cfg.customtt.tt2
>
>         # MESSAGE that did not associated with dialog, need AUTH
>         # SUBSCRIBE/NOTIFY/PUBLISH need AUTH
>         # unless it's a PUBLISH from PUA or SUBSCRIBE from sems
> reginfo-client / PUBLISH from sems-pbx
>         if(! (([% FOREACH ip IN sip_int_ips -%]$si == "[% ip %]"[% IF
> sip_int_ips.last != ip -%] || [% END -%][% END -%]) &&
>              ($sp == "[% kamailio.proxy.port %]" || $sp == "[%
> sems.bindport %]" || $sp == "[% pbx.bindport %]")) )
>         {
>                 route(ROUTE_AUTH);
>         }
>
> cause by default MESSAGE that did not associated with dialog needs AUTH.
> You can skip Auth the part by adding  ' || $si="1.2.3.4" ' at the end.
>
>
> I now have
>
>         if(! (($si == "127.0.0.1") &&
>              ($sp == "5062" || $sp == "5080" || $sp == "")) ||
> $si==“1.2.3.4" )
>
> But SPCE still requires authentication.
>
> Marc Storck
>
>




More information about the Spce-user mailing list