Avaya Support Forums  

Go Back   Avaya Support Forums > Avaya Aura & Unified Communications

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-12-2010, 12:14 PM
yingbinzhang yingbinzhang is offline
Aspiring Member
.
 
Join Date: Mar 2010
Posts: 2
yingbinzhang has 10 reputation points
Angry Question on SM can not use adaptation to convert SIP invite header

Hi,

I configured an adaptation with module name "DigitConversionAdapter" to convert the destination IP feild of SIP invite header sent from Dialogic, two parameters are added also.

Module name: DigitConversionAdapter
Module parameters: iodstd=aura.ctrip.com iosrcd=aura.ctrip.com
Matching Pattern 81070000
Min=8
Max=8
Delete=8
Insert=27100 which is extension number.

The problem is dialogic sent sip invite like "called#@SM-100 IP", to SM. Using adaptation, the SM-100_IP should be changed to SIP domain name which already defined in this adaptation, but failed, SM will NOT use this adaptation to convert the SM-100_IP. But, if I change the SM-100 IP to any other IP, such as IP of default gateway, the same adaptation will work, change the default gateway's IP to "aura.ctrip.com", and then route the call sucessfully.

My question is why SM does NOT use adaptation to convert the SM-100 IP address within SIP invite header, but can convert any others.
Reply With Quote
  #2  
Old 03-12-2010, 01:08 PM
yingbinzhang yingbinzhang is offline
Aspiring Member
.
 
Join Date: Mar 2010
Posts: 2
yingbinzhang has 10 reputation points
Default

Below is for the failed call routing
************************************************** *********************
2010-03-12 23:36:13,702 datadistributionlayer.JGroupReceiverAdapter FINEST - handle(): src: 10.255.189.21:39095, message=DataDistLayerMessage[host=DataDistLayerMemberAddr[memberName='null', clusterName='10.255.189.21', hostId='10.255.189.21:34413'], targetApp=ASM_CALL_PROC_SERVLET, messageType=0, payload=sip:2@s.com : sip:81070000@10.255.188.21 : 10.255.188.91 : 5060 : UDP : 1268408222974]
2010-03-12 23:36:13,702 common.ASMCallProcessingServlet FINEST - testCallRouting got a request with input sip:2@s.com : sip:81070000@10.255.188.21 : 10.255.188.91 : 5060 : UDP : 1268408222974
2010-03-12 23:36:13,702 common.ASMCallProcessingServlet FINEST - Application Session 016asm-callprocessing.sar347930378~1268408173702~-1744061638~1 was created
2010-03-12 23:36:13,703 common.ASMCallProcessingServlet FINEST - Session with call ID -106291195327533518@10.255.189.21 and id 016asm-callprocessing.sar347930378~1268408173703~-1744061637~1 was created.
2010-03-12 23:36:13,703 common.ASMCallProcessingServlet FINEST - INVITE(-106291195327533518@10.255.189.21): SMCallProcessing doRequest SAS 016asm-callprocessing.sar347930378~1268408173702~-1744061638~1
2010-03-12 23:36:13,703 common.ASMCallProcessingServlet FINEST - INVITE(-106291195327533518@10.255.189.21): SS 016asm-callprocessing.sar347930378~1268408173703~-1744061637~1
2010-03-12 23:36:13,703 common.ASMCallProcessingServlet FINEST - set ROUTING_APPSESSION in request
2010-03-12 23:36:13,703 siproutingelement.SREUtilities FINEST - INVITE(-106291195327533518@10.255.189.21): getOriginatingEntity using parameters: 10.255.188.91 5060 UDP
2010-03-12 23:36:13,703 dao.SIPEntityDAO FINEST - getSIPEntityByAddress(10.255.188.91) returned [SipEntity[id=65558, name="nt-dialogic-south-01", type=Gateway, addr=10.255.188.91, 3263=false, adapt=32771, proxy=null, loc=null, mon=true/100/100, cdr=none]]
2010-03-12 23:36:13,704 dao.HostNameDAO FINEST - getResolvedNameByAddress(10.255.188.91) returned []
2010-03-12 23:36:13,704 datamgr.SipRoutingElementDM FINEST - getOriginatingEntity(10.255.188.91) matched link Link[entityId1=65537, entityId2=65558, portEntity1=5060, portEntity2=5060, trusted=true, transport=UDP, biDirId=null]; returning entity SipEntity[id=65558, name="nt-dialogic-south-01", type=Gateway, addr=10.255.188.91, 3263=false, adapt=32771, proxy=null, loc=null, mon=true/100/100, cdr=none]
2010-03-12 23:36:13,704 siproutingelement.SREUtilities FINEST - INVITE(-106291195327533518@10.255.189.21): getOriginatingEntity returned entity with id = 65558
2010-03-12 23:36:13,704 siproutingelement.SREUtilities FINEST - INVITE(-106291195327533518@10.255.189.21): remote host is trusted
2010-03-12 23:36:13,704 datamgr.NameResolutionDM FINEST - matchHosts(10.255.188.21,10.255.188.21) returning true
2010-03-12 23:36:13,704 common.ASMCallProcessingServlet FINE - INVITE(-106291195327533518@10.255.189.21): No domain was found for sip:81070000@10.255.188.21; returning SC_NOT_FOUND
class com.avaya.asm.core.exceptions.DMException: No listen port entry for request sent to local instance for port 5060 on UDP.






Below is for the sucess call routing
************************************************** *********************
2010-03-12 23:36:20,531 datadistributionlayer.JGroupReceiverAdapter FINEST - handle(): src: 10.255.189.21:39095, message=DataDistLayerMessage[host=DataDistLayerMemberAddr[memberName='null', clusterName='10.255.189.21', hostId='10.255.189.21:34413'], targetApp=ASM_CALL_PROC_SERVLET, messageType=0, payload=sip:2@s.com : sip:81070000@10.255.188.2 : 10.255.188.91 : 5060 : UDP : 1268408229808]
2010-03-12 23:36:20,531 common.ASMCallProcessingServlet FINEST - testCallRouting got a request with input sip:2@s.com : sip:81070000@10.255.188.2 : 10.255.188.91 : 5060 : UDP : 1268408229808
2010-03-12 23:36:20,531 common.ASMCallProcessingServlet FINEST - Application Session 016asm-callprocessing.sar347930378~1268408180531~-1744061626~1 was created
2010-03-12 23:36:20,531 common.ASMCallProcessingServlet FINEST - Session with call ID -1943749666994298361@10.255.189.21 and id 016asm-callprocessing.sar347930378~1268408180531~-1744061625~1 was created.
2010-03-12 23:36:20,531 common.ASMCallProcessingServlet FINEST - INVITE(-1943749666994298361@10.255.189.21): SMCallProcessing doRequest SAS 016asm-callprocessing.sar347930378~1268408180531~-1744061626~1
2010-03-12 23:36:20,531 common.ASMCallProcessingServlet FINEST - INVITE(-1943749666994298361@10.255.189.21): SS 016asm-callprocessing.sar347930378~1268408180531~-1744061625~1
2010-03-12 23:36:20,531 common.ASMCallProcessingServlet FINEST - set ROUTING_APPSESSION in request
2010-03-12 23:36:20,531 siproutingelement.SREUtilities FINEST - INVITE(-1943749666994298361@10.255.189.21): getOriginatingEntity using parameters: 10.255.188.91 5060 UDP
2010-03-12 23:36:20,532 dao.SIPEntityDAO FINEST - getSIPEntityByAddress(10.255.188.91) returned [SipEntity[id=65558, name="nt-dialogic-south-01", type=Gateway, addr=10.255.188.91, 3263=false, adapt=32771, proxy=null, loc=null, mon=true/100/100, cdr=none]]
2010-03-12 23:36:20,532 dao.HostNameDAO FINEST - getResolvedNameByAddress(10.255.188.91) returned []
2010-03-12 23:36:20,532 datamgr.SipRoutingElementDM FINEST - getOriginatingEntity(10.255.188.91) matched link Link[entityId1=65537, entityId2=65558, portEntity1=5060, portEntity2=5060, trusted=true, transport=UDP, biDirId=null]; returning entity SipEntity[id=65558, name="nt-dialogic-south-01", type=Gateway, addr=10.255.188.91, 3263=false, adapt=32771, proxy=null, loc=null, mon=true/100/100, cdr=none]
2010-03-12 23:36:20,532 siproutingelement.SREUtilities FINEST - INVITE(-1943749666994298361@10.255.189.21): getOriginatingEntity returned entity with id = 65558
2010-03-12 23:36:20,532 siproutingelement.SREUtilities FINEST - INVITE(-1943749666994298361@10.255.189.21): remote host is trusted
2010-03-12 23:36:20,532 datamgr.NameResolutionDM FINEST - matchHosts(10.255.188.21,10.255.188.2) returning false
2010-03-12 23:36:20,532 common.AsmUtilities FINEST - CallRoutingTest Output: Checking NRP to determine if this is a call to an emergency number.



The diffrerence is:
**********************************

2010-03-12 23:36:13,704 datamgr.NameResolutionDM FINEST - matchHosts(10.255.188.21,10.255.188.21) returning true


2010-03-12 23:36:20,532 datamgr.NameResolutionDM FINEST - matchHosts(10.255.188.21,10.255.188.2) returning false




Please note 10.255.188.21 is the SM100 IP, and 10.255.188.2 is dummy IP.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:06 PM.

This Forum is provided solely for the use and convenience of Avaya customers and partners. Use of the Forum is subject to the Terms and Use and Privacy Statement found at www.avaya.com. No other use is permitted. The Forum including all content posted is “AS IS” and Avaya expressly disclaims all warranties and/or guarantees as to its accuracy, reliability, usefulness, quality or non-infringement of intellectual property. Avaya reserves the right to remove any content posted on the Forum at any time and for whatever reason.

Avaya will not be liable for any content posted on this Forum, including, without limitation, any errors or omissions or for any losses or damages of any kind incurred as a result of use or reliance on any content, regardless of its origin.

You expressly understand and agree that you assume all risks associated with use or reliance on this content.