[Spce-user] Routing Between Peers

Matt Schwinn winwithschwinn at gmail.com
Wed Jun 28 11:34:21 EDT 2017


Ok.  I've created the remote office as a subscriber and am having a
problem.  SIP Provider is trying to send to extension S.  Can anyone
explain what I am doing wrong?

Jun 28 17:04:04 spce proxy[11046]: NOTICE: <script>: New request on proxy -
M=REGISTER R=sip:10.214.2.80 F=sip:Test-User at 10.214.2.80 T=
sip:Test-User at 10.214.2.80 IP=10.214.2.60:50610 (127.0.0.1:5060) ID=
680ccba7083f059a552c5ff907a7ed14@[::1] UA='FPBX-13.0.190.7(13.11.2)'
Jun 28 17:04:04 spce proxy[11046]: NOTICE: <script>: Authentication failed,
stale nonce - R=sip:10.214.2.80 ID=680ccba7083f059a552c5ff907a7ed14@[::1]
UA='FPBX-13.0.190.7(13.11.2)'
Jun 28 17:04:04 spce proxy[11044]: NOTICE: <script>: New request on proxy -
M=REGISTER R=sip:10.214.2.80 F=sip:Test-User at 10.214.2.80 T=
sip:Test-User at 10.214.2.80 IP=10.214.2.60:50610 (127.0.0.1:5060) ID=
680ccba7083f059a552c5ff907a7ed14@[::1] UA='FPBX-13.0.190.7(13.11.2)'
Jun 28 17:04:04 spce proxy[11044]: NOTICE: <script>: Contacts successfully
updated, expires in 120s - R=sip:10.214.2.80 ID=
680ccba7083f059a552c5ff907a7ed14@[::1] UA='FPBX-13.0.190.7(13.11.2)'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: New request on proxy -
M=INVITE R=sip:2098922120 at 10.214.2.80:5060 F=sip:12098944444 at x.x.x.x T=
sip:2098922120 at 10.214.2.80:5060 IP=x.x.x.x:5060 (127.0.0.1:5060) ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Call from PSTN - R=
sip:2098922120 at 10.214.2.80:5060 ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Dialog managed,
lua_dlg_callid:[2015878487-0-643716148 at 64.136.173.226] - R=
sip:2098922120 at 10.214.2.80:5060 ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: User-Provided CLI
'12098944444' taken from From-User - R=sip:2098922120 at 10.214.2.80:5060 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Network-Provided CLI
'12098944444' taken from From-User - R=sip:2098922120 at 10.214.2.80:5060 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting
'12098944444 at x.x.x.x' as initiating user-provided CLI - R=
sip:2098922120 at 10.214.2.80:5060 ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting
'12098944444 at x.x.x.x' as initiating network-provided CLI - R=
sip:2098922120 at 10.214.2.80:5060 ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Rewriting called party
'2098922120' to '12098922120' - R=sip:2098922120 at 10.214.2.80:5060 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Callee was aliased
with base '12098922120' - R=sip:Test-User at 10.214.2.80:5060 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Callee is local,
uuid='0468fa1e-e6cb-4422-b78f-293bc28d809e' - R=sip:Test-User at 10.214.2.80:
5060 ID=2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting acc source-leg
for uuid '0': '0|12098944444|x.x.x.x|12098944444|||0|||0|call|x.x.
x.x|1498662283.967720||||||||||||' -* R=sip:s at 10.214.2.60:50610
<http://sip:s@10.214.2.60:50610>* ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting acc
destination-leg for uuid '0468fa1e-e6cb-4422-b78f-293bc28d809e':
'0|||9|2098922120|0468fa1e-e6cb-4422-b78f-293bc28d809e|
Test-User|10.214.2.80|12098922120|10.214.2.80|0||||||||||||' -
*R=sip:s at 10.214.2.60:50610
<http://sip:s@10.214.2.60:50610>* ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting
caller_cli_userprov/caller_domain_userprov '12098944444 at 10.214.2.80' for
upn - Jun 28 17:04:04 spce proxy[11046]: NOTICE: <script>: New request on
proxy - M=REGISTER R=sip:10.214.2.80 F=sip:Test-User at 10.214.2.80 T=
sip:Test-User at 10.214.2.80 IP=10.214.2.60:50610 (127.0.0.1:5060) ID=
680ccba7083f059a552c5ff907a7ed14@[::1] UA='FPBX-13.0.190.7(13.11.2)'
Jun 28 17:04:04 spce proxy[11046]: NOTICE: <script>: Authentication failed,
stale nonce - R=sip:10.214.2.80 ID=680ccba7083f059a552c5ff907a7ed14@[::1]
UA='FPBX-13.0.190.7(13.11.2)'
Jun 28 17:04:04 spce proxy[11044]: NOTICE: <script>: New request on proxy -
M=REGISTER R=sip:10.214.2.80 F=sip:Test-User at 10.214.2.80 T=
sip:Test-User at 10.214.2.80 IP=10.214.2.60:50610 (127.0.0.1:5060) ID=
680ccba7083f059a552c5ff907a7ed14@[::1] UA='FPBX-13.0.190.7(13.11.2)'
Jun 28 17:04:04 spce proxy[11044]: NOTICE: <script>: Contacts successfully
updated, expires in 120s - R=sip:10.214.2.80 ID=
680ccba7083f059a552c5ff907a7ed14@[::1] UA='FPBX-13.0.190.7(13.11.2)'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: New request on proxy -
M=INVITE R=sip:2098922120 at 10.214.2.80:5060 F=sip:12098944444 at x.x.x.x T=
sip:2098922120 at 10.214.2.80:5060 IP=x.x.x.x:5060 (127.0.0.1:5060) ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Call from PSTN - R=
sip:2098922120 at 10.214.2.80:5060 ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Dialog managed,
lua_dlg_callid:[2015878487-0-643716148 at 64.136.173.226] - R=
sip:2098922120 at 10.214.2.80:5060 ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: User-Provided CLI
'12098944444' taken from From-User - R=sip:2098922120 at 10.214.2.80:5060 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Network-Provided CLI
'12098944444' taken from From-User - R=sip:2098922120 at 10.214.2.80:5060 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting
'12098944444 at x.x.x.x' as initiating user-provided CLI - R=
sip:2098922120 at 10.214.2.80:5060 ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting
'12098944444 at x.x.x.x' as initiating network-provided CLI - R=
sip:2098922120 at 10.214.2.80:5060 ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Rewriting called party
'2098922120' to '12098922120' - R=sip:2098922120 at 10.214.2.80:5060 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Callee was aliased
with base '12098922120' - R=sip:Test-User at 10.214.2.80:5060 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Callee is local,
uuid='0468fa1e-e6cb-4422-b78f-293bc28d809e' - R=sip:Test-User at 10.214.2.80:
5060 ID=2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting acc source-leg
for uuid '0': '0|12098944444|x.x.x.x|12098944444|||0|||0|call|x.x.
x.x|1498662283.967720||||||||||||' - R=sip:s at 10.214.2.60:50610 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting acc
destination-leg for uuid '0468fa1e-e6cb-4422-b78f-293bc28d809e':
'0|||9|2098922120|0468fa1e-e6cb-4422-b78f-293bc28d809e|
Test-User|10.214.2.80|12098922120|10.214.2.80|0||||||||||||' - R=
sip:s at 10.214.2.60:50610 ID=2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting
caller_cli_userprov/caller_domain_userprov '12098944444 at 10.214.2.80' for
upn - R=sip:s at 10.214.2.60:50610 ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting From to '<
sip:12098944444 at 10.214.2.80>' - R=sip:s at 10.214.2.60:50610 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting
caller_cli_netprov/caller_domain_netprov '12098944444 at 10.214.2.80' for npn
- R=sip:s at 10.214.2.60:50610 ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting PAI to '<
sip:12098944444 at 10.214.2.80>' - R=sip:s at 10.214.2.60:50610 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting
P-Called-Party-ID '<sip:s at 10.214.2.80>' - R=sip:s at 10.214.2.60:50610 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Appending P-D-URI '
sip:lb at 127.0.0.1;lr;received=sip:10.214.2.60:50610;socket=sip:
10.214.2.80:5060' - R=sip:s at 10.214.2.60:50610 ID=2015878487-0-643716148 at 64.
136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Forcing request via
B2BUA 'sip:127.0.0.1:5080' - R=sip:s at 10.214.2.60:50610 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Request leaving
server, D-URI='sip:127.0.0.1:5080' - R=sip:s at 10.214.2.60:50610 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11047]: NOTICE: <script>: NAT-Reply - S=100 -
Connecting M=INVITE IP=x.x.x.x:5060 (127.0.0.1:5080) ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11041]: NOTICE: <script>: NAT-Reply - S=200 - OK
M=INVITE IP=x.x.x.x:5060 (127.0.0.1:5080) ID=2015878487-0-643716148 at 64.
136.173.226 UA='<null>'
Jun 28 17:04:44 spce proxy[11041]: NOTICE: <script>: [dialog:start]
lua_dlg_callid:[2015878487-0-643716148 at 64.136.173.226]  - R=<null> ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:44 spce proxy[11048]: NOTICE: <script>: NAT-Reply - S=200 - OK
M=INVITE IP=x.x.x.x:5060 (127.0.0.1:5080) ID=2015878487-0-643716148 at 64.
136.173.226 UA='<null>'
Jun 28 17:04:45 spce proxy[11042]: NOTICE: <script>: NAT-Reply - S=200 - OK
M=INVITE IP=x.x.x.x:5060 (127.0.0.1:5080) ID=2015878487-0-643716148 at 64.
136.173.226 UA='<null>'
Jun 28 17:04:50 spce proxy[11045]: NOTICE: <script>: New request on proxy -
M=BYE R=sip:12098944444 at x.x.x.x:5060 F=sip:2098922120 at 10.214.2.80:5060 T=
sip:12098944444 at 10.214.2.80 IP=127.0.0.1:5080 (127.0.0.1:5080) ID=
2015878487-0-643716148 at 64.136.173.226 UA='FPBX-13.0.190.7(13.11.2)'
Jun 28 17:04:50 spce proxy[11045]: NOTICE: <script>: [dialog:end] decreased
redis counters lua_dlg_callid:[2015878487-0-643716148 at 64.136.173.226] -
R=sip:12098944444 at x.x.x.x:5060 ID=2015878487-0-643716148 at 64.136.173.226
UA='FPBX-13.0.190.7(13.11.2)'
Jun 28 17:04:50 spce proxy[11047]: NOTICE: <script>: NAT-Reply - S=200 - OK
M=BYE IP=127.0.0.1:5080 (127.0.0.1:5060) ID=2015878487-0-643716148 at 64.
136.173.226 UA='<null>'
 ID=2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting From to '<
sip:12098944444 at 10.214.2.80>' - R=sip:s at 10.214.2.60:50610 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting
caller_cli_netprov/caller_domain_netprov '12098944444 at 10.214.2.80' for npn
- R=sip:s at 10.214.2.60:50610 ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting PAI to '<
sip:12098944444 at 10.214.2.80>' - R=sip:s at 10.214.2.60:50610 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Setting
P-Called-Party-ID '<sip:s at 10.214.2.80>' - R=sip:s at 10.214.2.60:50610 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Appending P-D-URI '
sip:lb at 127.0.0.1;lr;received=sip:10.214.2.60:50610;socket=sip:
10.214.2.80:5060' - R=sip:s at 10.214.2.60:50610 ID=2015878487-0-643716148 at 64.
136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Forcing request via
B2BUA 'sip:127.0.0.1:5080' - *R=sip:s at 10.214.2.60:50610
<http://sip:s@10.214.2.60:50610>* ID=2015878487-0-643716148 at 64.136.173.226
UA='<null>'
Jun 28 17:04:43 spce proxy[11045]: NOTICE: <script>: Request leaving
server, D-URI='sip:127.0.0.1:5080' - R=sip:s at 10.214.2.60:50610 ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11047]: NOTICE: <script>: NAT-Reply - S=100 -
Connecting M=INVITE IP=x.x.x.x:5060 (127.0.0.1:5080) ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:43 spce proxy[11041]: NOTICE: <script>: NAT-Reply - S=200 - OK
M=INVITE IP=x.x.x.x:5060 (127.0.0.1:5080) ID=2015878487-0-643716148 at 64.
136.173.226 UA='<null>'
Jun 28 17:04:44 spce proxy[11041]: NOTICE: <script>: [dialog:start]
lua_dlg_callid:[2015878487-0-643716148 at 64.136.173.226]  - R=<null> ID=
2015878487-0-643716148 at 64.136.173.226 UA='<null>'
Jun 28 17:04:44 spce proxy[11048]: NOTICE: <script>: NAT-Reply - S=200 - OK
M=INVITE IP=x.x.x.x:5060 (127.0.0.1:5080) ID=2015878487-0-643716148 at 64.
136.173.226 UA='<null>'
Jun 28 17:04:45 spce proxy[11042]: NOTICE: <script>: NAT-Reply - S=200 - OK
M=INVITE IP=x.x.x.x:5060 (127.0.0.1:5080) ID=2015878487-0-643716148 at 64.
136.173.226 UA='<null>'
Jun 28 17:04:50 spce proxy[11045]: NOTICE: <script>: New request on proxy -
M=BYE R=sip:12098944444 at x.x.x.x:5060 F=sip:2098922120 at 10.214.2.80:5060 T=
sip:12098944444 at 10.214.2.80 IP=127.0.0.1:5080 (127.0.0.1:5080) ID=
2015878487-0-643716148 at 64.136.173.226 UA='FPBX-13.0.190.7(13.11.2)'
Jun 28 17:04:50 spce proxy[11045]: NOTICE: <script>: [dialog:end] decreased
redis counters lua_dlg_callid:[2015878487-0-643716148 at 64.136.173.226] -
R=sip:12098944444 at x.x.x.x:5060 ID=2015878487-0-643716148 at 64.136.173.226
UA='FPBX-13.0.190.7(13.11.2)'
Jun 28 17:04:50 spce proxy[11047]: NOTICE: <script>: NAT-Reply - S=200 - OK
M=BYE IP=127.0.0.1:5080 (127.0.0.1:5060) ID=2015878487-0-643716148 at 64.
136.173.226 UA='<null>'


On Tue, Jun 27, 2017 at 12:26 PM, Barry Flanagan <barry at flanagan.ie> wrote:

> On 27 Jun 2017 3:19 pm, "Matt Schwinn" <winwithschwinn at gmail.com> wrote:
>
> Excellent.  Can someone point me in the right direction to getting this
> setup?
>
>
> Sure. Set up the remote office as a subscriber, not a peer.
>
> Hope this helps
>
> -Barry Flanagan
>
>
> On Mon, Jun 26, 2017 at 11:15 PM, Serge S. Yuriev <me at nevian.org> wrote:
>
>> Possible but without billing(cdrs collected)
>>
>> --
>> Wbr, Serge via mobile
>>
>> 27.06.2017, 02:17, "Matt Schwinn" <winwithschwinn at gmail.com>:
>>
>> My goal is to create two peering groups.  One that will be to my SIP
>> Provider, and one that will be in a remote office.  I would like to route
>> phone calls between the two of them.  Is this possible?  Thanks all for
>> reading.
>>
>> --
>> Enjoy the day!
>> Matt Schwinn
>> TCG Technologies LLC
>>       and
>> Company B
>> 209-202-3329
>> www.TCGTechLLC.com
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> https://lists.sipwise.com/listinfo/spce-user
>>
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> https://lists.sipwise.com/listinfo/spce-user
>>
>>
>
>
> --
> Enjoy the day!
> Matt Schwinn
> TCG Technologies LLC
>       and
> Company B
> 209-202-3329
> www.TCGTechLLC.com
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
>
>


-- 
Enjoy the day!
Matt Schwinn
TCG Technologies LLC
      and
Company B
209-202-3329
www.TCGTechLLC.com



-- 
Enjoy the day!
Matt Schwinn
TCG Technologies LLC
      and
Company B
209-202-3329
www.TCGTechLLC.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20170628/c68a654a/attachment-0001.html>


More information about the Spce-user mailing list