[Spce-user] Help with peering. Using SipWise to take inbound from one PBX and send out to 3rd party SBC

Christo Snyman christo at safricloud.com
Thu Aug 10 08:13:42 EDT 2017


Hi,

 

I've just started playing with SipWise and can make outbound calls via
SipWise subscriber and take inbound calls.  My problem is when I try to dial
outbound using a different PBX with SipWise configured as a sip trunk and
SipWise peering with a 3rd party SBC to send the call to the PSTN.  My
SipWise config is as follows:

 

Sip Peering Grp 1:

.         172.x.x.x (Caller PBX sending call to SipWise)

.         10.x.x.x (Upstream SBC accepting outbound calls and sending to
PSTN)

 

Outbound Rule:

.         Default rule, any caller pattern, any callee pattern, any prefix

 

Inbound rule:

.         From_user = \w

 

I think my config breaks when between accepting the call and then knowing to
route it back out via the 3rd party SBC.  The logs shows that it's accepting
the call, following the inbound route and that the callee is not local but
instead of showing "Call to SIP Peering" like successful outbound it shows
"Call to unknown user" which gives the impression it wants to keep the call
local.  I tried the same setup with multiple external PBXes and they produce
the same result.    Any idea what I'm doing wrong?

 

Here's the log:

Aug 10 14:02:47 spce proxy[19916]: NOTICE: <script>: New request on proxy -
M=SUBSCRIBE R=sip:127.0.0.1:5062 F=sip:charl at 172.30.170.252
T=sip:charl at 172.30.170.252 IP=172.30.196.252:51115 (127.0.0.1:5060)
ID=83372NDM5MWJmODE0MDY4MDZiNzA4ZTc4NDAzOWRjMzQ1NGM UA='X-Lite release
4.9.7.1 stamp 83372'

Aug 10 14:02:47 spce proxy[19916]: NOTICE: <script>: Handling subscribe
request for event 'message-summary' - R=sip:127.0.0.1:5062
ID=83372NDM5MWJmODE0MDY4MDZiNzA4ZTc4NDAzOWRjMzQ1NGM UA='X-Lite release
4.9.7.1 stamp 83372'

Aug 10 14:07:17 spce proxy[19916]: NOTICE: <script>: New request on proxy -
M=SUBSCRIBE R=sip:127.0.0.1:5062 F=sip:charl at 172.30.170.252
T=sip:charl at 172.30.170.252 IP=172.30.196.252:51115 (127.0.0.1:5060)
ID=83372NDM5MWJmODE0MDY4MDZiNzA4ZTc4NDAzOWRjMzQ1NGM UA='X-Lite release
4.9.7.1 stamp 83372'

Aug 10 14:07:17 spce proxy[19916]: NOTICE: <script>: Handling subscribe
request for event 'message-summary' - R=sip:127.0.0.1:5062
ID=83372NDM5MWJmODE0MDY4MDZiNzA4ZTc4NDAzOWRjMzQ1NGM UA='X-Lite release
4.9.7.1 stamp 83372'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: New request on proxy -
M=INVITE R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
F=sip:27315381625 at 172.30.180.31;user=phone
T=sip:0739589884 at 172.30.170.252;user=phone IP=172.30.180.31:5060
(127.0.0.1:5060) ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab
UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: Call from PSTN -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: Inbound peering group
'4' matched, looking up peer host -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: Selected peering host
id '7' as inbound peer -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: Dialog managed,
lua_dlg_callid:[5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab] -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: IMS marker,
s:ims_role='<null>', s:caller_uuid='0', s:callee_uuid='<null>',
s:acc_caller_user='27315381625', s:acc_caller_domain='172.30.180.31'  -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: User-Provided CLI
'27315381625' taken from From-User -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: Network-Provided CLI
'27315381625' taken from From-User -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: Setting
'27315381625 at 172.30.180.31' as initiating user-provided CLI -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: Setting
'27315381625 at 172.30.180.31' as initiating network-provided CLI -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: Callee is not local -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: Call to unknown user -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: Setting acc source-leg
for uuid '0':
'0|27315381625|172.30.180.31|27315381625|||0|||0|call|172.30.180.31|15023668
45.782452||||||||||||27315381625|' -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: Setting acc
destination-leg for uuid '0':
'0|||0|0739589884|0|0739589884|172.30.170.252|0739589884|172.30.170.252|0|||
|||||||||0739589884|' -
R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab UA='ININ-EDGE/1.0.0.5886'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: [dialog:failed]
decreased redis counters
lua_dlg_callid:[5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab] -
R=sip:you at kamailio.org ID=123 UA='<null>'

Aug 10 14:07:25 spce proxy[19916]: NOTICE: <script>: New request on proxy -
M=ACK R=sip:0739589884 at 172.30.170.252:5060;transport=udp;user=phone
F=sip:27315381625 at 172.30.180.31;user=phone
T=sip:0739589884 at 172.30.170.252;user=phone IP=172.30.180.31:5060
(127.0.0.1:5060) ID=5b9f377d-e2c1-4fdd-bb0d-6f181fdaafab
UA='ININ-EDGE/1.0.0.5886'

root at spce:~#

 

 


Christo Snyman


CTO


 


 




 072 444 8000



 031 538 1625




  <mailto:christo at safricloud.com> christo at safricloud.com



  <http://www.safricloud.com> www.safricloud.com

				





This message is confidential. It may also be privileged or otherwise
protected by work product immunity or other legal rules. If you have
received it by mistake, please let us know by email reply and delete it from
your system; you may not copy this message or discuss its contents to
anyone. Please send us by fax any message containing deadlines as incoming
emails are not screened for response deadlines. The integrity and security
of this message cannot be guaranteed on the internet.


 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20170810/22bfa429/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 853 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20170810/22bfa429/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 865 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20170810/22bfa429/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 873 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20170810/22bfa429/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 852 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20170810/22bfa429/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 17026 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20170810/22bfa429/attachment-0004.jpg>


More information about the Spce-user mailing list