sip session uri

Version 1
    This document was generated from CDN thread

    Created by: Patrick Hartl on 15-01-2010 01:02:32 PM
    Hello developer,
     
    I have a new problem or challenge :-)
     
    I have a vxml file which makes a sip call transfer.No I hve the problem, the called id should be dynamic.
    So I need a variable (<var =...) with the full SIP URI. I tested it with session.connection.remote.uri
    but this is only the hostname without the domain and port. But I think I need the complete one.
     
    Does anyone knows a session commando for this reason ?
     
    thx
    Patrick

    Subject: RE: sip session uri
    Replied by: Yawming Chen on 15-01-2010 05:55:08 PM
    Do you mean you need something like this:
     
    INVITE sip:1234567@xyx.com:5060 SIP/2.0

    Can you please specify what exactly you have to get ?

    Thx Yawming

    Subject: RE: sip session uri
    Replied by: Patrick Hartl on 17-01-2010 04:50:08 PM
    Hi,
     
    I need this fpr the transfer command. As I know, the command should be:
    sip:12345@domain.com:5060
     
    So i need a vxml command (for example session.connection.xxxx) to assign a variable with the URI (12345@domain.com:5060) 
    In my lab I have tested this issue. With session.connection.remote.uri I could assign the host (12345).
     
    But I need the whole URI. 
     
    Or a special command to get the domain !
     
    Do you know what I mean ?
     
    regards Patrick

    Subject: RE: sip session uri
    Replied by: Vijay Prasad Neelamegam on 18-01-2010 08:59:01 AM
    Hi Patrick,
     
    You can tyr using the following commands
     
    1) session.connection.originator :
    The value for this session variable will be returned as the sip address of the calling party:
    SESSION.CONNECTION.ORIGINATOR={ uri="sip:4078351234@xx.xx.xx.x" }
    2) session.connection.local.uri
     
    Thanks
    Vijay
     

    Subject: RE: sip session uri
    Replied by: Patrick Hartl on 18-01-2010 02:07:17 PM
    Thank you - the session.connection.local.uri was the solution !
    SOLVED

    regards