Hi All,

Hope you can help me, I've been pulling my hair out on this one;

*Some Background:*
I'm sending GSM 03.40 SMS'es from a Windows Client (Boghe IMS Client
https://code.google.com/p/boghe/) to another user, both are registered in
Clearwater. Also I have iFC's that makes Sprout send my Aplication Server
the MESSAGE, then the AS changes the MESSAGE from Mobile Originating to
Mobile Terminating and sends it to Sprout.

The iFC uses the SIP Method 'MESSAGE' and the 'To' Header to identify what
messages to send to the AS, I only want Sprout to send me the MO Messages
once.

Also, using the All in one Version via VirtualBox

*Issue:*
The problem is that Sprout also sends the MT 'MESSAGE' to the AS. Even if
the iFc does not require it.

*iFc;*
<InitialFilterCriteria>
          <Priority>2</Priority>
          <TriggerPoint>
                    <ConditionTypeCNF>0</ConditionTypeCNF>
                    <SPT>
                              <ConditionNegated>0</ConditionNegated>
                              <Group>1</Group>
                              <Method>MESSAGE</Method>
                              <Extension></Extension>
                    </SPT>
                    <SPT>
                              <ConditionNegated>0</ConditionNegated>
                              <Group>1</Group>
                             <SIPHeader>
                                        <Header>To</Header>
                                        <Content>'sip:+123@ubuntu-VirtualBox
:5015'</Content>
                              </SIPHeader>
                    </SPT>
           </TriggerPoint>

 
<ApplicationServer><ServerName>sip:ubuntu-VirtualBox:5015;transport=tcp</ServerName><DefaultHandling>0</DefaultHandling><Extension></Extension><ServiceInfo>
       </ServiceInfo></ApplicationServer>
</InitialFilterCriteria>

*MO Message (Sprout to AS):*

MESSAGE sip:+123@ubuntu-VirtualBox:5015;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 192.168.229.80:51479;branch=z9hG4bK-26115346;rport
From: <sip:[email protected]>;tag=26102592
To: <sip:+123@ubuntu-VirtualBox:5015;transport=tcp>
Call-ID: ada2ff4b-e32a-9f9f-fa8f-39ad707ab577
CSeq: 31984 MESSAGE
Content-Length: 31
Max-Forwards: 70
Accept-Contact: *;+g.oma.sip-im
Accept-Contact: *;language="en,fr"
Accept-Contact: *;+g.3gpp.smsip
Route: <sip:10.0.2.15:5054;transport=TCP;lr;orig>
Content-Type: application/vnd.3gpp.sms
Content-Transfer-Encoding: binary
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE,
REFER
Privacy: none
P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
User-Agent: IM-client/OMA1.0 Boghe-Win32/v2.0.186.1013
P-Preferred-Identity: <sip:[email protected]>

.....!....
.VPUpQ....wt..~.A.7.

*MT Message (AS to Sprout):*

MESSAGE sip:+123@ubuntu-VirtualBox:5015;transport=tcp SIP/2.0
Call-ID: ada2ff4b-e32a-9f9f-fa8f-39ad707ab577
CSeq: 31984 MESSAGE
From: sip:+123@ubuntu-VirtualBox
To: sip:[email protected]
Via: SIP/2.0/TCP ubuntu-VirtualBox:5015
 ;branch=f3b92de458f194355be6db4c7643a11d
Via: SIP/2.0/TCP 192.168.229.80:51479;branch=z9hG4bK-26115346;rport
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE,
REFER
Contact: <sip:[email protected]>;transport=tcp
Content-Length: 37
Content-TYPE: application/vnd.3gpp.sms
User-Agent: IM-client/OMA1.0 Boghe-Win32/v2.0.186.1013
Route: <sip:10.0.2.15:5054;transport=TCP;lr;orig>
P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
P-Preferred-Identity: <sip:[email protected]>
Content-Transfer-Encoding: binary
Accept-Contact: *;+g.oma.sip-im
Accept-Contact: *;language="en,fr"
Accept-Contact: *;+g.3gpp.smsip
Privacy: none
Max-Forwards: 69

....!....
[email protected][email protected]..~.A.7..

*MT Message (Sprout to AS) {*Issue*}*

MESSAGE sip:+123@ubuntu-VirtualBox:5015;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 10.0.2.15:44300
;rport;branch=z9hG4bKPjv4DYa2vvcmw5dr7x2wMx4U2Z6togzXQl
Call-ID: ada2ff4b-e32a-9f9f-fa8f-39ad707ab577
CSeq: 31984 MESSAGE
From: <sip:+123@ubuntu-VirtualBox>
To: <sip:[email protected]>
Via:
SIP/2.0/TCP 
ubuntu-VirtualBox:5015;received=10.0.2.2;branch=f3b92de458f194355be6db4c7643a11d
Via: SIP/2.0/TCP 192.168.229.80:51479;rport;branch=z9hG4bK-26115346
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE,
REFER
Contact: <sip:[email protected]>;transport=tcp
User-Agent: IM-client/OMA1.0 Boghe-Win32/v2.0.186.1013
P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
P-Preferred-Identity: <sip:[email protected]>
Content-Transfer-Encoding: binary
Accept-Contact: *;+g.oma.sip-im
Accept-Contact: *;language="en,fr"
Accept-Contact: *;+g.3gpp.smsip
Privacy: none
Max-Forwards: 67
Session-Expires: 600
Content-Type: application/vnd.3gpp.sms
Content-Length:    37

....!....
[email protected][email protected]..~.A.7..

Thank you for taking the time to read the blob of text.

I hope I'm not missing something silly.

Rgs,
JG
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to