Hi all,
My question is related to attended transfers using Asterisk and Polycom IP Phones and EyeBeam Softphone as user agents.
As I could understand, looks like after each REFER, Asterisk checks whether the transferor can reach the target extension via its default context. See bellow an example:
REFER sip:235@200.XXX.XXX.35 SIP/2.0
Via: SIP/2.0/UDP 200.YYY.YYY.87;branch=z9hG
4bK76bec12
d2FD069B6
From: <sip:10.ext101@200.YYY.YYY
.87>;tag=F
810E8F1-6A
9966A
To: "EXT 1" <sip:235@200.XXX.XXX.35>;t
ag=as638c8
60f
CSeq: 2 REFER
Call-ID: 376487393bb717380578a58b3a
d9707c@200
.XXX.XXX.3
5
Contact: <sip:10.ext101@200.YYY.YYY
.87>
User-Agent: PolycomSoundPointIP-SPIP_6
50-UA/3.0.
2.0972
Refer-To: <sip:2@servername.domain.c
om.br;user
=phone?Rep
laces=fac4
55c9-73596
7e2-bf5102
97%40200.Y
YY.YYY.87%
3Bto-tag%3
Das39a366f
4%3Bfrom-t
ag%3D840EB
F78-DF8CE1
D5>
Referred-By: <sip:10.ext101@servername.
domain.com
.br>
Max-Forwards: 70
Content-Length: 0
<------------->
--- (12 headers 0 lines) ---
Call 376487393bb717380578a58b3a
d9707c@200
.XXX.XXX.3
5 376487393bb717380578a58b3a
d9707c@200
.XXX.XXX.3
5 got a SIP call transfer from caller: (REFER)!
SIP transfer to extension 2@10.profile_controller 2@10.profile_controller by 10.ext101@servername.domai
n.com.br
In the above example, where the transfer was made by a Polycom IP Phone, my assuption seems to be correct, since 10.profile_controller is the default context for extension 10.ext101. However, when I do something similar using EyeBeam, I get the following:
REFER sip:235@200.XXX.XXX.35 SIP/2.0
To: <sip:235@servername.domain
.com.br>;t
ag=as177f9
062
From: 10.ext2<sip:10.ext2@server
name.domai
n.com.br>;
tag=1474c8
77
Via: SIP/2.0/UDP 200.YYY.YYY.206:10123;bran
ch=z9hG4bK
-d87543-92
8016851-1-
-d87543-;r
port
Call-ID: 3b6519606a2c7276
CSeq: 4 REFER
Contact: <sip:10.ext2@200.YYY.YYY.2
06:10123>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="10.ext2",realm="
domain",no
nce="4dc69
29d",uri="
sip:235@20
0.XXX.XXX.
35",respon
se="4a8271
12db90724f
2d6428f804
051613",al
gorithm=MD
5
User-Agent: eyeBeam release 3007n stamp 17816
Refer-To: "EXT 101"<sip:101@200.XXX.XXX.3
5?Replaces
=6f8c3ea77
bffb4665d2
b04377e76b
1c2%40200.
XXX.XXX.35
%3Bto-tag%
3Das069787
dd%3Bfrom-
tag%3D707d
2653>
Referred-By: 10.ext2<sip:10.ext2@server
name.domai
n.com.br>
Content-Length: 0
<------------->
--- (14 headers 0 lines) ---
Call 3b6519606a2c7276 got a SIP call transfer from caller: (REFER)!
Failed SIP Transfer to non-existing extension 101 in context 10.outgoing_names
In this case, the transfer fails because context 10.outgoing_names is not prepared to handle calls to extension 101. Also, this is not the default context for any of the involved peers.
My question is what defines the context Asterisk uses to check the extensions after a REFER. Also, why Eyebeam's behavior is different from Polycom's?
Thanks in advance!
Start Free Trial