[Spce-user] SBC attended transfer problem.

Raul Alonso raul.alonso at tpartner.net
Wed Oct 2 12:30:59 EDT 2013


hello,

 

I have a problem with attended transfers SBC environment(Version 2.8).
Behind the SBC I have a PBX (Asterisk)

when user A calls user B and it wants to transfer call to C with unattended
transfer, it works correctly, but if I make a call from user A to user B and
B calls C to transfer the call when I press the transfer button the call
between B and C drop, the A-B call is put on hold on B and C is left with a
call in limbo.

 

I created a file kamailio.cfg.customtt.cfg2 to add the REFER 

if (is_method ("INVITE | ACK | CANCEL | BYE | OPTIONS | PRACK | UPDATE |
REFER

 

I've also created ngcp.sbcprofile.conf.customtt.tt2 to allow headers
refer-to and refered-by

 

attach traces from SBC

 

U 2013/10/02 18:11:46.742496 88.12.60.131:5062 -> 147.28.17.22:9060

REFER sip:127.0.0.1:5080 SIP/2.0'

Via: SIP/2.0/UDP 192.168.38.123:5062;branch=z9hG4bK407300470'

Route:
<sip:147.28.17.22:9060;r2=on;lr=on;ftag=2BF5FA49-524C458B000D3E89-87642700;n
gcplb=yes;socket=sip:147.28.17.22:9060>'

Route:
<sip:127.0.0.1:9060;r2=on;lr=on;ftag=2BF5FA49-524C458B000D3E89-87642700;ngcp
lb=yes;socket=sip:147.28.17.22:9060>'

From: <sip:99103101 at sbc.paco.net>;tag=733765117'

To: <sip:912040041 at sbc.paco.net>;tag=2BF5FA49-524C458B000D3E89-87642700'

Call-ID: 6c2fec696424680d4dc1d2d6305dcc83 at 147.28.17.23:5060_b2b-1'

CSeq: 12 REFER'

Contact: <sip:99103101 at 192.168.38.123:5062>'

Max-Forwards: 70'

User-Agent: Atlinks Temporis IP800 15.60.0.69'

Refer-To:
<sip:102 at sbc.paco.net:9060?Replaces=840578440%40192.168.38.123%3Bto-tag%3D02
DA5EB4-524C45BA00033527-86B37700%3Bfrom-tag%3D181137769>'

Referred-By: <sip:99103101 at sbc.paco.net>'

Event: refer'

Content-Length: 0'

'

 

#

U 2013/10/02 18:11:46.742756 127.0.0.1:9060 -> 127.0.0.1:5080

REFER sip:127.0.0.1:5080 SIP/2.0'

Record-Route:
<sip:127.0.0.1:9060;r2=on;lr=on;ftag=733765117;nat=yes;ngcplb=yes;socket=udp
:147.28.17.22:9060>'

Record-Route:
<sip:147.28.17.22:9060;r2=on;lr=on;ftag=733765117;nat=yes;ngcplb=yes;socket=
udp:147.28.17.22:9060>'

Via: SIP/2.0/UDP
127.0.0.1:9060;branch=z9hG4bK36.93266e8d2eb322af8e4203c73e25c9cf.0'

Via: SIP/2.0/UDP
192.168.38.123:5062;rport=5062;received=88.12.60.131;branch=z9hG4bK407300470
'

From: <sip:99103101 at sbc.paco.net>;tag=733765117'

To: <sip:912040041 at sbc.paco.net>;tag=2BF5FA49-524C458B000D3E89-87642700'

Call-ID: 6c2fec696424680d4dc1d2d6305dcc83 at 147.28.17.23:5060_b2b-1'

CSeq: 12 REFER'

Contact: <sip:99103101 at 192.168.38.123:5062;alias=88.12.60.131~5062~1>'

Max-Forwards: 69'

User-Agent: Atlinks Temporis IP800 15.60.0.69'

Refer-To:
<sip:102 at sbc.paco.net:9060?Replaces=840578440%40192.168.38.123%3Bto-tag%3D02
DA5EB4-524C45BA00033527-86B37700%3Bfrom-tag%3D181137769>'

Referred-By: <sip:99103101 at sbc.paco.net>'

Event: refer'

Content-Length: 0'

P-NGCP-Src-Ip: 88.12.60.131'

P-NGCP-Src-Port: 5062'

P-NGCP-Src-Proto: udp'

P-NGCP-Src-Af: 4'

P-Sock-Info: udp:147.28.17.22:9060'

P-NGCP-Src-Nat: 1'

'

 

#

U 2013/10/02 18:11:46.743244 127.0.0.1:5062 -> 127.0.0.1:9060

REFER sip:912040041 at 147.28.17.23:5060 SIP/2.0'

Max-Forwards: 10'

Record-Route:
<sip:127.0.0.1:5062;lr=on;ftag=220042F0-524C458B000D3E04-86834700;rtpprx=yes
>'

Via: SIP/2.0/UDP
127.0.0.1:5062;branch=z9hG4bK6b5a.5b6cb11a6fe5bcc71d467ae8b0764194.0'

Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKhoBt1ajm;rport=5080'

From:
<sip:99103101 at 147.28.17.22:9060;uuid=787b8bb8-c559-4a3b-a165-bc3d4fffdc26>;t
ag=220042F0-524C458B000D3E04-86834700'

To: <sip:912040041 at 147.28.17.23>;tag=as50d378a8'

CSeq: 11 REFER'

Call-ID: 6c2fec696424680d4dc1d2d6305dcc83 at 147.28.17.23:5060'

Contact: <sip:99103101 at 127.0.0.1:5080>'

Route:
<sip:127.0.0.1:9060;r2=on;lr=on;ftag=as50d378a8;nat=yes;ngcplb=yes;socket=ud
p:147.28.17.22:9060>,
<sip:147.28.17.22:9060;r2=on;lr=on;ftag=as50d378a8;nat=yes;ngcplb=yes;socket
=udp:147.28.17.22:9060>'

Refer-To:
<sip:102 at sbc.paco.net:9060?Replaces=840578440%40192.168.38.123%3Bto-tag%3D02
DA5EB4-524C45BA00033527-86B37700%3Bfrom-tag%3D181137769>'

Referred-By: <sip:99103101 at sbc.paco.net>'

Content-Length: 0'

'

 

#

U 2013/10/02 18:11:46.743435 147.28.17.22:9060 -> 147.28.17.23:5060

REFER sip:912040041 at 147.28.17.23:5060 SIP/2.0'

Record-Route:
<sip:147.28.17.22:9060;r2=on;lr=on;ftag=220042F0-524C458B000D3E04-86834700;n
gcplb=yes;socket=udp:147.28.17.22:9060>'

Record-Route:
<sip:127.0.0.1:9060;r2=on;lr=on;ftag=220042F0-524C458B000D3E04-86834700;ngcp
lb=yes;socket=udp:147.28.17.22:9060>'

Max-Forwards:  9'

Record-Route:
<sip:127.0.0.1:5062;lr=on;ftag=220042F0-524C458B000D3E04-86834700;rtpprx=yes
>'

Via: SIP/2.0/UDP
147.28.17.22:9060;branch=z9hG4bK6b5a.226edd2f53a3e56467e58179d81e831a.0'

Via: SIP/2.0/UDP
127.0.0.1:5062;rport=5062;branch=z9hG4bK6b5a.5b6cb11a6fe5bcc71d467ae8b076419
4.0'

Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKhoBt1ajm;rport=5080'

From:
<sip:99103101 at 147.28.17.22:9060;uuid=787b8bb8-c559-4a3b-a165-bc3d4fffdc26>;t
ag=220042F0-524C458B000D3E04-86834700'

To: <sip:912040041 at 147.28.17.23>;tag=as50d378a8'

CSeq: 11 REFER'

Call-ID: 6c2fec696424680d4dc1d2d6305dcc83 at 147.28.17.23:5060'

Refer-To:
<sip:102 at sbc.paco.net:9060?Replaces=840578440%40192.168.38.123%3Bto-tag%3D02
DA5EB4-524C45BA00033527-86B37700%3Bfrom-tag%3D181137769>'

Referred-By: <sip:99103101 at sbc.paco.net>'

Content-Length: 0'

Contact: <sip:ngcp-lb at 147.28.17.22:9060;ngcpct=c2lwOjEyNy4wLjAuMTo1MDgw>'

'

 

#

U 2013/10/02 18:11:46.744048 147.28.17.23:5060 -> 147.28.17.22:9060

SIP/2.0 202 Accepted'

Via: SIP/2.0/UDP
147.28.17.22:9060;branch=z9hG4bK6b5a.226edd2f53a3e56467e58179d81e831a.0;rece
ived=147.28.17.22;rport=9060'

Via: SIP/2.0/UDP
127.0.0.1:5062;rport=5062;branch=z9hG4bK6b5a.5b6cb11a6fe5bcc71d467ae8b076419
4.0'

Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKhoBt1ajm;rport=5080'

Record-Route:
<sip:147.28.17.22:9060;r2=on;lr=on;ftag=220042F0-524C458B000D3E04-86834700;n
gcplb=yes;socket=udp:147.28.17.22:9060>'

Record-Route:
<sip:127.0.0.1:9060;r2=on;lr=on;ftag=220042F0-524C458B000D3E04-86834700;ngcp
lb=yes;socket=udp:147.28.17.22:9060>'

Record-Route:
<sip:127.0.0.1:5062;lr=on;ftag=220042F0-524C458B000D3E04-86834700;rtpprx=yes
>'

From:
<sip:99103101 at 147.28.17.22:9060;uuid=787b8bb8-c559-4a3b-a165-bc3d4fffdc26>;t
ag=220042F0-524C458B000D3E04-86834700'

To: <sip:912040041 at 147.28.17.23>;tag=as50d378a8'

Call-ID: 6c2fec696424680d4dc1d2d6305dcc83 at 147.28.17.23:5060'

CSeq: 11 REFER'

Server: Asterisk PBX 1.8.22.0'

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH'

Supported: replaces, timer'

Contact: <sip:912040041 at 147.28.17.23:5060>'

Content-Length: 0'

'

 

##

U 2013/10/02 18:11:46.744188 127.0.0.1:9060 -> 127.0.0.1:5062

SIP/2.0 202 Accepted'

Via: SIP/2.0/UDP
127.0.0.1:5062;rport=5062;branch=z9hG4bK6b5a.5b6cb11a6fe5bcc71d467ae8b076419
4.0'

Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKhoBt1ajm;rport=5080'

Record-Route:
<sip:147.28.17.22:9060;r2=on;lr=on;ftag=220042F0-524C458B000D3E04-86834700;n
gcplb=yes;socket=udp:147.28.17.22:9060>'

Record-Route:
<sip:127.0.0.1:9060;r2=on;lr=on;ftag=220042F0-524C458B000D3E04-86834700;ngcp
lb=yes;socket=udp:147.28.17.22:9060>'

Record-Route:
<sip:127.0.0.1:5062;lr=on;ftag=220042F0-524C458B000D3E04-86834700;rtpprx=yes
>'

From:
<sip:99103101 at 147.28.17.22:9060;uuid=787b8bb8-c559-4a3b-a165-bc3d4fffdc26>;t
ag=220042F0-524C458B000D3E04-86834700'

To: <sip:912040041 at 147.28.17.23>;tag=as50d378a8'

Call-ID: 6c2fec696424680d4dc1d2d6305dcc83 at 147.28.17.23:5060'

CSeq: 11 REFER'

Server: Asterisk PBX 1.8.22.0'

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH'

Supported: replaces, timer'

Contact: <sip:912040041 at 147.28.17.23:5060>'

Content-Length: 0'

P-NGCP-Src-Ip: 147.28.17.23'

P-NGCP-Src-Port: 5060'

P-NGCP-Src-Proto: udp'

P-NGCP-Src-Af: 4'

'

 

##

U 2013/10/02 18:11:46.744428 127.0.0.1:5080 -> 127.0.0.1:9060

SIP/2.0 202 Accepted'

Record-Route:
<sip:127.0.0.1:9060;r2=on;lr=on;ftag=733765117;nat=yes;ngcplb=yes;socket=udp
:147.28.17.22:9060>'

Record-Route:
<sip:147.28.17.22:9060;r2=on;lr=on;ftag=733765117;nat=yes;ngcplb=yes;socket=
udp:147.28.17.22:9060>'

Via: SIP/2.0/UDP
127.0.0.1:9060;branch=z9hG4bK36.93266e8d2eb322af8e4203c73e25c9cf.0;received=
127.0.0.1'

Via: SIP/2.0/UDP
192.168.38.123:5062;rport=5062;received=88.12.60.131;branch=z9hG4bK407300470
'

From: <sip:99103101 at sbc.paco.net>;tag=733765117'

To: <sip:912040041 at sbc.paco.net>;tag=2BF5FA49-524C458B000D3E89-87642700'

Call-ID: 6c2fec696424680d4dc1d2d6305dcc83 at 147.28.17.23:5060_b2b-1'

CSeq: 12 REFER'

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH'

Supported: replaces, timer'

Contact: <sip:127.0.0.1:5080>'

Content-Length: 0'

'

 

###

U 2013/10/02 18:11:46.744649 147.28.17.22:9060 -> 88.12.60.131:5062

SIP/2.0 202 Accepted'

Record-Route:
<sip:127.0.0.1:9060;r2=on;lr=on;ftag=733765117;nat=yes;ngcplb=yes;socket=udp
:147.28.17.22:9060>'

Record-Route:
<sip:147.28.17.22:9060;r2=on;lr=on;ftag=733765117;nat=yes;ngcplb=yes;socket=
udp:147.28.17.22:9060>'

Via: SIP/2.0/UDP
192.168.38.123:5062;rport=5062;received=88.12.60.131;branch=z9hG4bK407300470
'

From: <sip:99103101 at sbc.paco.net>;tag=733765117'

To: <sip:912040041 at sbc.paco.net>;tag=2BF5FA49-524C458B000D3E89-87642700'

Call-ID: 6c2fec696424680d4dc1d2d6305dcc83 at 147.28.17.23:5060_b2b-1'

CSeq: 12 REFER'

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH'

Supported: replaces, timer'

Contact: <sip:127.0.0.1:5080>'

Content-Length: 0'

'

 

Regards,

Raúl 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20131002/6a0c6868/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lb.log
Type: application/octet-stream
Size: 23683 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20131002/6a0c6868/attachment.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proxy.log
Type: application/octet-stream
Size: 7813 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20131002/6a0c6868/attachment-0001.log>


More information about the Spce-user mailing list