As you say both ptime are different. I followed your advice however It's not working either.

I even tried to set the ptime the same as the provider on freeswitch and I got the same results.

Regards,
JuanPablo.

2017-11-17 11:01 GMT-03:00 Volodymyr Fedorov <lexxua@gmail.com>:
Hey,
maybe you have different ptime on B-leg compare to A-leg, maybe sdp per ptime will fix this ?



On Fri, Nov 17, 2017 at 2:23 PM, Juan Pablo Godoy Macari <jpgodoy@redvoiss.net> wrote:
Hi, 

I'm using two profiles, both of them with PMCA allowed and I'm using "inherit_codec=true" too. With media is indeed working, however I can't use it.

I also tried using late and early negociation.

Regards,
Juan Pablo.

2017-11-17 2:30 GMT-03:00 Volodymyr Fedorov <lexxua@gmail.com>:
Hi I have freeswitch connected to Huawei IMS and do not have this issue. Maybe you are using two different profiles and on B profile there are no codecs set? Or just try for test proxy_media mode.


On Nov 17, 2017 03:32, "Juan Pablo Godoy Macari" <jpgodoy@redvoiss.net> wrote:
Hello Everyone,

I'm Trying to establish a SIP Trunk with a provider, but I'm encountering a strange problem. When I receive an INVITE from my provider its SDP have this format:

v=0.
o=- 1134042028 1134042029 IN IP4 XXXX.
s=SBC call.
c=IN IP4 XXXXX.
t=0 0.
m=audio 10042 RTP/AVP 8 0 116.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:116 telephone-event/8000.
a=ptime:5.
a=curr:qos local none.
a=curr:qos remote none.
a=des:qos mandatory local sendrecv.
a=des:qos optional remote sendrecv.
a=3gOoBTC.

The problem is when my freeswitch is trying to call to the B-Leg its sending the SDP without any payloads:

v=0.
o=SBC 1510738948 1510738949 IN IP4 XXXXX.
s=SBC.
c=IN IP4 XXXXXX.
t=0 0.

Why is that? I debugged from the CLI (level 10) and I can't see any errors from Freeswitch. I tested this on versions 1.6.12 and 1.6.17 with the same results.

I'm guessing that  Sofia or Freeswitch don't support the qos values, it's the only different thing from my others providers, 

I'll thank you any feedback guys.
Regards,
Juan Pablo Godoy.



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Best regards,
Volodymyr

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org