Re: [sipx-users] Problems with inbound call transfers
Ok, I finally got myself enough time to try and resolve this problem,
and have made some progress. I have attached the ngrep output, but
from my understanding of it it seems the topex box is not handling the
SIP refer (required to transfer a call) being sent to it from sipx
server .. although the topex box accepted the refer, it then turns
around and was unable to complete it.
Well, thats my understanding. Would appreciate a second opinion.
One secondary effect I have seen is that calls that have been affected
this way, remain hanging for hours and days on the sipx side (when you
list active calls via the web GUI). Its like sipx has actually
contacted the destination extension number (albeit without ringing the
extension) and is waiting for the topex side for confirmation before
it would hand-off the call to the destination extension. If at this
stage the topex side fails (as seems to be happening), sipx seems to
have no way of stopping the transferred call from being registered in
the system. I am just speculating here based on my observations, and
relative inexperience of sipx.
BTW, is their a CLI way I can list active calls in sipx ? Also, any
CLI commands to terminate active calls ? Relying only on the GUI can
be cumbersoome and inconvenient in some situations.
Thanks again, Scott for your previous response ..
regards,
--carl
On 22/06/2009, Carl Anthony <carlzeto@xxxxxxxxx> wrote:
> 2009/6/18 Scott Lawrence <scott.lawrence@xxxxxxxxxx>
>
> First of, thanks Scott for taking a look at my debug and responding.
> Apologies for my silence till now, I travelled about an hour after posting.
>
>
>
>> That was the Auto-Attendant (AA) you routed to on sipXecs, not the ACD,
>> but that's not the problem.
>>
>
> yes, thats correct .. my mistake. Meant AA and not ACD.
>
>>
>> > I have attached an ngrep capture of the SIP exchanges (ext 100 is to
>> > the ACD on the sipx).
>>
>> Your gateway sent:
>>
>> INFO sip:100@xxxxxxxxxxx:5100 SIP/2.0.
>> Content-Type: application/dtmf-relay.
>> Content-Length: 23.
>>
>> Signal=2.
>> Duration=70.
>>
>> and sipXecs AA replied:
>>
>> SIP/2.0 405 Method Not Allowed.
>>
>> sipXecs does not support DTMF transport via INFO messages. If you can
>> configure your gateway to send using RFC 2833 telephony signaling in
>> RTP, it should work.
>>
>> Well, I was initially sending RFC 2833 and was getting exactly the same
> response. Also, given that sipx would only work with RFC 2833, one would
> have expected that sipx would then not try to transfer the call as it
> currently doing.
>
> I will play around with a few more settings, and come back with my results.
> Once again, thanks a million for responding.
>
interface: eth2 (192.168.0.0/255.255.0.0)
filter: (ip) and ( port 5060 and host 192.168.0.5 )
U 2009/07/01 19:20:43.504845 192.168.0.5:5060 -> 192.168.0.2:5060
INVITE sip:100@xxxxxxxxxxx:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK4ec9f9e3.
Call-ID: 58905037-436d1983-358e88d6-777badc2@xxxxxxxxxxxx
CSeq: 1 INVITE.
From: "08078347440" <sip:08078347440@xxxxxxxxxxx:5060>;tag=top1904719308.
P-Asserted-Identity: <sip:08078347440@xxxxxxxxxxx:5060>.
To: <sip:100@xxxxxxxxxxx:5060>.
Contact: <sip:08078347440@xxxxxxxxxxx:5060>.
Supported: timer,replaces.
Session-Expires: 1800.
Allow:
REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,INFO,UPDATE,REFER,SUBSCRIBE,NOTIFY,PUBLISH.
Max-Forwards: 70.
User-Agent: Topex_Ver_4.3.30.
Content-Type: application/sdp.
Content-Length: 275.
.
v=0.
o=root 350790 350790 IN IP4 192.168.0.6.
s=Topex.
c=IN IP4 192.168.0.6.
t=0 0.
m=audio 10006 RTP/AVP 0 8 4 18 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:4 G723/8000.
a=rtpmap:18 G729/8000.
a=rtpmap:101 telephone-event/8000/1.
a=fmtp:101 0-16.
a=sendrecv.
U 2009/07/01 19:20:43.507828 192.168.0.2:5060 -> 192.168.0.5:5060
SIP/2.0 100 Trying.
From: "08078347440" <sip:08078347440@xxxxxxxxxxx:5060>;tag=top1904719308.
To: <sip:100@xxxxxxxxxxx:5060>.
Call-Id: 58905037-436d1983-358e88d6-777badc2@xxxxxxxxxxxx
Cseq: 1 INVITE.
Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK4ec9f9e3.
Content-Length: 0.
.
U 2009/07/01 19:20:43.692505 192.168.0.2:5060 -> 192.168.0.5:5060
SIP/2.0 180 Ringing.
From: "08078347440" <sip:08078347440@xxxxxxxxxxx:5060>;tag=top1904719308.
To: <sip:100@xxxxxxxxxxx:5060>;tag=2016578940.
Call-Id: 58905037-436d1983-358e88d6-777badc2@xxxxxxxxxxxx
Cseq: 1 INVITE.
Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK4ec9f9e3.
Contact:
<sip:100@xxxxxxxxxxx:5100;transport=tcp;voicexml=https%3A%2F%2Flocalhost%3A8091%2Fcgi-bin%2Fvoicemail%2Fmediaserver.cgi%3Faction%3Dautoattendant%26name%3Daa_7>.
Date: Wed, 01 Jul 2009 18:20:43 GMT.
User-Agent: sipXecs/3.10.2 sipXecs/vxml (Linux).
Accept-Language: en.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY.
Supported: sip-cc, sip-cc-01, replaces, replaces.
Content-Length: 0.
.
U 2009/07/01 19:20:43.705031 192.168.0.2:5060 -> 192.168.0.5:5060
SIP/2.0 200 OK.
From: "08078347440" <sip:08078347440@xxxxxxxxxxx:5060>;tag=top1904719308.
To: <sip:100@xxxxxxxxxxx:5060>;tag=2016578940.
Call-Id: 58905037-436d1983-358e88d6-777badc2@xxxxxxxxxxxx
Cseq: 1 INVITE.
Contact:
<sip:100@xxxxxxxxxxx:5100;transport=tcp;voicexml=https%3A%2F%2Flocalhost%3A8091%2Fcgi-bin%2Fvoicemail%2Fmediaserver.cgi%3Faction%3Dautoattendant%26name%3Daa_7>.
Content-Type: application/sdp.
Content-Length: 210.
Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK4ec9f9e3.
Record-Route:
<sip:192.168.0.2:5060;lr;sipXecs-rs=%2Afrom%7EdG9wMTkwNDcxOTMwOA%60%60.400_authrules%2Aauth%7E%218c30858699b9bf5970aee44a92c1d042>.
Session-Expires: 1800.
Date: Wed, 01 Jul 2009 18:20:43 GMT.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY.
User-Agent: sipXecs/3.10.2 sipXecs/vxml (Linux).
Accept-Language: en.
Supported: sip-cc, sip-cc-01, replaces, replaces.
.
v=0.
o=sipXecs 5 11 IN IP4 192.168.0.2.
s=phone-call.
c=IN IP4 192.168.0.2.
t=0 0.
m=audio 9000 RTP/AVP 0 8 101.
a=sendrecv.
a=rtpmap:0 pcmu/8000/1.
a=rtpmap:8 pcma/8000/1.
a=rtpmap:101 telephone-event/8000/1.
U 2009/07/01 19:20:43.707133 192.168.0.5:5060 -> 192.168.0.2:5100
ACK sip:100@xxxxxxxxxxx:5100 SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK632d42ba.
Route:
<sip:192.168.0.2:5060;lr;sipXecs-rs=%2Afrom%7EdG9wMTkwNDcxOTMwOA%60%60.400_authrules%2Aauth%7E%218c30858699b9bf5970aee44a92c1d042>.
Call-ID: 58905037-436d1983-358e88d6-777badc2@xxxxxxxxxxxx
Contact: <sip:08078347440@xxxxxxxxxxx:5060>.
CSeq: 1 ACK.
From: "08078347440" <sip:08078347440@xxxxxxxxxxx:5060>;tag=top1904719308.
To: <sip:100@xxxxxxxxxxx:5060>;tag=2016578940.
Supported: timer,replaces.
Allow:
REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,INFO,UPDATE,REFER,SUBSCRIBE,NOTIFY,PUBLISH.
Max-Forwards: 70.
Content-Length: 0.
.
U 2009/07/01 19:20:59.549683 192.168.0.2:5060 -> 192.168.0.5:5060
REFER sip:08078347440@xxxxxxxxxxx:5060 SIP/2.0.
From: <sip:100@xxxxxxxxxxx:5060>;tag=2016578940.
To: "08078347440" <sip:08078347440@xxxxxxxxxxx:5060>;tag=top1904719308.
Call-Id: 58905037-436d1983-358e88d6-777badc2@xxxxxxxxxxxx
Cseq: 2 REFER.
Contact:
<sip:100@xxxxxxxxxxx:5100;transport=tcp;voicexml=https%3A%2F%2Flocalhost%3A8091%2Fcgi-bin%2Fvoicemail%2Fmediaserver.cgi%3Faction%3Dautoattendant%26name%3Daa_7>.
Referred-By: <sip:100@xxxxxxxxxxx:5060>.
Refer-To:
<sip:222@xxxxxxxxxxxxxx?X-Sipx-Authidentity=%3Csip%3A%7E%7Eid%7Emedia%40justice.gov.ng%3Bsignature%3D4A4BA90B%253A%253A3a0054f9bc425155e42fc1903f2a3f46%3E>.
Date: Wed, 01 Jul 2009 18:20:59 GMT.
Max-Forwards: 19.
User-Agent: sipXecs/3.10.2 sipXecs/vxml (Linux).
Accept-Language: en.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY.
Supported: sip-cc, sip-cc-01, replaces, replaces.
Proxy-Authorization: Digest username="~~id~media", realm="justice.gov.ng",
nonce="a4cafbcf87d7a04b2e8dd03896beb2944a4ba90b",
uri="sip:08078347440@xxxxxxxxxxx:5060",
response="97aca3cabaed791df95ee4abcaea3f10".
Via: SIP/2.0/UDP
192.168.0.2;branch=z9hG4bK-sipXecs-0df9173baf73c87573f01f58936a02bc3aef.
Via: SIP/2.0/UDP
192.168.0.2:5100;branch=z9hG4bK-sipXecs-000a8a6c7e33998ee09e8b07f9634f46e2c3.
Content-Length: 0.
.
U 2009/07/01 19:20:59.555286 192.168.0.5:5060 -> 192.168.0.2:5060
SIP/2.0 202 Accepted.
Via: SIP/2.0/UDP
192.168.0.2;branch=z9hG4bK-sipXecs-0df9173baf73c87573f01f58936a02bc3aef.
Via: SIP/2.0/UDP
192.168.0.2:5100;branch=z9hG4bK-sipXecs-000a8a6c7e33998ee09e8b07f9634f46e2c3.
Call-ID: 58905037-436d1983-358e88d6-777badc2@xxxxxxxxxxxx
CSeq: 2 REFER.
From: <sip:100@xxxxxxxxxxx:5060>;tag=2016578940.
To: "08078347440" <sip:08078347440@xxxxxxxxxxx:5060>;tag=top1904719308.
Contact: <sip:08078347440@xxxxxxxxxxx:5060>.
Allow:
REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,INFO,UPDATE,REFER,SUBSCRIBE,NOTIFY,PUBLISH.
Max-Forwards: 70.
Content-Length: 0.
.
U 2009/07/01 19:20:59.556305 192.168.0.5:5060 -> 192.168.0.2:5100
NOTIFY sip:100@xxxxxxxxxxx:5100 SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK43c49d2b.
Route:
<sip:192.168.0.2:5060;lr;sipXecs-rs=%2Afrom%7EdG9wMTkwNDcxOTMwOA%60%60.400_authrules%2Aauth%7E%218c30858699b9bf5970aee44a92c1d042>.
Call-ID: 58905037-436d1983-358e88d6-777badc2@xxxxxxxxxxxx
CSeq: 2 NOTIFY.
From: "08078347440" <sip:08078347440@xxxxxxxxxxx:5060>;tag=top1904719308.
To: <sip:100@xxxxxxxxxxx:5060>;tag=2016578940.
Supported: timer,replaces.
Allow:
REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,INFO,UPDATE,REFER,SUBSCRIBE,NOTIFY,PUBLISH.
Max-Forwards: 70.
Event: refer.
Subscription-State: active;expires=60.
Content-Type: message/sipfrag.
Content-Length: 20.
.
SIP/2.0 100 Trying.
.
U 2009/07/01 19:20:59.563369 192.168.0.2:32789 -> 192.168.0.5:5060
SIP/2.0 200 OK.
From: "08078347440" <sip:08078347440@xxxxxxxxxxx:5060>;tag=top1904719308.
To: <sip:100@xxxxxxxxxxx:5060>;tag=2016578940.
Call-Id: 58905037-436d1983-358e88d6-777badc2@xxxxxxxxxxxx
Cseq: 2 NOTIFY.
Contact:
<sip:100@xxxxxxxxxxx:5100;transport=tcp;voicexml=https%3A%2F%2Flocalhost%3A8091%2Fcgi-bin%2Fvoicemail%2Fmediaserver.cgi%3Faction%3Dautoattendant%26name%3Daa_7>.
Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK43c49d2b.
Date: Wed, 01 Jul 2009 18:20:59 GMT.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY.
User-Agent: sipXecs/3.10.2 sipXecs/vxml (Linux).
Accept-Language: en.
Supported: sip-cc, sip-cc-01, replaces, replaces.
Content-Length: 0.
.
U 2009/07/01 19:21:14.548498 192.168.0.5:5060 -> 192.168.0.2:5100
BYE sip:100@xxxxxxxxxxx:5100 SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK452e66e9.
Route:
<sip:192.168.0.2:5060;lr;sipXecs-rs=%2Afrom%7EdG9wMTkwNDcxOTMwOA%60%60.400_authrules%2Aauth%7E%218c30858699b9bf5970aee44a92c1d042>.
Call-ID: 58905037-436d1983-358e88d6-777badc2@xxxxxxxxxxxx
CSeq: 3 BYE.
From: "08078347440" <sip:08078347440@xxxxxxxxxxx:5060>;tag=top1904719308.
To: <sip:100@xxxxxxxxxxx:5060>;tag=2016578940.
Reason: Q.850 ;cause=41 ;text="Temporary failure".
Supported: timer,replaces.
Allow:
REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,INFO,UPDATE,REFER,SUBSCRIBE,NOTIFY,PUBLISH.
Max-Forwards: 70.
Content-Length: 0.
.
U 2009/07/01 19:21:14.561257 192.168.0.2:32789 -> 192.168.0.5:5060
SIP/2.0 200 OK.
From: "08078347440" <sip:08078347440@xxxxxxxxxxx:5060>;tag=top1904719308.
To: <sip:100@xxxxxxxxxxx:5060>;tag=2016578940.
Call-Id: 58905037-436d1983-358e88d6-777badc2@xxxxxxxxxxxx
Cseq: 3 BYE.
Contact:
<sip:100@xxxxxxxxxxx:5100;transport=tcp;voicexml=https%3A%2F%2Flocalhost%3A8091%2Fcgi-bin%2Fvoicemail%2Fmediaserver.cgi%3Faction%3Dautoattendant%26name%3Daa_7>.
Via: SIP/2.0/UDP 192.168.0.5:5060;branch=z9hG4bK452e66e9.
Date: Wed, 01 Jul 2009 18:21:14 GMT.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY.
User-Agent: sipXecs/3.10.2 sipXecs/vxml (Linux).
Accept-Language: en.
Supported: sip-cc, sip-cc-01, replaces, replaces.
Content-Length: 0.
.