Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

width40%
Panel

...

...

Table of Contents

...

Info
titleAbout this Page
  • This document details setting the RURI number and TO number based upon information in the SDP body.
  • This document features the Add Raw function. In this example, Add Raw is used to search for (and possibly replace) text in the SDP body.
  • This document features a SMM entry that is configured as Mandatory.
  • This document details the configuration to change the Request URI Line in a SIP Request (INVITE, ACK, REGISTER, CANCEL, etc.) using the Add Request selection.
  • This document details the configuration to change the TO Header using the Add Header selection.
  • This Header Manipulation document utilizes the Token manipulation function.

In this section:

Table of Contents

 

 

Info
iconfalse

Related articles:

...

...

Prerequistes

...

 

Summary

This document describes how the contents of and SDP might be utilized to make call routing decision. In this highly unlikely scenario, a call placed to the Operator is routed to a specific building's Operator based upon the source subnet of the call (presuming that each building employs a different subnet). This configuration note does not detailed a supported configuration as changing the RURI number of a call may lead to numerous interoperability issues. Rather, this configuraton note is intended as SMM education. Several SMM features are employed within this scenario, thus it provides an excellent learning example.

Configure the SBC1000/2000 Header Manipulation

  1. Create a new Condition Rule Table entry and populate it with the Condition Rule as configured below.

    Panel
    borderStylenone

    Caption
    0Figure
    1Create Condition Rule Table Entry

...

  1. Image Added

  2. Create a new

...

  1. Message Rule Table entry and populate the first Message Rule as shown below.

    Panel
    borderStylenone

    Caption
    0Figure
    1Create Message Rule Table Entry

...

  1. Image Added

    Tip

    Be sure to add the Condition Expression by clicking the Condition Expression Add/Edit button and configuring as shown. This Condition Expression will cause this particular SMM entry to be run only when the condition is met--when the called number is '0'.

...

...

borderStylenone

...

Caption
0Figure
1Message Rule Condition

Image Removed

  1. Info

    As this entry's Result Type is configured to Mandatory, this entry, and all the subsequent entries, will only execute if a Regex match is found in the SIP Message. Being an Add Raw entry, the entire SIP packet, including SDP, will be searched for the pattern configured in the in the Match Regex box.

  2. If the dialed number is 0 and the SIP Message contains c=IN IP4 10.1.1.90,

...

  1. change the Request URI number (URI User) to a different number. The only method for changing the Request URI header is via the Add Request feature. Use the Add Request selection to create this SMM entry.

    Pagebreak

    Panel
    borderStylenone

    Caption
    0Figure
    1Change Request URI Header

...

  1. Image Added

    Tip

    Use the User URI Add/Edit button to set the new RURI number

...

borderStylenone

...

...

Image Removed

  1. Since the RURI number is being changed, it's probably a good idea to change the TO header number as well. TO headers are configured using the Add Header feature. Use the Add Header feature to create this SMM entry to change the TO Header User URI

...

Panel
borderStylenone

Caption
0Figure
1Change TO Header User URI

Image Removed

Tip

Don't forget the User URI Add/Edit button!

...

  1. (number).

    Panel
    borderStylenone

    Caption
    0Figure
    1Change TO Header User URI

    Image Added

  2. Add the SMM Table

...

  1. to the desired Signaling Group.

Debugging Output

Code Block

...

language

...

text

...

[2012-11-08 14:12:04,413] 2159 002b com.net.ux.sip DEBUG (SipMessage.cpp:1137) - decodedLength:1009 decoded 0x228268:
[2012-11-08 14:12:04,413] 2160 002a

INVITE sip:0@10.1.1.74 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.90:6336;branch=z9hG4bK-d87543-28224e612861dc20-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:444@10.1.1.90:6336>
To: "0"<sip:0@10.1.1.74>
From: "test"<sip:444@10.1.1.74>;tag=3f31e106
Call-ID: MTAzZGZhY2ZlMDkwZjE1N2M5MTdkYzdmMWE4MzcyOWE.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 1011w stamp 41324
Content-Length: 508

v=0
o=- 5 2 IN IP4 10.1.1.90
s=CounterPath eyeBeam 1.5
c=IN IP4 10.1.1.90
t=0 0
m=audio 7092 RTP/AVP 107 100 106 6 0 105 8 18 3 5 101
a=alt:1 2 : 4memZGA5 jvFXZUL/ 10.1.1.90 7092
a=alt:2 1 : fRF9Sxzc EyUo4lyB 192.168.128.5 7092
a=fmtp:18 annexb=yes
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
a=x-rtp-session-id:DAE5D[2012-11-08 14:12:04,413] 2161 0029
666CB8E4F1E991072554573C185

...

Code Block
languagetext
[2012-11-08 14:12:04,414] 2162 0028 com.net.ux.sip DEBUG (sipSignalingGroupConfig.cpp:672) - getBestSubnet: 10.1.1.90 - 10.1.1.6
[2012-11-08 14:12:04,414] 2163 0027 com.net.ux.sip TRACE (sipSignalingGroup.cpp:1480) - {SG(1) 0x273a60} CanAccept: Reject msg: call=1, transport=1, filter=0 localPort=1
[2012-11-08 14:12:04,414] 2164 0026 com.net.ux.sip TRACE (sipSignalingGroup.cpp:1480) - {SG(9) 0x278560} CanAccept: Reject msg: call=1, transport=0, filter=0 localPort=0
[2012-11-08 14:12:04,414] 2165 0025 com.net.ux.sip TRACE (sipSignalingGroup.cpp:1480) - {SG(8) 0x27b1f8} CanAccept: Reject msg: call=1, transport=0, filter=0 localPort=0
[2012-11-08 14:12:04,414] 2166 0024 com.net.ux.sip DEBUG (sipSignalingGroupConfig.cpp:672) - getBestSubnet: 10.1.1.90 - 10.1.1.76
[2012-11-08 14:12:04,414] 2167 0023 com.net.ux.sip TRACE (sipSignalingGroup.cpp:1480) - {SG(7) 0x27e328} CanAccept: Reject msg: call=1, transport=1, filter=0 localPort=1
[2012-11-08 14:12:04,414] 2168 0022 com.net.ux.sip TRACE (sipSignalingGroup.cpp:1480) - {SG(6) 0x281018} CanAccept: Reject msg: call=1, transport=0, filter=0 localPort=0
[2012-11-08 14:12:04,414] 2169 0021 com.net.ux.sip DEBUG (sipSignalingGroupConfig.cpp:672) - getBestSubnet: 10.1.1.90 - 10.1.1.76
[2012-11-08 14:12:04,414] 2170 0020 com.net.ux.sip TRACE (sipSignalingGroup.cpp:1480) - {SG(4) 0x288528} CanAccept: Reject msg: call=1, transport=1, filter=0 localPort=1
[2012-11-08 14:12:04,415] 2171 001f com.net.ux.sip DEBUG (sipSignalingGroupConfig.cpp:672) - getBestSubnet: 10.1.1.90 - 0.0.0.0
[2012-11-08 14:12:04,415] 2172 001e com.net.ux.sip TRACE (sipSignalingGroup.cpp:1480) - {SG(2) 0x28dfe8} CanAccept: Reject msg: call=1, transport=0, filter=0 localPort=0
[2012-11-08 14:12:04,415] 2173 001d com.net.ux.sip DEBUG (sipSignalingGroup.cpp:792) - {SG(3) 0x28b360} ProcessTransportMessage: Protocol Repair,calling Ingress executive(2 item(s) on list)
[2012-11-08 14:12:04,415] 2174 001c com.net.ux.sip DEBUG (Executive.cpp:52) - Run: Protocol Engine::Executive running 2 rules
[2012-11-08 14:12:04,415] 2175 001b com.net.ux.sip TRACE (Executive.cpp:58) - Run: Protocol Engine::getting ruleid (7)
[2012-11-08 14:12:04,415] 2176 001a com.net.ux.sip TRACE (Executive.cpp:75) - Run: Processing Message Rule (0 calls from 10.1.1.90)
[2012-11-08 14:12:04,415] 2177 0019 com.net.ux.sip TRACE (Executive.cpp:127) - processMessageRule: Processing Message Rule (7)
[2012-11-08 14:12:04,415] 2178 0018 com.net.ux.sip TRACE (Executive.cpp:1252) - MatchSipMessageRule: StartLine from configuration (*)From Msg (INVITE sip:0@10.1.1.74 SIP/2.0)
[2012-11-08 14:12:04,415] 2179 0017 com.net.ux.sip DEBUG (RegexRule.h:74) - debugInfo: RegexRule:: RuleType(0), Expression((c\=IN.IP4.10.1.1.90))

...

 
[2012-11-08 14:12:04,415] 2180 0016 com.net.ux.sip DEBUG (ProtocolField.h:93) - debugInfo: FieldElement:: FieldType(1) Source(\1)
[2012-11-08 14:12:04,415] 2181 0015 com.net.ux.sip DEBUG (ProtocolField.h:211) - debugInfo: FieldElementLiteral:: stringLiteral(\1)
[2012-11-08 14:12:04,415] 2182 0014 com.net.ux.sip DEBUG (RuleBase.h:123) - debugInfo: RuleBase:: RuleBaseType(0)  Result(0) Description(To Zero from IP media 10.1.1.90) valid(true), Condition Expression(${1})
[2012-11-08 14:12:04,415] 2183 0013 com.net.ux.sip TRACE (Executive.cpp:186) - processMessageRule: Processing Regex rule
[2012-11-08 14:12:04,415] 2184 0012 com.net.ux.sip TRACE (Executive.cpp:263) - processRegexMessage: Processing Regex Conditions Count=1
[2012-11-08 14:12:04,415] 2185 0011 com.net.ux.sip TRACE (Executive.cpp:640) - processConditionRules: Condition Rule value=1
[2012-11-08 14:12:04,415] 2186 0010 com.net.ux.sip TRACE (Executive.cpp:652) - evaluateConditionRuleTruth: CREId=1
[2012-11-08 14:12:04,415] 2187 000f com.net.ux.sip DEBUG (ConditionRule.h:121) - debugInfo: ConditionRule:: Description: dialed 0 AdminState(0) Result(0) Operand(1) valid(true)
[2012-11-08 14:12:04,415] 2188 000e com.net.ux.sip DEBUG (ProtocolField.h:93) - debugInfo: FieldElement:: FieldType(0) Source(header["to",1].uri[1].userinfo.user)
[2012-11-08 14:12:04,415] 2189 000d com.net.ux.sip DEBUG (ProtocolField.h:272) - debugInfo: FieldElementObject:: Valid Object Tokens
[2012-11-08 14:12:04,415] 2190 000c com.net.ux.sip DEBUG (ProtocolField.h:93) - debugInfo: FieldElement:: FieldType(1) Source(0)
[2012-11-08 14:12:04,415] 2191 000b com.net.ux.sip DEBUG (ProtocolField.h:211) - debugInfo: FieldElementLiteral:: stringLiteral(0)
[2012-11-08 14:12:04,415] 2192 000a com.net.ux.sip TRACE (Executive.cpp:727) - buildField: Building fields with element count=1
[2012-11-08 14:12:04,415] 2193 0009 com.net.ux.sip TRACE (Executive.cpp:755) - buildField: Building field literal

...

Code Block
languagetext
[2012-11-08 14:12:04,415] 2194 0008 com.net.ux.sip TRACE (SipMessage.cpp:1312) - getObjectValue: name:(3:Header) value:
[2012-11-08 14:12:04,416] 2195 0007 com.net.ux.sip TRACE (Executive.cpp:706) - evaluateConditionRuleTruth: Full CR match=1. oObj=0, oMatch=0, oObjLen=1, oMatchLen=1
[2012-11-08 14:12:04,416] 2196 0006 com.net.ux.sip TRACE (Executive.cpp:270) - processRegexMessage: Condition matched
[2012-11-08 14:12:04,416] 2197 0005 com.net.ux.sip TRACE (Executive.cpp:727) - buildField: Building fields with element count=1
[2012-11-08 14:12:04,416] 2198 0004 com.net.ux.sip TRACE (Executive.cpp:755) - buildField: Building field literal
[2012-11-08 14:12:04,416] 2199 0003 com.net.ux.sip TRACE (Executive.cpp:295) - processRegexMessage: RuleRegex replacement=\1, exp=(c\=IN.IP4.10.1.1.90)
[2012-11-08 14:12:04,416] 2200 0002 com.net.ux.sip TRACE (Executive.cpp:785) - messageRegex: Executing Message Regex
[2012-11-08 14:12:04,416] 2201 0001 com.net.ux.sip WARN (GenericUriListHeader.cpp:41) - encode: encode error hdr:Contact uri-count:0 this:0x263d88
[2012-11-08 14:12:04,418] 2202 0001 com.net.ux.sip TRACE (SipMessage.cpp:1312) - getObjectValue: name:(0:Message) value:
[2012-11-08 14:12:04,419] 2203 0001 com.net.ux.sip TRACE (SipMessage.cpp:1392) - setObjectValue: name:(0:Message) value:INVITE sip:0@10.1.1.74 SIP/2.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Call-ID: MTAzZGZhY2ZlMDkwZjE1N2M5MTdkYzdmMWE4MzcyOWE.
Contact: <sip:444@10.1.1.90:6336>
Content-Length: 508
Content-Type: application/sdp
CSeq: 1 INVITE
From: "test" <sip:444@10.1.1.74>;tag=3f31e106
Max-Forwards: 70
To: "0" <sip:0@10.1.1.74>
User-Agent: eyeBeam release 1011w stamp 41324
Via: SIP/2.0/UDP 10.1.1.90:6336;branch=z9hG4bK-d87543-28224e612861dc20-1--d87543-;rport
 
v=0
o=- 5 2 IN IP4 10.1.1.90
s=CounterPath eyeBeam 1.5
c=IN IP4 10.1.1.90
t=0 0
m=audio 7092 RTP/AVP 107 100 106 6 0 105 8 18 3 5 101
a=alt:1 2 : 4memZGA5 jvFXZUL/ 10.1.1.90 7092
a=alt:2 1 : fRF9Sxzc EyUo4lyB 192.168.128.5 7092
a=fmtp:18 annexb=yes
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:1Ä-PÑ+L[2012-11-08 14:10:12,994] 6300 0001 com.net.ux.sip DEBUG (StatusCode.cpp:601) - lookup: [2012-11-08 14:12:04,420] 2204 0001 com.net.ux.sip TRACE (SipMessage.cpp:569) - decodeHeaders: SIP message Header type Allow
[2012-11-08 14:12:04,420] 2205 0001 com.net.ux.sip TRACE (SipMessage.cpp:569) - decodeHeaders: SIP message Header type Call-ID
[2012-11-08 14:12:04,420] 2206 0001 com.net.ux.sip TRACE (SipMessage.cpp:569) - decodeHeaders: SIP message Header type Contact
[2012-11-08 14:12:04,420] 2207 0001 com.net.ux.sip TRACE (SipMessage.cpp:569) - decodeHeaders: SIP message Header type Content-Length
[2012-11-08 14:12:04,420] 2208 0001 com.net.ux.sip TRACE (SipMessage.cpp:569) - decodeHeaders: SIP message Header type Content-Type
[2012-11-08 14:12:04,420] 2209 0001 com.net.ux.sip TRACE (SipMessage.cpp:569) - decodeHeaders: SIP message Header type CSeq
[2012-11-08 14:12:04,420] 2210 0001 com.net.ux.sip TRACE (SipMessage.cpp:569) - decodeHeaders: SIP message Header type From
[2012-11-08 14:12:04,420] 2211 0001 com.net.ux.sip TRACE (SipMessage.cpp:569) - decodeHeaders: SIP message Header type Max-Forwards
[2012-11-08 14:12:04,420] 2212 0001 com.net.ux.sip TRACE (SipMessage.cpp:569) - decodeHeaders: SIP message Header type To
[2012-11-08 14:12:04,421] 2213 0001 com.net.ux.sip TRACE (SipMessage.cpp:569) - decodeHeaders: SIP message Header type User-Agent
[2012-11-08 14:12:04,421] 2214 0001 com.net.ux.sip TRACE (SipMessage.cpp:569) - decodeHeaders: SIP message Header type Via

...

Code Block
languagetext
[2012-11-08 14:12:04,422] 2215 0001 com.net.ux.sip TRACE (Executive.cpp:297) - processRegexMessage: RuleRegex return:(1)n
[2012-11-08 14:12:04,422] 2216 0001 com.net.ux.sip DEBUG (HeaderRule.h:912) - debugInfo: HeaderRuleFieldModify
[2012-11-08 14:12:04,422] 2217 0001 com.net.ux.sip DEBUG (HeaderRule.h:798) - debugInfo: HeaderRuleFieldChange mReplacement
[2012-11-08 14:12:04,422] 2218 0001 com.net.ux.sip DEBUG (ProtocolField.h:93) - debugInfo: FieldElement:: FieldType(1) Source(3539)
[2012-11-08 14:12:04,422] 2219 0001 com.net.ux.sip DEBUG (ProtocolField.h:211) - debugInfo: FieldElementLiteral:: stringLiteral(3539)
[2012-11-08 14:12:04,423] 2220 0001 com.net.ux.sip DEBUG (HeaderRule.h:679) - debugInfo: HeaderRuleField:: Element
[2012-11-08 14:12:04,423] 2221 0001 com.net.ux.sip DEBUG (ProtocolField.h:93) - debugInfo: FieldElement:: FieldType(0) Source(requestline.uri.userinfo.user)
[2012-11-08 14:12:04,423] 2222 0001 com.net.ux.sip DEBUG (ProtocolField.h:272) - debugInfo: FieldElementObject:: Valid Object Tokens
[2012-11-08 14:12:04,423] 2223 0001 com.net.ux.sip DEBUG (HeaderRule.h:115) - debugInfo: HeaderRule:: HeaderRuleType(1)
[2012-11-08 14:12:04,423] 2224 0001 com.net.ux.sip DEBUG (RuleBase.h:123) - debugInfo: RuleBase:: RuleBaseType(1)  Result(1) Description(change number) valid(true), Condition Expression(No conditions for this header rule) 
[2012-11-08 14:12:04,423] 2225 0001 com.net.ux.sip TRACE (Executive.cpp:211) - processMessageRule: Processing Header rule
[2012-11-08 14:12:04,423] 2226 0001 com.net.ux.sip DEBUG (Executive.cpp:316) - processHeaderRule: Processing header Rule (change number)
[2012-11-08 14:12:04,423] 2227 0001 com.net.ux.sip TRACE (Executive.cpp:489) - processHeaderRule: Processing Rule Field Modify
[2012-11-08 14:12:04,423] 2228 0001 com.net.ux.sip TRACE (Executive.cpp:727) - buildField: Building fields with element count=1
[2012-11-08 14:12:04,423] 2229 0001 com.net.ux.sip TRACE (Executive.cpp:755) - buildField: Building field literal
[2012-11-08 14:12:04,423] 2230 0001 com.net.ux.sip TRACE (Executive.cpp:1161) - headerFieldModify: Executing header field modify, replacement=3539
[2012-11-08 14:12:04,423] 2231 0001 com.net.ux.sip TRACE (Executive.cpp:1165) - headerFieldModify: Header field modify single ordinal
[2012-11-08 14:12:04,424] 2232 0001 com.net.ux.sip TRACE (SipMessage.cpp:1312) - getObjectValue: name:(1:RequestLine) value:
[2012-11-08 14:12:04,424] 2233 0001 com.net.ux.sip TRACE (SipMessage.cpp:1392) - setObjectValue: name:(1:RequestLine) value:3539
[2012-11-08 14:12:04,424] 2234 0001 com.net.ux.sip TRACE (Executive.cpp:218) - processMessageRule: HeaderRule executed
[2012-11-08 14:12:04,424] 2235 0001 com.net.ux.sip DEBUG (HeaderRule.h:912) - debugInfo: HeaderRuleFieldModify
[2012-11-08 14:12:04,424] 2236 0001 com.net.ux.sip DEBUG (HeaderRule.h:798) - debugInfo: HeaderRuleFieldChange mReplacement
[2012-11-08 14:12:04,424] 2237 0001 com.net.ux.sip DEBUG (ProtocolField.h:93) - debugInfo: FieldElement:: FieldType(1) Source(3539)
[2012-11-08 14:12:04,424] 2238 0001 com.net.ux.sip DEBUG (ProtocolField.h:211) - debugInfo: FieldElementLiteral:: stringLiteral(3539)
[2012-11-08 14:12:04,424] 2239 0001 com.net.ux.sip DEBUG (HeaderRule.h:679) - debugInfo: HeaderRuleField:: Element
[2012-11-08 14:12:04,424] 2240 0001 com.net.ux.sip DEBUG (ProtocolField.h:93) - debugInfo: FieldElement:: FieldType(0) Source(header["to",1].uri.userinfo.user)
[2012-11-08 14:12:04,424] 2241 0001 com.net.ux.sip DEBUG (ProtocolField.h:272) - debugInfo: FieldElementObject:: Valid Object Tokens
[2012-11-08 14:12:04,424] 2242 0001 com.net.ux.sip DEBUG (HeaderRule.h:115) - debugInfo: HeaderRule:: HeaderRuleType(1)
[2012-11-08 14:12:04,425] 2243 0001 com.net.ux.sip DEBUG (RuleBase.h:123) - debugInfo: RuleBase:: RuleBaseType(1)  Result(1) Description(change the TO number) valid(true), Condition Expression(No conditions for this header rule)

...

Code Block
languagetext
[2012-11-08 14:12:04,425] 2244 0001 com.net.ux.sip TRACE (Executive.cpp:211) - processMessageRule: Processing Header rule
[2012-11-08 14:12:04,425] 2245 0001 com.net.ux.sip DEBUG (Executive.cpp:316) - processHeaderRule: Processing header Rule (change the TO number)
[2012-11-08 14:12:04,425] 2246 0001 com.net.ux.sip TRACE (Executive.cpp:489) - processHeaderRule: Processing Rule Field Modify
[2012-11-08 14:12:04,425] 2247 0001 com.net.ux.sip TRACE (Executive.cpp:727) - buildField: Building fields with element count=1
[2012-11-08 14:12:04,425] 2248 0001 com.net.ux.sip TRACE (Executive.cpp:755) - buildField: Building field literal
[2012-11-08 14:12:04,425] 2249 0001 com.net.ux.sip TRACE (Executive.cpp:1161) - headerFieldModify: Executing header field modify, replacement=3539
[2012-11-08 14:12:04,425] 2250 0001 com.net.ux.sip TRACE (Executive.cpp:1297) - checkOrdinalAll: ObjectToken:: StringIndex(to) Ordinal(1)
[2012-11-08 14:12:04,425] 2251 0001 com.net.ux.sip TRACE (Executive.cpp:1165) - headerFieldModify: Header field modify single ordinal
[2012-11-08 14:12:04,425] 2252 0001 com.net.ux.sip TRACE (SipMessage.cpp:1312) - getObjectValue: name:(3:Header) value:
[2012-11-08 14:12:04,425] 2253 0001 com.net.ux.sip TRACE (SipMessage.cpp:1392) - setObjectValue: name:(3:Header) value:3539
[2012-11-08 14:12:04,426] 2254 0001 com.net.ux.sip TRACE (Executive.cpp:218) - processMessageRule: HeaderRule executed
[2012-11-08 14:12:04,426] 2255 0001 com.net.ux.sip TRACE (Executive.cpp:81) - Run: Message Rule (7) matched at least one message rule
[2012-11-08 14:12:04,426] 2256 0001 com.net.ux.sip TRACE (Executive.cpp:58) - Run: Protocol Engine::getting ruleid (8)
[2012-11-08 14:12:04,426] 2257 0001 com.net.ux.sip TRACE (Executive.cpp:75) - Run: Processing Message Rule (0 calls from 10.1.1.91)
[2012-11-08 14:12:04,426] 2258 0001 com.net.ux.sip TRACE (Executive.cpp:127) - processMessageRule: Processing Message Rule (8)
[2012-11-08 14:12:04,426] 2259 0001 com.net.ux.sip TRACE (Executive.cpp:1252) - MatchSipMessageRule: StartLine from configuration (*)From Msg (INVITE sip:0@10.1.1.74 SIP/2.0)
[2012-11-08 14:12:04,426] 2260 0001 com.net.ux.sip DEBUG (RegexRule.h:74) - debugInfo: RegexRule:: RuleType(0), Expression((c\=IN.IP4.10.1.1.91))

[2012-11-08 14:12:04,426] 2261 0001 com.net.ux.sip DEBUG (ProtocolField.h:93) - debugInfo: FieldElement:: FieldType(1) Source(\1)
[2012-11-08 14:12:04,426] 2262 0001 com.net.ux.sip DEBUG (ProtocolField.h:211) - debugInfo: FieldElementLiteral:: stringLiteral(\1)
[2012-11-08 14:12:04,427] 2263 0001 com.net.ux.sip DEBUG (RuleBase.h:123) - debugInfo: RuleBase:: RuleBaseType(0)  Result(0) Description(Call to Zero from 10.1.1.91) valid(true), Condition Expression(${1})
[2012-11-08 14:12:04,427] 2264 0001 com.net.ux.sip TRACE (Executive.cpp:186) - processMessageRule: Processing Regex rule
[2012-11-08 14:12:04,427] 2265 0001 com.net.ux.sip TRACE (Executive.cpp:263) - processRegexMessage: Processing Regex Conditions Count=1
[2012-11-08 14:12:04,427] 2266 0001 com.net.ux.sip TRACE (Executive.cpp:640) - processConditionRules: Condition Rule value=1
[2012-11-08 14:12:04,427] 2267 0001 com.net.ux.sip TRACE (Executive.cpp:652) - evaluateConditionRuleTruth: CREId=1
[2012-11-08 14:12:04,427] 2268 0001 com.net.ux.sip DEBUG (ConditionRule.h:121) - debugInfo: ConditionRule:: Description: dialed 0 AdminState(0) Result(0) Operand(1) valid(true)
[2012-11-08 14:12:04,427] 2269 0001 com.net.ux.sip DEBUG (ProtocolField.h:93) - debugInfo: FieldElement:: FieldType(0) Source(header["to",1].uri[1].userinfo.user)
[2012-11-08 14:12:04,427] 2270 0001 com.net.ux.sip DEBUG (ProtocolField.h:272) - debugInfo: FieldElementObject:: Valid Object Tokens
[2012-11-08 14:12:04,427] 2271 0001 com.net.ux.sip DEBUG (ProtocolField.h:93) - debugInfo: FieldElement:: FieldType(1) Source(0)
[2012-11-08 14:12:04,427] 2272 0001 com.net.ux.sip DEBUG (ProtocolField.h:211) - debugInfo: FieldElementLiteral:: stringLiteral(0)
[2012-11-08 14:12:04,428] 2273 0001 com.net.ux.sip TRACE (Executive.cpp:727) - buildField: Building fields with element count=1
[2012-11-08 14:12:04,428] 2274 0001 com.net.ux.sip TRACE (Executive.cpp:755) - buildField: Building field literal
[2012-11-08 14:12:04,428] 2275 0001 com.net.ux.sip TRACE (SipMessage.cpp:1312) - getObjectValue: name:(3:Header) value:
[2012-11-08 14:12:04,428] 2276 0001 com.net.ux.sip TRACE (Executive.cpp:706) - evaluateConditionRuleTruth: Full CR match=0. oObj=3539, oMatch=0, oObjLen=4, oMatchLen=1

...

Code Block
languagetext
[2012-11-08 14:12:04,428] 2277 0001 com.net.ux.sip TRACE (Executive.cpp:273) - processRegexMessage: Condition did not match
[2012-11-08 14:12:04,428] 2278 0001 com.net.ux.sip TRACE (Executive.cpp:86) - Run: Message Rule (8) no message rules matched
[2012-11-08 14:12:04,428] 2279 0001 com.net.ux.sip DEBUG (sipSignalingGroup.cpp:794) - {SG(3) 0x28b360} ProcessTransportMessage: Protocol Repair, out of Ingress executive

...

....
[2012-11-08 14:12:04,454] 2488 0071 com.net.ux.sip DEBUG (TransportLayer.cpp:538) - 0x2af8f0 sending from [0.0.0.0]:5060 to [10.1.1.90]:6336 403 bytes over 10UDP1-5060 attempt(1) (If:0) ln(1323):
[2012-11-08 14:12:04,454] 2489 0070

SIP/2.0 100 Trying
Call-ID: MTAzZGZhY2ZlMDkwZjE1N2M5MTdkYzdmMWE4MzcyOWE.
Contact: <sip:10.1.1.74:5060;transport=UDP>
Content-Length: 0
CSeq: 1 INVITE
From: "test" <sip:444@10.1.1.74>;tag=3f31e106
Server: NET UX 2.2.1v999 UX
Supported: replaces,update,100rel
To: "0" <sip:3539@10.1.1.74>;tag=a01014a-45c
Via: SIP/2.0/UDP 10.1.1.90:6336;branch=z9hG4bK-d87543-28224e612861dc20-1--d87543-;rport

...

Code Block
languagetext
.....

2-11-08 14:12:04,533] 2753 001a com.net.ux.route INFO (callrouter.cpp:2280) - Using table EUM Routes (6) to route call.
[2012-11-08 14:12:04,534] 2754 0019 com.net.ux.route DEBUG (translation.cpp:1295) - Performing OPTIONAL transformation using entry Subscriber Access # from PSTN (5.1(1)).
[2012-11-08 14:12:04,534] 2755 0018 com.net.ux.route DEBUG (translation.cpp:634) - Failed regex match of "tfCalledNumber" field for "(\+14083483539)" (updated "(\+14083483539)") with input of "3539"
[2012-11-08 14:12:04,534] 2756 0017 com.net.ux.route DEBUG (translation.cpp:1295) - Performing OPTIONAL transformation using entry EUM SA 302 route (5.2(2)).
[2012-11-08 14:12:04,534] 2757 0016 com.net.ux.route DEBUG (translation.cpp:638) - Successful regex match of "tfCalledNumber" field for "3539" (updated "3539") with input of "3539"
[2012-11-08 14:12:04,534] 2758 0015 com.net.ux.route DEBUG (translation.cpp:683) - Regex replacement output of "tfCalledNumber" field is "3539"
[2012-11-08 14:12:04,534] 2759 0014 com.net.ux.route INFO (callrouter.cpp:2403) - Successful route request with entry Call to Exchange (6.1(9))

...

 

...

Important Notes

Info

The SIP Header feature cannot generate a new SIP packet. Only arriving or leaving SIP packets changed via the SIP Header function.

Warning

Care must be exercised when modifying incoming SIP packets, especially with respects to the TO, FROM and RURI headers. Modifying tags, IDs or any other items that define the dialogue or transactions, will likely cause calls to not complete.

Warning

This configuration note does not detailed a supported configuration as changing the RURI number of a call may lead to numerous interoperability issues.

...

Pagebreak