Any update on this?


On Sat, Dec 11, 2021, 13:56 Mojtaba <mespio@gmail.com> wrote:
Hello,
Why in SEMS, some changes (in transparent SBC profile) in sip headers do not apply. For example i want to change CSeq or Contact header like this:
# transparent SBC profile
# defaults: transparent
RURI=$r
From=$f
To=$t
Call-ID=$ci_leg2
CSeq=$H(CSeq)
Contact=$H(Contact)

When I run SEMS, CSeq and Contact do not change, while other headers change.

[#7fc688d7b1c0/9379] [onLoad, SBC.cpp:189] INFO:  loading SBC call profiles from '/usr/local/etc/sems/etc/'
 [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:418] INFO:  SBC: loaded SBC profile 'mo' - MD5: d6a2c29084043edde1357231f6866737
 [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:423] INFO:  SBC:      RURI      = '$r'
 [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:424] INFO:  SBC:      RURI-host = ''
 [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:425] INFO:  SBC:      From = '$f'
 [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:426] INFO:  SBC:      To   = '$t'
 [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:431] INFO:  SBC:      Call-ID   = '$ci_leg2222'
 [#7fc688d7b1c0/9379] [readFromConfiguration, SBCCallProfile.cpp:434] INFO:  SBC:      force outbound proxy: yes
 This issue caused the Asterisk could not pass the Authentication process in "match_req_to_dialog" function because the CSeq is the same as the dialogs. So the Asterisk thought this message was a LOOP message.
Has anybody encountered this issue in SEMS? How did you solve this? I know there are some ways for doing this with Kamailio, But i focused on issues in SEMS

With Best Regards

-- Mojtaba Esfandiari.S

-- PhD student and Research Affiliate,

-- Technical Manager at IP-PBX Laboratory, Ferdowsi University of Mashhad, Iran.

-- Address: IP-PBX Lab., Engineering Faculty, Ferdowsi University Main Campus, Mashhad, Iran.

-- Tel: +98-51-38763635

-- Mobile: +98-915-117-6713