cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2257
Views
1
Helpful
15
Replies

Setting host in refer-to on REDIRECT TCL transfer

nate.koenig
Level 1
Level 1

I'm doing a SIP REFER transfer in TCL using the following:

set callInfo(originationNum) 1112223333

set callInfo(mode) "REDIRECT"

leg setup $dnisValue callInfo $incoming

Assuming dnisValue is 2223334444 for illustration purposes.

This works, in that the gateway sends a REFER message, with the REFER-to field being the dnis in the $dnisValue variable.

024410: May  3 11:25:09.360 EDT: //0/000000000000/SIP/Msg/ccsipDisplayMsg:

Sent:

REFER sip:2223334444@x.x.x.x:5060 SIP/2.0

<snip>

Refer-To: sip:2223334444@x.x.x.x

The problem is that the "x.x.x.x" (host portion of the refer-to) is the egress interface of the same gateway, instead of the carrier IP. The carrier is receiving the REFER, accepting it, then sending the call back to the gateway (since the x.x.x.x IP is the gateway.)

Is there a way to specify the host portion of the refer-to when doing the transfer via TCL? I would think it would be in callInfo if it is able to be set..

Thanks!

15 Replies 15

Looks like we can't set SIP URI as destination but only number,did you configured dial peer for refer-to destination.

Not sure why gateway ip address populated as the refer-to host in your case. Could you please share logs with below debugs.

debug voip app

debug ccsip messages

debug ccsip error

Thanks,

Raghavendra