CVP Custom SIP Header
Any one can help with sending Custom SIP Header from CVP to ICM and vice versa ..
i have read about that in the SRND and the Config Admin Guide .. but still i can't make sure that the Call.SIPHeader is passed correctly to the ICM .
I got this working in our environment and it works differently than you would expect.
This creates a SIP header called "TestSIPHeader". All that this does is tell CVP to parse this value from the SIP messaging and send it to ICM in the Call.SIPHeader variable (which contains a max of 255 characters)
And this is how I inserted the data into a Peripheral Variable:
And when the call arrived at the client:
Notice that in my example above that the only value in Variable 1 is the Value of SIP header "Fred". This is because CVP is only parsing out headers that are in the message when it gets to CVP. We inserted the SIP Header at our SBC before we sent it to CVP, so it was able to parse it out and send it to the Call.SIPHeader variable in ICM.
I hope this helps a little. I know that I found this post and wished someone would answer it. I didn't think it would me me.
Similar Messages
-
How to custom SIP header...
someone can share some doc. about custom sip header?
i look up some doc.but i can't understand how to do .....
like configration guid.....
thanks very much .... please help me ......Some good examples:
http://www.cisco.com/en/US/products/sw/voicesw/ps5640/products_configuration_example09186a0080982499.shtml
http://www.markholloway.com/blog/?p=912
http://blog.ine.com/2010/08/20/sip-normalization-for-itsp-internetworking-using-cisco-unified-border-element-cube/
There are donzes of others you can google for.
HTH,
Chris -
How to assign the dynamic value of PV to Sip Header in ICM?
Hi everybody,
I would like to ask your help, please. We are working on Temporary IVR Handoff (ICM+CVP). I need to add/modify a customer Sip header in ICM transfer script. The value for that header is dynamic and stored in the one of ICM Call Peripherial Variables (PV9, for examle).
Is it possible somehow to assign the value of that PV9 to Sip header (Set Variable Call.SipHeader)? I tried to do it but unfortunally without any success. I can assign any static string, but how to assign the value of the PV??? That's the question...
For static string assignment the syntax of the Set Variable Node (Call.SipHeader) looks like that:
"IVR-Handoff~add~It's Cisco"
and it works fine.
For dynamic value (PV9) I tried:
"IVR-Handoff~add~Call.PeripherialVariable9" - it add Call.PeripherialVariable9 as a string, but not it's value;
"IVR-Handoff"~add~Call.PeripherialVariable9 - returns a syntax error;
Call.PeripherialVariable9 - no Sip header is added.
What do you think? Is it doable at all?
Any ideas, answers or examples how to do it would be much appreciated.
Thank you in advance.
Dmitriy.Hi Senthil,
Yes! It works, but with the little difference. The right answer is:
"IVR-Handoff~add~"&Call.PeripherialVariable9
(Call.PeripherialVariable9 is without quotes, otherwise it insert the name of the variable, but not it's value)
The other solution is shown here (thanks to Paul Tindall):
http://developer.cisco.com/web/cvp/forums/-/message_boards/message/15627744?p_p_auth=6psgR8ML
concatenate("IVR-Handoff~add~",Call.PeripherialVariable9)
Thank you so much for the idea! I very appreciate your help and vote you. -
Get Custom SOAP Header Value in SOA Suite 11.1.1.6 using BPEL 1.1
Hi Experts,
We are using SOA Suite 11.1.1.6 and in one of the projects we have requirement to retrieve custom SOAP header value.
This is enhancement to existing process which is developed using BPEL 1.1 and deployed to Production. So we cannot convert this now to BPEL 2.0
We suggested to use custom XML element in Header the definition of which will be defined in custom XSD and stored in common location. However the 3rd party who are invoking this service will not be able to do any customization in their process to pass custom XML header.
Please can you help me in providing any approach through which we can retrieve custom Header value from SOAP header using BPEL 1.1
I have read some blogs for retrieving the custom XML header but they are using BPEL 2.0. I would like achieve this functionality using BPEL 1.1
Appreciate your inputs.
Thanks in Advance - RKHello RK,
Have you've tried to put the bpex:outputHeaderVariable on the invoke activity of the invoked service.
<invoke name="Invoke"
bpelx:outputHeaderVariable="HeaderVariable"/>
Where the "HeaderVariable" reflects the XSD Datastructure of the received header.
This is also specified here in section 6.19.1 How to Receive SOAP Headers in BPEL
Please note that the exact header must be specified in the WSDL of the invoked service.
Also note that in case of a soap fault. No header will be returned from the invoked service but only a /soap/body/fault part.
Good luck!
Melvin -
I want to use the custom request header in JSP How can I use that
Hi Guys,
I have following scenerio...
1: There is one third party tool which is calling my.jsp page from the specified directory.
2: Before calling the JSP that third party tool is adding some data like <user name> and <password > in the header of that JSP.
Problem: I am not getting thos custom added header in side the JSP.
Header information is given below:
http://localhost:8100/wvsat/brand/ncr/auto.jsp
GET /<APPLICATION_NAME>/ <JSP_PAGE_NAME>.jsp HTTP/1.1
Host: localhost:8100
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: AreCookiesEnabled=195; JSESSIONID=2a30e33e48384dd13222
MyUsername: demo*
MyPassword : demo*
HTTP/1.x 200 OK
Date: Wed, 24 Sep 2008 19:42:22 GMT
Content-Type: text/html; charset=UTF-8;application/x-www-form-urlencoded
Connection: close
Server: JRun Web Server
Now within the JSp page i want the value of MyUserName and MyPassword
For gettting these value i am using the request.getHeader(MyUserName);But it is returning null.
Note:+*
1: I want to forward this value to another servlet which is based on Struts framework_.
2: For adding the value in the header i am using Http Live header Addons of FireFox_
Could anyone help me in the same!!!
Thanks in AdvanceSorry, perhaps I was not explicit enough.
Your code snippet: request.getHeader(MyUserName);
It was missing quotes to make it a String value.
If that is what you have, then it is using the VARIABLE MyUserName, and not the actual value "MyUserName" -
Unable to add custom SOAP header to consumer webservice in CRM( without using PI)
Hello Experts,
We have a requirement to consume webservice proxy in CRM without involving PI. We have WSDL file which has many services as depicted in the first screenshot.After checking old posts, I could add custom SOAP header by using if_wsprotocol_ws_header and there is no xml parsing error for ws_header.Have used if_ixml_stream_factory to check xml parsing error for header.
'<soapenv:Header>'
'<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">'
'<wsse:UsernameToken wsu:Id="UsernameToken-2">'
'<wsse:Username>user id</wsse:Username>'
'<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">paswd</wsse:Password>'
'<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">MT0B9XFzsZJXXKmVKOsj/Q==</wsse:Nonce>'
'<wsu:Created>2015-03-30T06:29:17.407Z</wsu:Created>'
'</wsse:UsernameToken>'
'</wsse:Security>'
'</soapenv:Header>' INTO l_string.
But when my ABAP program as a whole gets executed where consumer proxy is called, then it still throws XML parsing error - undeclared namespace prefix. As mentioned, there is no parsing error for header and WSDL file as a whole in SOAP UI tool works fine,by manually adding SOAP header.
Have configured SOAMANAGER with logical port.Or any wrong setting in SOAMANAGER can cause this issue? When I tested webservice ping, it gave me attached error but I read in a SAP note that such error can be ignored.
I want to know if some more setting/coding is required if we manually add custom header to a payload? Is PI really required to implement this requirement? Payload mapping has to be done to add custom header and if that can be taken care by ABAP coding and how?
Can you please help?
BR,
Nisha VermaHello Experts,
I have not found the solution yet.
Can anyone provide some insight??
BR,
Nisha Verma -
AP to GL Transfer: How to have a custom Journal Header name in GL.
Hi,
Does any one know how to have a custom Journal Header name while transferring the Journals from AP to GL?
Assume that I am transferring the Journals which belongs to a Single Invoice from AP to GL. When these Journals are transferred from AP to GL, Oracle will create a Journal Header with the default naming convention. The Oracle generated Header name will be as shown below.
*123456 Purchase Invoices USD*. Where 123456 is AE_HEADER_ID and USD is the Invoice Currency code.
Our requirement is, we want the Journal Header name something like *"Hello World"+TIMESTAMP*, where TIMESTAMP is the date when the user has ran the AP to GL transfer program.
I know that when building the AAD(Application Accounting Definition) we can define the Journal Header descriptions and Journal Lines descriptions. But, I did not see any setup option to have the custom Journal Header name in GL.
Any suggestions on this issue are highly appreciated.
Advanced Thanks,
Lokesh.Hi Lokesh,
The best way to have a custom journal header name is using hook package.
When data move from XLA to GL, every time it creates a new dynamic table as GL_INTERFACE table but the name is different (XLA_GLT_XXXXX).
This table information stores in 'gl_interface_control' table but after use the record has deleted from 'gl_interface_control'.
So we can't see table information after finishing create accounting program.
What the modification you will made in this table it will affect GL base table. So to made custom journal header name, we need to change Reference4 column of dynamic table.
Here is the code to get the table name and through procedure you can update the Reference4 column.
FUNCTION pre_module_hook(run_id IN NUMBER,
errbuf IN OUT NOCOPY VARCHAR2) RETURN BOOLEAN IS
chr_errbuf varchar2(50);
chr_retcode varchar2(50);
l_interface_Table_name varchar2(2000);
BEGIN
SELECT interface_table_name
into l_interface_Table_name
FROM gl_interface_control
WHERE interface_run_id = run_id;
BEGIN
xxdb_gl_icaccntgdist_pkg.gl_int_jrnl_update (chr_errbuf,chr_retcode,l_interface_Table_name);
RETURN(TRUE);
END;
END pre_module_hook;
Make these changes in GL_IMPORT_HOOK_PKG.pre_module_hook function.
You can make the changes through calling procedure using dynamic query under the function pre_module_hook.
Thanks,
Gaurav K
Edited by: 972729 on Nov 22, 2012 4:46 AM -
SOAP Sender Adatper - Read custom http header field
Hello,
i try to read a custom http header into the dynamic configuration of a message - but it is not working as expected - in ASMA i configured to get the value of MYHEADER1 into XHEADERNAME1 - when testing with a MYHEADER1 value, the value is not put into XHEADERNAME1.
Is it possible to get custom HTTP Headers in the message?
bf
franzI have quite the same problem!
I try to make the receiver determination based on the content of XHeaderName1, but none of the Dynamic Configuration parameters is shown in the sxi_monitor.
I've described my scenario in more detail in this thread
http://scn.sap.com/message/13586532#13586532
Does anyone have an idea? -
How to add new custom SOAP header when generate webservice?
Hi
When invoke an external webservice, SOA Gateway provide a method to add new customized SOAP Header, via extending seeded java function "WebServiceInvokerSubscription".
And in case of generating a new webservice in EBS, is there some similar method to add new customized SOAP header in the webservice?
Thanks
JamesLook at your Payment Process Profile. THere should be a reporting subtab and within that subtab is a Separate Remittance Advice region. I believe that is where you specify the format for the remittance advice document (which is built in XML Publisher). Take a look at that.
John Dickey -
I am trying to make a custom table header. I have seen some examples on the web such as
<mx:DataGridColumn width="150" dataField="SalePrice"
headerRenderer="myComponents.RendererDGHeader"/>
where that class is a Box
I also tried to inline it as such:
<mx:DataGridColumn draggable="false" editable="true" headerText="Source RNC" headerStyleName="tableHeader" dataField="sourceRNC">
<mx:headerRenderer>
<fx:Component>
<mx:DataGridItemRenderer>
<s:Group/>
</mx:DataGridItemRenderer>
</fx:Component>
</mx:headerRenderer>
</mx:DataGridColumn>
In both these cases I get the following:
VGroup declaration must be contained within the <Declerations>
tag since it does not implement mx.core.IUIComponent
Now clearly it does. Is this a bug or am I doing something
wrong. My goal is for the table's header to have a combo
box and a text field below the header's name to put filter
options on the column(like hide values <5) etc
Thanks, I know I have been posting a lot of questions latelyBy using s:MXDataGridItemRenderer, your renderer is now using Spark, and in Spark, clipping is not available by default. You have to set clipAndEnableScrollbars=true on the layout. Headers are asked for height if variableRowHeight=true, but not width. The width is determined by the DG columns.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
Custom Http header in remote object
Hi, how to set custom http header in http request while using remote object in flex?
Thank You, Patrick.
You are best :)
I read this APEX_WEB_SERVICE documentation before,
but after I read once more time
I found most important words "global variable g_request_headers".
I think these variables must be described more in documentation.
On APEX I did:
1) Create New Page -> Form -> Form and Report On Webservice Results.
2) Set all webservice paramters in page wizard.
3) And create a new page process after submit:
Begin
apex_web_service.g_request_headers(1).name := 'username';
apex_web_service.g_request_headers(1).value := ' ... ';
apex_web_service.g_request_headers(2).name := 'password';
apex_web_service.g_request_headers(2).value := ' ... ';
End;
4) It's most important that this process must be done before the webservice process.
Good luck -
Hi,
I have just setup a new SIP trunk with a local provider and we need to have the caller name added to the SIP packets. Here is our sip profile.
voice class sip-profiles 1
request INVITE sip-header To modify "@.*>" "@siptrunking.bell.ca>"
request INVITE sip-header Contact modify "@" ";tgrp=calgary_01_403XXXXXXX;trunk-context=siptrunking.bell.ca@"
request INVITE sip-header SIP-Req-URI modify "XXX.XXX.XXX.XXX" "siptrunking.bell.ca"
request INVITE sip-header P-Asserted-Identity modify "(@.*)>" "@domain.com;user=phone>"
request INVITE sip-header Diversion modify "@.*>" "@siptrunking.bell.ca;user=phone>"
request INVITE sip-header From modify "(@.*)>" "@domain.com;user=phone>"
Calls are going through with this and the following packet is being sent out.
Sent:
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK1E09D1DFF
From: <sip:[email protected];user=phone>;tag=1090D060-117C
To: <sip:[email protected]>
Date: Fri, 09 Jan 2015 17:36:39 GMT
Call-ID: [email protected]
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE: 900
Cisco-Guid: 0015978767-2802909515-2130729220-0167905803
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Timestamp: 1420824999
Contact: <sip:XXXXXXXXXX;tgrp=calgary_01_403XXXXXXX;trunk-context=[email protected]:5060>
Expires: 180
Allow-Events: telephone-event
P-Asserted-Identity: <sip:[email protected];user=phone>
Content-Length: 0
We need to have the From and the P-Asserted-Identity changed to
"Caller Name" <sip:[email protected];user=phone>
Does anyone know how to do this?have you set the name for each DN? if so, it has to go out thru SIP Trunk.
if you want to set same caller name for all the calls, you can do it by SIP profile as below
request INVITE sip-header Remote-Party-ID modify "\"(.*)\" " "\"CallerName\" "
request INVITE sip-header From modify "\"(.*)\" " "\"Caller Name\" " -
Is there any way to add custom http header (not soap header) into Soap request sending by BPEL server to soap server
Regards
JLooks like it possible via the Partner Link properties: httpUsername and httpPassword
Check http://www.oracle.com/technology/pub/articles/bpel_cookbook/chandran.html
Under step 4.
Regards Pete -
How to create iView for customized master head war ?
Hi,
I deployed customized masterhead war file. But i cant see deployed war in portal application location.
Anyone help me for customizing and masterhead page and how to create iView for customized master head...Hi,
1. You can see the deployed application under the "Portal Applications"
2. If you want to create an iView out of it. right click on the application -> copy. than press right click in the folder you want the iView will be created and paste ad pcd object.
Hope I helped you.
Ronny. -
Does SPA122 support a custom "From" header in SIP INVITE msg?
Our SIP service provider allows me to specify the calling line identification (CLI) for outgoing calls by placing the appropriate string in the "From" field of the SIP INVITE msg.
This is independent of the "User ID" needed to register with the service.
Does the SPA122 provier a way to specify a suitable "From" string?You can use the 'Display Name' field to send another name or number out to the other side.
Maybe you are looking for
-
I have goen back to Firefox 3.6. Why isn't my AdBlock plus working?
(This is my 3rd try on this stupid new computer [just shy of 2 months]. It is an HP laptop with Windows 7. It is TOO responsive. It erases entire things I am writing for reasons I have no idea why....) Anyway. I have had this problem once before. I h
-
Copy Control From Sales Order to Purchase Order
Hi Experts, I want to ask how the copy control from Sales Order to Purchase Document can be done? Because they are instances that the users have some items in the Sales Orders not copied to Purchase Document. Thanks a lot!
-
Jagged vector graphics from Illustrator in Indesign
Using CS3, Leopard, have all updates. I'm having problems with vector graphics created in Illustrator getting jagged when dragged from Illustrator to Indesign (or copied and pasted or placed as Illustrator file). They look jagged (stair stepped) in I
-
Can't start gnome-session after system update.
hi all I have done a whole system update . pacman -Syu and now I can't start the desktop environment. I tried to delete the xorg.conf and create new 1 and then copy it to /etc/X11 X -configure but that didn't work. and when I am trying to create new
-
HI, In 0CRM_c04. I have a Zinfoobject which is the transaction number of each Oppt. For each Oppt created a transaction number is created as well. And the No.of doc headers will be set to 1. I have the transaction number created and data transfered