Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

SIP trunk - one way audio

Discussion in '3CX Phone System - General' started by callidus, Jul 1, 2010.

Thread Status:
Not open for further replies.
  1. callidus

    Jul 29, 2009
    Likes Received:
    I have problems with a SIP trunk. The final result is that I have one way audio.
    The sip provider is not a supported provider, so I'm not sure if all parameters are ok. but I am waiting for a reply from the provider.
    anyway.. i have get the ip range from the provider. the problem #1 is that 3cx thinks it's an local ip.. the 3cx is on a local ip
    I have looked in the 3CXPhoneSystem.ini file to remove the addresses, but I haven't found any network configuration in it.. should I just add the row with local network addresses??

    my other question is about the registration settings of voip provider:
    so, i go to voip providers -pick the provider - advanced - registration settings ->
    require registration for: "do not require" (because it's a sip trunk)
    Which IP to use in 'Contact' field for registration: Specified IP (where I put the ip which i got from the provider), right?
    so, considering the ip.. what function does it really have? should it be send in the SDP packet? because, my 3cx is sending his local ip (

    how can I make things right?
  2. carolinainnovative

    May 4, 2009
    Likes Received:
    HI - please read the rules for getting help and post the requisite information. As of now, we don't even know what version of 3cx you are trying to use. :) Before you post your logs, make sure your pbx is in verbose mode (Settings -> Advanced).

    In the mean, you could try adding a custom parameter in Settings->Advanced for LOCALSUBNETS and specify your 192.168.x.x/24 subnet. Make sure you restart your 3cx services afterwards.

    Lastly - while it may not be necessary, I like requiring registration anyway presuming they gave you authentication credentials. As far as the rest of the fields, post your logs before we start giving advice on that. :)


  3. callidus

    Jul 29, 2009
    Likes Received:
    I'm sorry.. here is the log.. ;)

    The call was made from Softphone (ext 12) through tunnel. the provider is optima.
    there are two more providers accounts registered, but they are no sip trunks. (and it works fine with them)

    for the sip trunk, there is no authentication.

    it's all in a test faze for now, so the version of 3cx is the free version.

    07:12:56.287 Active calls counted toward license limit: []
    07:12:55.537 [MS105000] C:1.2: No RTP packets were received:remoteAddr=,extAddr=,localAddr=
    07:12:54.240 [CM503008]: Call(1): Call is terminated
    07:12:50.443 Session 47 of leg C:1.1 is confirmed
    07:12:50.099 [CM503007]: Call(1): Device joined: sip:3708698@
    07:12:50.099 [CM503007]: Call(1): Device joined: sip:12@;rinstance=e606fcf3cf88f640
    07:12:50.099 [MS210001] C:1.2:Answer received. RTP connection[unsecure]:
    07:12:50.099 Remote SDP is set for legC:1.2
    07:12:46.833 [MS210003] C:1.1:Answer provided. Connection(transcoding mode[unsecure]):
    07:12:46.833 [MS210001] C:1.2:Answer received. RTP connection[unsecure]:
    07:12:46.833 Remote SDP is set for legC:1.2
    07:12:46.833 [CM505003]: Provider:[Optima] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [] PBX contact: [sip:3708698@]
    07:12:46.833 [CM503002]: Call(1): Alerting sip:3708698@
    07:12:44.615 [CM503025]: Call(1): Calling VoIPline:0913048787@(Ln.10003@Optima)@[Dev:sip:3708698@]
    07:12:44.615 [MS210002] C:1.2:Offer provided. Connection(transcoding mode):
    07:12:44.568 [CM503004]: Call(1): Route 1: VoIPline:0913048787@(Ln.10003@Optima)@[Dev:sip:3708698@]
    07:12:44.568 [CM503010]: Making route(s) to <sip:0913048787@>
    07:12:44.568 [MS210000] C:1.1:Offer received. RTP connection:
    07:12:44.568 Remote SDP is set for legC:1.1
    07:12:44.568 [CM505001]: Ext.12: Device info: Device Identified: [Man: 3CX Ltd.;Mod: 3CXVoipPhone;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXVoipPhone 4.0.9530.0] PBX contact: [sip:12@]
    07:12:44.552 [CM503001]: Call(1): Incoming call from Ext.12 to <sip:0913048787@>
    07:12:44.552 [CM500002]: Info on incoming INVITE:
    INVITE sip:0913048787@ SIP/2.0
    Via: SIP/2.0/UDP;branch=z9hG4bK-d8754z-2179ac00135ef42f-2---d8754z-;rport=5080;received=
    Via: SIP/2.0/UDP;branch=z9hG4bK-d8754z-tunneltid-1---d8754z-;rport
    Via: SIP/2.0/UDP;branch=z9hG4bK-d8754z-2179ac00135ef42f-1---d8754z-;rport=49547
    Max-Forwards: 68
    Record-Route: <sip:3cxBridge@;user=proxy;uri="">
    Contact: <sip:12@;rinstance=e606fcf3cf88f640>
    To: <sip:0913048787@>
    From: "Irena"<sip:12@>;tag=ab11df24
    CSeq: 2 INVITE
    Proxy-Authorization: Digest username="12",realm="3CXPhoneSystem",nonce="414d535c023d335c57:99b24dab6537b00f702a696ef6d42ebb",uri="sip:0913048787@",response="d16859223dde78fa60da02c428714697",algorithm=MD5
    Supported: replaces
    User-Agent: 3CXVoipPhone 4.0.9530.0
    Content-Length: 0

    07:12:28.224 [CM504001]: Ext.12: new contact is registered. Contact(s): [sip:12@;rinstance=e606fcf3cf88f640/12,sip:12@;rinstance=830b8a329ea040ab/12]
    07:12:24.287 Active calls counted toward license limit: []
    07:12:03.208 [CM504002]: Ext.12: a contact is unregistered. Contact(s): [sip:12@;rinstance=830b8a329ea040ab/12]
    07:11:52.287 Active calls counted toward license limit: []
    07:10:58.646 [CM504004]: Registration succeeded for: 10000@Voipdirekt
    07:10:58.412 [CM504003]: Sent registration request for 10000@Voipdirekt
    07:10:58.302 IP(s) added:[]
    07:10:57.802 [CM504001]: Ext.*0: new contact is registered. Contact(s): [sip:*0@;rinstance=46f0da2c27c80eca/*0]
    07:10:57.787 [CM504001]: Ext.EndCall: new contact is registered. Contact(s): [sip:EndCall@;rinstance=649d74451638bff2/EndCall]
    07:10:52.740 [CM504001]: Ext.12: new contact is registered. Contact(s): [sip:12@;rinstance=d6761ac4d0be1cd7/12,sip:12@;rinstance=830b8a329ea040ab/12]
    07:10:52.208 [EC200002]: Media server is connected: application:server:0/MediaServer local: remote:
    07:10:51.490 [EC200004]: IVR server is connected: application:server:0/IVRServer local: remote:
    07:10:50.224 Active calls counted toward license limit: []
    07:10:49.849 [CM504004]: Registration succeeded for: 10002@callidus
    07:10:49.740 [CM504003]: Sent registration request for 10002@callidus
    07:10:48.615 Transport [ V4 UDP target domain=unspecified mFlowKey=672 ] is joined to SIP multicast group
    07:10:48.224 [CM501006]: Default Local IP address: []
    07:10:48.224 [CM501007]: *** Started Calls Controller thread ***
    07:10:48.068 [EC200001]: Configuration server is connected: application:server:5485/DBProvider local: remote:
    07:10:48.052 [CM501010]: License Info: Load Failed
  4. carolinainnovative

    May 4, 2009
    Likes Received:
    Ok - give me a little insight into your network layout... firewall, etc, how this trunk is connected to your network, etc...

    Also - what do you have listed under Settings->Network->Public IP?
  5. callidus

    Jul 29, 2009
    Likes Received:
    ok.. here is the situation:
    modem (in bridge mode - one port internet connection (ADSL), second SIP trunk) - mikrotik rb750G router which is the pppoe client (on interface1)- dynamic public ip, sip trunk is connected to interface2 - static ip (, on interface3 is the lan ( - a server, 4 computers, 2 ip phones.
    the mikrotik router is also a firewall..

    at the moment as public IP is
    i think here should be actually be STUN resolved (because of the other provider)
  6. carolinainnovative

    May 4, 2009
    Likes Received:
    Ok try configuring the 3cxPhoneSystem.ini file as per this file:


    So you would add something to this effect:


    That should force it to only consider the PBX's subnet the ONLY local subnet.

    Then restart 3cx's services, try again, and post the logs if it doesn't work.

    Good luck!!

    ps - Also - please post logs in code /code tags - makes it easier to read... Thanks!
Thread Status:
Not open for further replies.