El Viernes, 30 de Enero de 2009, Dale Worley escribió:
> On Fri, 2009-01-30 at 19:07 +0100, Iñaki Baz Castillo wrote:
> > Because the device has not an unique AoR. It's a PBX or B2BUA that
> > generates calls with From:
> >   From: sip:pstn_num...@domain
>
> The device does not need an AOR.  All it needs is a SIP URI that can
> route the SUBSCRIBE request to the device.  And, of course, the device
> has to be well-made enough to support dialog event subscriptions.
>
> And example of how this can work:  Examine your SIP phone and determine
> the contact address it uses.  Now make a SUBSCRIBE request to the
> contact address (which, of course, is not an AOR).  You will receive
> NOTIFYs describing the dialogs that are active on your phone.

Let's detail it a bit more...

The dialog SUBSCRIBE is performed against the RURI value. You mean that:

- The phone sends a SUBSCRIBE like:
    SUBSCRIBE sip:[email protected]
    From: sip:[email protected]

- The PBX accepts it since it's programmed to allow it (I mean the 
subscribtion against "sip:[email protected]").

- The PBX receives an incoming call from the PSTN and calls 
to "sip:[email protected]".

- Also, the PBX is programmed to generate dialog NOTIFY when receiving a call 
from PSTN, so it sends a NOTIFY to Alice:
    --------------------------
    NOTIFY sip:al...@ip_alice
    From: sip:[email protected]

      <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
                   version="2" state="full"
                   entity="sip:[email protected]">
        <dialog id="as7d900as8" call-id="a84b4c76e66710"
                local-tag="1928301774" direction="initiator">
          <state>trying</state>
          <local>
            <identity>tel:+123456789</identity>     <---- NOTE !
            <target uri="sip:+123456...@pbx_ip"/>   <---- NOTE !
          </local>
          <remote>
            <identity>sip:[email protected]</identity> <---- NOTE !
          </remote>
        </dialog>
      </dialog-info>
    --------------------------

- So when Alice receives this NOTIFY, would it know that Bob is receiving a 
call from PSTN number +123456789 ?


I've seen no phone implementation showing both the caller and caller since 
usually the subscription is done against an specific AoR, so the phone just 
show who is calling to that AoR or which number that AoR is calling to.

Is the above possible?

Thanks a lot.






-- 
Iñaki Baz Castillo

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

Reply via email to