[Spce-user] SBC attended transfer problem.

Andrew Pogrebennyk apogrebennyk at sipwise.com
Tue Oct 8 10:31:08 EDT 2013


Hi,
it is not in 2.8 yet, but the refer handling should be working there as
well if you copy file
/etc/ngcp-config/templates/etc/sems/etc/ngcp.sbcprofile.conf.tt2 to
/etc/ngcp-config/templates/etc/sems/etc/ngcp.sbcprofile.conf.customtt.tt2

and add anywhere in the new file:
fix_replaces_inv=no
fix_replaces_ref=yes

br,
Andrew

On 10/08/2013 04:21 PM, Mario Contreras wrote:
> Hi Raul,
> 
> I have just upgraded but I can't found the line you say. Any suggestion?
> 
> Thanks!
> 
> El martes, 08 de octubre de 2013 11:56:19, Raul Alonso escribió:
>> HI,
>>
>> This patch (ngcp-sems was updated from version 1.4.3+spce2.8.0 to
>> version 1.4.3+spce2.8.2) fixes the problem with attended transfers,
>> the patch was posted on Friday, 4.
>>
>> only have to modify the file: ngcp_cf.sbcprofile.conf.tt2 (create
>> customtt)
>>
>> line /fix_replaces_ref=no/ to /fix_replaces_ref = yes/
>>
>> Thanks,
>>
>> Raúl.
>>
>> *De:*spce-user-bounces at lists.sipwise.com
>> [mailto:spce-user-bounces at lists.sipwise.com] *En nombre de *Raul Alonso
>> *Enviado el:* miércoles, 02 de octubre de 2013 18:31
>> *Para:* spce-user at lists.sipwise.com
>> *Asunto:* [Spce-user] SBC attended transfer problem.
>>
>> 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;ngcplb=yes;socket=sip:147.28.17.22:9060>'
>>
>>
>> Route:
>> <sip:127.0.0.1:9060;r2=on;lr=on;ftag=2BF5FA49-524C458B000D3E89-87642700;ngcplb=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
>> <mailto: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%3D02DA5EB4-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
>> <mailto: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%3D02DA5EB4-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>;tag=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
>> <mailto: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=udp: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%3D02DA5EB4-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;ngcplb=yes;socket=udp:147.28.17.22:9060>'
>>
>>
>> Record-Route:
>> <sip:127.0.0.1:9060;r2=on;lr=on;ftag=220042F0-524C458B000D3E04-86834700;ngcplb=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.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>;tag=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
>> <mailto:6c2fec696424680d4dc1d2d6305dcc83 at 147.28.17.23:5060>'
>>
>> Refer-To:
>> <sip:102 at sbc.paco.net:9060?Replaces=840578440%40192.168.38.123%3Bto-tag%3D02DA5EB4-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;received=147.28.17.22;rport=9060'
>>
>>
>> Via: SIP/2.0/UDP
>> 127.0.0.1:5062;rport=5062;branch=z9hG4bK6b5a.5b6cb11a6fe5bcc71d467ae8b0764194.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;ngcplb=yes;socket=udp:147.28.17.22:9060>'
>>
>>
>> Record-Route:
>> <sip:127.0.0.1:9060;r2=on;lr=on;ftag=220042F0-524C458B000D3E04-86834700;ngcplb=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>;tag=220042F0-524C458B000D3E04-86834700'
>>
>>
>> To: <sip:912040041 at 147.28.17.23>;tag=as50d378a8'
>>
>> Call-ID: 6c2fec696424680d4dc1d2d6305dcc83 at 147.28.17.23:5060
>> <mailto: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.5b6cb11a6fe5bcc71d467ae8b0764194.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;ngcplb=yes;socket=udp:147.28.17.22:9060>'
>>
>>
>> Record-Route:
>> <sip:127.0.0.1:9060;r2=on;lr=on;ftag=220042F0-524C458B000D3E04-86834700;ngcplb=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>;tag=220042F0-524C458B000D3E04-86834700'
>>
>>
>> To: <sip:912040041 at 147.28.17.23>;tag=as50d378a8'
>>
>> Call-ID: 6c2fec696424680d4dc1d2d6305dcc83 at 147.28.17.23:5060
>> <mailto: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
>> <mailto: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
>> <mailto: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
>>
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user





More information about the Spce-user mailing list