On 9/26/11 12:00 PM, Worley, Dale R (Dale) wrote:
> ________________________________________
> From: [email protected] 
> [[email protected]] On Behalf Of Ramesh Babu 
> Kuppili [[email protected]]
>
> We have a analog to SIP gateway that collects digits dialed from POTS lines 
> and initiates the SIP call by sending INVITE to a proxy server.
>
> How can a user agent detect that it is calling itself in SIP? Either from 
> incoming INVITE or from a INVITE response?
>
> We have to implement a feature which gets triggered based on this situation.
> _______________________________________________
>
> If an incoming INVITE has a Call-Id that is the same as the Call-Id of an 
> INVITE that the UA sent...

This works in simple cases.

But if the call traverses an SBC or gateway before getting back to 
itself, it can get difficult to tell.

Depending on what you are trying to do, you can either ignore this case, 
treating it as not a call to self, or else you can employ heuristics to 
decide when you know you have an outgoing call pending.

        Thanks,
        Paul
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to