[Spce-user] Upper Registrar - partly working
Daniel Grotti
dgrotti at sipwise.com
Wed Feb 13 09:04:56 EST 2013
Hi,
here you can find and example of upper registration with asterisk:
https://www.sipwise.com/news/technical/byov-system-spce-as-sbc/
Maybe could be useful for you.
Daniel
On 02/13/2013 02:50 PM, African Axess African Axess wrote:
> Hi
>
> I had assumed that none of that is necessary as it's done as an upper
> registrar - clearly I was wrong which is quite a regular occurrence
> :-) so nothing new there.
>
> I am a little confused, coming from an asterisk background, on this.
> The SIP URI is testing at domain.blah which passes the registration to
> 410 at asterisk. I do not have an E.164 number configured for that as
> it's an extension number? I get that I am getting that wrong, but
> don't follow as to how to make it understand that 410 is
> testing at domain.blah (and I do have the handbook here in front of me).
>
> On Wed, Feb 13, 2013 at 3:42 PM, Daniel Grotti <dgrotti at sipwise.com
> <mailto:dgrotti at sipwise.com>> wrote:
>
> Hi,
>
> 'Callee is not local' means that 410 is not a local subscriber.
> What is the SIP URI of this subscriber ? and what is its E.164
> number you have configured?
>
> Daniel
>
>
>
>
>
>
> On 02/13/2013 02:33 PM, African Axess African Axess wrote:
>> Ah - no, I didn't do that. I have added the asterisk box as a sip
>> peer and that seems to have taken care of the authentication
>> issue. Now the proxy log shows the following.
>>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Call from PSTN -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Load peer preferences for peer host '4' -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Load dialplan IDs for peer host '4' -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Fetched dialplan IDs caller_in='<null>', callee_in='<null>' -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Dialog set mark total -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Dialog set mark peer to '4' -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> IP authorization for caller not provisioned, allow call -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> User-Provided CLI '412' taken from From-User -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Network-Provided CLI '412' taken from From-User -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Setting '412 at 196.41.124.44 <mailto:412 at 196.41.124.44>' as
>> initiating user-provided CLI -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Setting '412 at 196.41.124.44 <mailto:412 at 196.41.124.44>' as
>> initiating network-provided CLI -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Searching for callee -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Clear callee preferences -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Callee is not local -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Check Administrative NCOS level -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Check User NCOS level -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Checking URI '410 at 196.41.123.113 <mailto:410 at 196.41.123.113>' and
>> CLI '410' against block out lists -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Admin caller block mode is 'open' -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Caller block mode is 'open' -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Call to unknown user -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Accounting failed request for uuid '0' -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Setting acc source-leg for uuid '0':
>> '0|412|196.41.124.44|412|||<null>|||0|call|<null>|1360762109.002407'
>> -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2140]: INFO: <script>:
>> Setting acc destination-leg for uuid '0':
>> '0|||<null>|410|0|410|196.41.123.113|410|196.41.123.113' -
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> ID=0e1a56675252333336a766f30307c35e at 196.41.124.44:5060
>> <http://0e1a56675252333336a766f30307c35e@196.41.124.44:5060>
>> Feb 13 15:28:29 sipwise /usr/sbin/kamailio[2141]: INFO: <script>:
>> New request - M=ACK
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> F=sip:412 at 196.41.124.44 <mailto:sip%3A412 at 196.41.124.44>
>> T=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:T=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> IP=196.41.124.44:5060 <http://196.41.124.44:5060> (127.0.0.1:5060
>> <http://127.0.0.1:5060>) ID=0e1a5667525233
>>
>> On Wed, Feb 13, 2013 at 3:18 PM, Jon Bonilla
>> <jbonilla at sipwise.com <mailto:jbonilla at sipwise.com>> wrote:
>>
>> El Wed, 13 Feb 2013 15:07:42 +0200
>> African Axess African Axess <axessofficetheo at gmail.com
>> <mailto:axessofficetheo at gmail.com>> escribió:
>>
>> > Hi
>> >
>> > Yes, both are registered - calls from TO the one directly
>> registered to
>> > asterisk work.
>> >
>> > From the proxy log:
>> >
>> > NFO: <script>: Authentication failed, no credentials -
>> >
>> R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123
>> <mailto:R=sip:410 at 196.41.123.113:5060;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>
>> > ID=2b30b57016c4b5ed1883006563fe9674 at 196.xx.xx.xx:5060
>> <mailto:ID=2b30b57016c4b5ed1883006563fe9674 at 196.xx.xx.xx:5060>
>> >
>> > and from ngrep-sip a similar message:
>> >
>> > U 2013/02/13 15:00:35.284349 127.0.0.1:5062
>> <http://127.0.0.1:5062> -> 127.0.0.1:5060 <http://127.0.0.1:5060>
>> > SIP/2.0 407 Proxy Authentication Required'
>> > Via: SIP/2.0/UDP
>> >
>> 127.0.0.1;branch=z9hG4bK1656.9380421a794a31f26f603fe5fb55b4e9.0'
>> > Via: SIP/2.0/UDP
>> 196.xx.xx.xx:5060;rport=5060;branch=z9hG4bK503395dd'
>> > From: "412" <sip:412 at 196.xx.xx.xx>
>> <mailto:sip:412 at 196.xx.xx.xx>;tag=as2a6593ec'
>> > To: <sip:410 at 196.41.123.113:5060
>> <http://sip:410@196.41.123.113:5060>
>> >
>> ;uuid=66cbefcb-bd00-4976-a6d6-726887d68123>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.73c2'
>> > Call-ID:
>> 6a1fb34558dcdf286d35b00a1e981e71 at 196.41.124.44:5060
>> <http://6a1fb34558dcdf286d35b00a1e981e71@196.41.124.44:5060>'
>> > CSeq: 102 INVITE'
>> > Proxy-Authenticate: Digest realm="196.xx.xx.xx,
>> > nonce="URuPnVEbjnG3vmSb3KJqhWPMev0ZbjkM"'
>> > Server: Sipwise NGCP Proxy 2.X'
>> > Content-Length: 0'
>> >
>> >
>>
>> Did you add the asterisk box as a peer? I'd need something
>> else to check what
>> happened. I don't know what 407 that is.
>>
>>
>>
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com <mailto: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/20130213/8c70f7a0/attachment-0001.html>
More information about the Spce-user
mailing list