[asterisk-users] Caller ID on Transfers

Douglas Garstang dgarstang at oneeighty.com
Tue Jul 25 13:03:00 MST 2006


> -----Original Message-----
> From: Joshua Colp [mailto:jcolp at digium.com]
> Sent: Tuesday, July 25, 2006 9:47 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [asterisk-users] Caller ID on Transfers
> 
> 
> ----- Original Message -----
> From: Douglas Garstang
> [mailto:dgarstang at oneeighty.com]
> To: Asterisk Users Mailing List -
> Non-Commercial Discussion [mailto:asterisk-users at lists.digium.com]
> Sent:
> Tue, 25 Jul 2006 16:31:13 -0300
> Subject: RE: [asterisk-users] Caller ID on
> Transfers
> 
> > 
> > I thought the new SIP invite had a 'Diverted' field or 
> something in it? If
> > that's true, this is really bad because I need some way in 
> my AGI script to
> > determine that it's a transferred call, and not a new call. 
> In the case of a
> > transferred call, we want to set the caller id to the 
> original calling party
> > info, not the transferring party info. I swear that last 
> week when I was
> > doing this, the RDNIS agi variable was being set and I 
> could use that to set
> > the caller id information as needed. However, now it's 
> suddenly stopped
> > working and I don't know why.
> > 
> > 
> > Is this documented somewhere?
> 
> No, the new INVITE does not have that info... I even just 
> tested it from my Polycom IP600, it was a regular normal 
> INVITE. As for documented about the call flow... probably 
> somewhere on the internet, it's a standard SIP REFER transfer 
> with a replaces.

If the new invite looks like a regular call, how can an AGI script tell that it's a transferred call?

Doug.



More information about the asterisk-users mailing list