[Spce-user] SIP Peering cannot send SIP MESSAGE

Daniel Grotti dgrotti at sipwise.com
Mon Sep 22 08:12:30 EDT 2014


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.


Daniel






On 09/22/2014 12:37 PM, Marc Storck wrote:
> Good afternoon,
>
> In have created a SIP Peer with IP "1.2.3.4". This SIP peer now tries
> to send a SIP MESSAGE to a user on my system, but the SPCE (mr3.4.1)
> rejects the SIP MESSAGE with SIP 407 Proxy Authentication Required.
>
>   0.000000 1.2.3.4 -> 9.8.7.6 SIP 447 Request: MESSAGE
> sip:username at hostname.domain.example (text/plain)
>   0.001722 9.8.7.6 -> 1.2.3.4 SIP 373 Status: 100 Trying
>   0.002022 9.8.7.6 -> 1.2.3.4 SIP 528 Status: 407 Proxy Authentication
> Required
>
> I don’t even have a clue where to start looking in order to fix this.
> Can someone please point me in the right direction?
>
> Regards,
>
> Marc
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://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/20140922/2741f032/attachment-0001.html>


More information about the Spce-user mailing list