|
From: | Aymeric Moizard |
Subject: | Re: [osip-dev] eXosip and reINVITE |
Date: | Thu, 2 Aug 2018 15:04:04 +0200 |
Hi.
I'm trying to achieve the following SIP communication:
https://www.websequencediagrams.com/cgi-bin/cdraw?lz=cGFydGl jaXBhbnQgYWxpY2UKAAUNc3Rlcmlza 18xAAoNZVhvc2lwABQWMgA0DWJvYgo KIyBJbml0aWFsIGludml0ZQoAZAUgL T4AVQs6ABUHIChzZHApCgBvCgAiBQA rBTogMTAwIFRyeWluZwASDwCBCwYAN Q8AgSAGAFkOADcOAA8TMgBxGDIAXgo AcxcAHQVib2IAgTwPYm9iAFQOAIE7D gAKFjgwIFJpbmcAThIAeAoAGAsAgVI YADIUAIJDDgBdCwCBFBUyMDAgT0sAg XcVYm9iIDogQUNLAIIMGAAvDQCCVxQ AOAcAgxEXAGUWAINkCwBuEACEHg0Ag SsOAIReEgCBNAcKIyByZS0AhRAHAIQ 3HmluLWRpYWxvZwCEIzwAgS0sAIUBH gCAfxAAhHkwAIJ2MQCDahUAggUXAIV VHwCEMTkK&s=rose
This is basically initial INVITE followed by reINVITE that tells the phones to use direct RTP traffic instead of RTP going through asterisk.
eXosip node is a transparent B2BUA written using the eXosip/osip2 library.
I set directmedia=outgoing to both asterisks which tells them to send reINVITE only to outgoing leg (the default asterisk behavior is to send to both legs https://wiki.asterisk.org/wiki/display/AST/SIP+Direct+Media+ ).Reinvite+Glare+Avoidance
So I have two call legs in my eXosip node : call leg 1 (asterisk 1) and call leg 2 (asterisk 2).
I was able to send successfully reINVITE from eXosip to asterisk 2 and Trying from eXosip to asterisk 1.
When I get OK from asterisk 2 and try to send OK to asterisk 1 by copying the sdp from asterisk 2 I get an error.
Is it possible to achieve this with eXosip and how ?
Regards.
_______________________________________________
osip-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/osip-dev
[Prev in Thread] | Current Thread | [Next in Thread] |