voiceboys / sbcOS

Barebone Opensource Powered SBC
GNU General Public License v3.0
106 stars 39 forks source link

How to handle REFER ? #23

Open kingster opened 5 years ago

kingster commented 5 years ago

Hi

We have a use-case where we would want to handle REFER messages, and send the INVITE request to the new destination (this needs to be done in the sbc because if the REFER is forwarded to carrier it becomes invalid, this REFER is valid in the context of the SBC only). How to achieve the same in SBC-OS ? (I couldn't find any documentation of kamailio routing by which this can be done. Any help is appreciated. )

adubovikov commented 5 years ago

Hi, REFER will create a new transaction that should make a new call in your Softswitch and terminate the existing leg (transfer). Do you plan use freeswitch/asterisk ?

kingster commented 5 years ago

I am trying to replace a commercial SBC with SBCOS. This is what I am trying to achieve.

UML

So the SBC has to create the new transaction (Last Invite to FS). The commercial SBC today does this which I am trying to do with sbcOS. But I haven't been able to get working with sbcOS/Kamailio.

How to create this new transaction from sbcOS?

adubovikov commented 5 years ago

I don't think kamailo will handle it, this job is for real B2BUA like FS or Asterisk. Theoreticaly you can use dialog module, but it will also not make a new INVITE and trombone a session.

On Mon, 5 Aug 2019 at 17:21, Kinshuk Bairagi notifications@github.com wrote:

I am trying to replace a commercial SBC with SBCOS. This is what I am trying to achieve.

[image: UML] https://camo.githubusercontent.com/85757ed88601e09ca4521e16b7f9443e80495e48/68747470733a2f2f692e696d6775722e636f6d2f384778435954792e706e67

So the SBC has to create the new transaction (Last Invite to FS). The commercial SBC today does this, and I am able to achieve everything else with sbcOS but this REFER handling is what I am unable to figure out how to do with sbcOS/Kamailio.

How to create this new transaction from sbcOS?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/voiceboys/sbcOS/issues/23?email_source=notifications&email_token=ABCN2JLUO2656YPYYRLENODQDBAQPA5CNFSM4IJKJ7ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3SE7MY#issuecomment-518279091, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCN2JKSH552QVNXZPMI6F3QDBAQPANCNFSM4IJKJ7ZA .