Internal/External Calls Working but users cant hear each other

Status
Not open for further replies.

Rufus

New Member
Jan 31, 2020
6
0
1
33
Hello,

My provider is using port 5060 and was forced to change internal port to 5080 but immediately i changed users no longer hear each other and from the logs I get no error. Please help. My internal port is 5080 and external port is 5060
I have two subnets one for the provider and the other for my internal set up. From the logs I see no error:

2020-02-03 15:22:38.216697 [DEBUG] switch_rtp.c:4408 Starting timer [soft] 160 bytes per 20ms
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:8973 sofia/internal/201@192.168.0.116:5080 Set 2833 dtmf send payload to 101
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:8980 sofia/internal/201@192.168.0.116:5080 Set 2833 dtmf receive payload to 101
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:9003 sofia/internal/201@192.168.0.116:5080 Set rtp dtmf delay to 40
2020-02-03 15:22:38.236630 [NOTICE] sofia.c:8479 Channel [sofia/internal/201@192.168.0.116:5080] has been answered
2020-02-03 15:22:38.236630 [DEBUG] switch_channel.c:3865 (sofia/internal/201@192.168.0.116:5080) Callstate Change RINGING -> ACTIVE
2020-02-03 15:22:38.236630 [DEBUG] switch_core_codec.c:248 sofia/internal/500@192.168.0.71:5080 Restore previous codec G722:9.
2020-02-03 15:22:38.236630 [DEBUG] switch_core_media.c:8641 Audio params are unchanged for sofia/internal/500@192.168.0.71:5080.
2020-02-03 15:22:38.236630 [DEBUG] mod_sofia.c:898 Local SDP sofia/internal/500@192.168.0.71:5080:
v=0
o=FreeSWITCH 1580705588 1580705590 IN IP4 10.221.6.218
s=FreeSWITCH
c=IN IP4 10.221.6.218
t=0 0
m=audio 26964 RTP/AVP 9 101
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2020-02-03 15:22:32.356625 [DEBUG] switch_ivr_originate.c:1304 Raw Codec Activation Success L16@16000hz 1 channel 20ms
2020-02-03 15:22:32.356625 [DEBUG] switch_core_codec.c:223 sofia/internal/500@192.168.0.71:5080 Push codec L16:100
2020-02-03 15:22:32.356625 [DEBUG] switch_ivr_originate.c:1378 Play Ringback Tone [%(2000,4000,440,480)]
2020-02-03 15:22:32.376628 [DEBUG] sofia.c:7301 Channel sofia/internal/500@192.168.0.71:5080 entering state [early][183]
2020-02-03 15:22:38.216697 [DEBUG] sofia.c:7301 Channel sofia/internal/201@192.168.0.116:5080 entering state [completing][200]
2020-02-03 15:22:38.216697 [DEBUG] sofia.c:7311 Remote SDP:
v=0
o=- 20049 20049 IN IP4 192.168.0.116
s=SDP data
c=IN IP4 192.168.0.116
t=0 0
m=audio 12178 RTP/AVP 9 101
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20

2020-02-03 15:22:38.216697 [DEBUG] sofia.c:7301 Channel sofia/internal/201@192.168.0.116:5080 entering state [ready][200]
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:5647 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:5592 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:5508 Set telephone-event payload to 101@8000
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:3837 Set Codec sofia/internal/201@192.168.0.116:5080 G722/8000 20 ms 160 samples 64000 bits 1 channels
2020-02-03 15:22:38.216697 [DEBUG] switch_core_codec.c:111 sofia/internal/201@192.168.0.116:5080 Original read codec set to G722:9
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:5851 Set telephone-event payload to 101@8000
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:5909 sofia/internal/201@192.168.0.116:5080 Set 2833 dtmf send payload to 101 recv payload to 101
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/internal/201@192.168.0.116:5080] 192.168.0.71 port 29146 -> 192.168.0.116 port 12178 codec: 9 ms: 20
2020-02-03 15:22:38.216697 [DEBUG] switch_rtp.c:4408 Starting timer [soft] 160 bytes per 20ms
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:8973 sofia/internal/201@192.168.0.116:5080 Set 2833 dtmf send payload to 101
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:8980 sofia/internal/201@192.168.0.116:5080 Set 2833 dtmf receive payload to 101
2020-02-03 15:22:38.216697 [DEBUG] switch_core_media.c:9003 sofia/internal/201@192.168.0.116:5080 Set rtp dtmf delay to 40
2020-02-03 15:22:38.236630 [NOTICE] sofia.c:8479 Channel [sofia/internal/201@192.168.0.116:5080] has been answered
2020-02-03 15:22:38.236630 [DEBUG] switch_channel.c:3865 (sofia/internal/201@192.168.0.116:5080) Callstate Change RINGING -> ACTIVE
2020-02-03 15:22:38.236630 [DEBUG] switch_core_codec.c:248 sofia/internal/500@192.168.0.71:5080 Restore previous codec G722:9.
2020-02-03 15:22:38.236630 [DEBUG] switch_core_media.c:8641 Audio params are unchanged for sofia/internal/500@192.168.0.71:5080.
2020-02-03 15:22:38.236630 [DEBUG] mod_sofia.c:898 Local SDP sofia/internal/500@192.168.0.71:5080:
v=0
o=FreeSWITCH 1580705588 1580705590 IN IP4 10.221.6.218
s=FreeSWITCH
c=IN IP4 10.221.6.218
t=0 0
m=audio 26964 RTP/AVP 9 101
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

2020-02-03 15:22:38.236630 [NOTICE] switch_ivr_originate.c:3751 Channel [sofia/internal/500@192.168.0.71:5080] has been answered
2020-02-03 15:22:38.236630 [DEBUG] switch_channel.c:3865 (sofia/internal/500@192.168.0.71:5080) Callstate Change EARLY -> ACTIVE
2020-02-03 15:22:38.236630 [DEBUG] sofia.c:7301 Channel sofia/internal/500@192.168.0.71:5080 entering state [completed][200]
2020-02-03 15:22:38.236630 [DEBUG] switch_ivr_originate.c:3809 Originate Resulted in Success: [sofia/internal/201@192.168.0.116:5080]
2020-02-03 15:22:38.236630 [DEBUG] switch_ivr_originate.c:3809 Originate Resulted in Success: [sofia/internal/201@192.168.0.116:5080]
2020-02-03 15:22:38.236630 [DEBUG] switch_ivr_bridge.c:1796 (sofia/internal/201@192.168.0.116:5080) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2020-02-03 15:22:38.236630 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/201@192.168.0.116:5080) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 309)
2020-02-03 15:22:38.236630 [DEBUG] switch_core_state_machine.c:654 (sofia/internal/201@192.168.0.116:5080) State EXCHANGE_MEDIA
2020-02-03 15:22:38.236630 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2020-02-03 15:23:10.256681 [DEBUG] sofia.c:7301 Channel sofia/internal/500@192.168.0.71:5080 entering state [terminating][0]
2020-02-03 15:23:10.256681 [NOTICE] sofia.c:8534 Hangup sofia/internal/500@192.168.0.71:5080 [CS_EXECUTE] [NORMAL_UNSPECIFIED]
2020-02-03 15:23:10.256681 [DEBUG] mod_hash.c:297 Usage for 192.168.0.71_201 is now 0
2020-02-03 15:23:10.256681 [DEBUG] switch_ivr_bridge.c:829 sofia/internal/500@192.168.0.71:5080 ending bridge by request from read function
2020-02-03 15:23:10.256681 [DEBUG] switch_ivr_bridge.c:915 BRIDGE THREAD DONE [sofia/internal/500@192.168.0.71:5080]
2020-02-03 15:23:10.256681 [DEBUG] switch_ivr_bridge.c:915 BRIDGE THREAD DONE [sofia/internal/201@192.168.0.116:5080]
2020-02-03 15:23:10.256681 [NOTICE] switch_ivr_bridge.c:1032 Hangup sofia/internal/201@192.168.0.116:5080 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2020-02-03 15:23:10.256681 [DEBUG] switch_core_state_machine.c:654 (sofia/internal/201@192.168.0.116:5080) State EXCHANGE_MEDIA going to sleep
2020-02-03 15:23:10.256681 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/201@192.168.0.116:5080) Running State Change CS_HANGUP (Cur 2 Tot 309)
2020-02-03 15:23:10.256681 [DEBUG] switch_core_state_machine.c:848 (sofia/internal/201@192.168.0.116:5080) Callstate Change ACTIVE -> HANGUP
2020-02-03 15:23:10.256681 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/201@192.168.0.116:5080) State HANGUP
2020-02-03 15:23:10.256681 [DEBUG] mod_sofia.c:453 Channel sofia/internal/201@192.168.0.116:5080 hanging up, cause: NORMAL_CLEARING
2020-02-03 15:23:10.256681 [DEBUG] switch_ivr_bridge.c:1895 sofia/internal/201@192.168.0.116:5080 skip receive message [UNBRIDGE] (channel is hungup already)
2020-02-03 15:23:10.256681 [DEBUG] switch_ivr_bridge.c:1898 sofia/internal/500@192.168.0.71:5080 skip receive message [UNBRIDGE] (channel is hungup already)
2020-02-03 15:23:10.276629 [DEBUG] switch_core_session.c:2905 sofia/internal/500@192.168.0.71:5080 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:651 (sofia/internal/500@192.168.0.71:5080) State EXECUTE going to sleep
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/500@192.168.0.71:5080) Running State Change CS_HANGUP (Cur 2 Tot 309)
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:848 (sofia/internal/500@192.168.0.71:5080) Callstate Change ACTIVE -> HANGUP
2020-02-03 15:23:10.276629 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/internal/201@192.168.0.116:5080
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/500@192.168.0.71:5080) State HANGUP
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:60 sofia/internal/201@192.168.0.116:5080 Standard HANGUP, cause: NORMAL_CLEARING
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/201@192.168.0.116:5080) State HANGUP going to sleep
2020-02-03 15:23:10.276629 [DEBUG] mod_sofia.c:453 Channel sofia/internal/500@192.168.0.71:5080 hanging up, cause: NORMAL_UNSPECIFIED
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:620 (sofia/internal/201@192.168.0.116:5080) State Change CS_HANGUP -> CS_REPORTING
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/201@192.168.0.116:5080) Running State Change CS_REPORTING (Cur 2 Tot 309)
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/201@192.168.0.116:5080) State REPORTING
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:174 sofia/internal/201@192.168.0.116:5080 Standard REPORTING, cause: NORMAL_CLEARING
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/201@192.168.0.116:5080) State REPORTING going to sleep
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:60 sofia/internal/500@192.168.0.71:5080 Standard HANGUP, cause: NORMAL_UNSPECIFIED
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/500@192.168.0.71:5080) State HANGUP going to sleep
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:611 (sofia/internal/201@192.168.0.116:5080) State Change CS_REPORTING -> CS_DESTROY
2020-02-03 15:23:10.276629 [DEBUG] switch_core_session.c:1726 Session 309 (sofia/internal/201@192.168.0.116:5080) Locked, Waiting on external entities
2020-02-03 15:23:10.276629 [NOTICE] switch_core_session.c:1744 Session 309 (sofia/internal/201@192.168.0.116:5080) Ended
2020-02-03 15:23:10.276629 [NOTICE] switch_core_session.c:1748 Close Channel sofia/internal/201@192.168.0.116:5080 [CS_DESTROY]
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/201@192.168.0.116:5080) Running State Change CS_DESTROY (Cur 1 Tot 309)
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/201@192.168.0.116:5080) State DESTROY
2020-02-03 15:23:10.276629 [DEBUG] mod_sofia.c:364 sofia/internal/201@192.168.0.116:5080 SOFIA DESTROY
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:181 sofia/internal/201@192.168.0.116:5080 Standard DESTROY
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/201@192.168.0.116:5080) State DESTROY going to sleep
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:781 Hangup Command with no Session lua(app.lua hangup):

2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:620 (sofia/internal/500@192.168.0.71:5080) State Change CS_HANGUP -> CS_REPORTING
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/500@192.168.0.71:5080) Running State Change CS_REPORTING (Cur 1 Tot 309)
2020-02-03 15:23:10.276629 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/500@192.168.0.71:5080) State REPORTING
2020-02-03 15:23:10.316674 [DEBUG] switch_core_state_machine.c:174 sofia/internal/500@192.168.0.71:5080 Standard REPORTING, cause: NORMAL_UNSPECIFIED
2020-02-03 15:23:10.316674 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/500@192.168.0.71:5080) State REPORTING going to sleep
2020-02-03 15:23:10.316674 [DEBUG] switch_core_state_machine.c:611 (sofia/internal/500@192.168.0.71:5080) State Change CS_REPORTING -> CS_DESTROY
2020-02-03 15:23:10.316674 [DEBUG] switch_core_session.c:1726 Session 308 (sofia/internal/500@192.168.0.71:5080) Locked, Waiting on external entities
2020-02-03 15:23:10.316674 [NOTICE] switch_core_session.c:1744 Session 308 (sofia/internal/500@192.168.0.71:5080) Ended
2020-02-03 15:23:10.316674 [NOTICE] switch_core_session.c:1748 Close Channel sofia/internal/500@192.168.0.71:5080 [CS_DESTROY]
2020-02-03 15:23:10.316674 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/500@192.168.0.71:5080) Running State Change CS_DESTROY (Cur 0 Tot 309)
2020-02-03 15:23:10.316674 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/500@192.168.0.71:5080) State DESTROY
2020-02-03 15:23:10.316674 [DEBUG] mod_sofia.c:364 sofia/internal/500@192.168.0.71:5080 SOFIA DESTROY
2020-02-03 15:23:10.316674 [DEBUG] switch_core_state_machine.c:181 sofia/internal/500@192.168.0.71:5080 Standard DESTROY
2020-02-03 15:23:10.316674 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/500@192.168.0.71:5080) State DESTROY going to sleep
 
Status
Not open for further replies.