Blogs

Showing 13 results.
Items per Page 20
of 1

Forums

« Back to VXML-API

sip session uri

Combination View Flat View Tree View
Threads [ Previous | Next ]
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

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

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

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
 

RE: sip session uri
Answer
1/18/10 8:08 PM as a reply to Vijay Prasad Neelamegam.
Thank you - the session.connection.local.uri was the solution !
SOLVED

regards

Collateral


No files available