incoming call no ring sound for caller

Status
Not open for further replies.

djebali

Member
Mar 4, 2017
42
0
6
55
Helo everybody
I need some help for an issue , after setting the voip provider settings an creating the inbound destination
when the caller call the destination he doen't here at the ringing sound , until the callee took the lines .
Can someone tell me when I can set to fix this ssue?
sami
 

krooney

Member
Jun 18, 2018
172
16
18
Helo everybody
I need some help for an issue , after setting the voip provider settings an creating the inbound destination
when the caller call the destination he doen't here at the ringing sound , until the callee took the lines .
Can someone tell me when I can set to fix this ssue?
sami
same issue here did you resolve this
 

JaxxyJae

New Member
Sep 15, 2018
6
1
3
It's probably dead music on hold. Can you explain your trunk settings (screenshots or XML output), and if its going to a ring group or a queue and if MOH is defined in the destinations? Be sure to obfuscate any sensitive info.
 

JaxxyJae

New Member
Sep 15, 2018
6
1
3
Without seeing your configuration it's impossible to know what the issue might be. FS sends early media so there's something else going on. It's going straight to the extension and not a ring group right? Can you post the configuration you have without sensitive info?

Also do you have any CLI output? Use the code tags in the forum when responding so it's easy to read.
 

krooney

Member
Jun 18, 2018
172
16
18
@JaxxyJae here is the cli


2018-09-16 23:30:07.730705 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1000@XXX.XX.XXX.XXX :1575 Standard INIT
2018-09-16 23:30:07.730705 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State Change CS_INIT -> CS_ROUTING
2018-09-16 23:30:07.730705 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State INIT going to sleep
2018-09-16 23:30:07.730705 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) Running State Change CS_ROUTING (Cur 2 Tot 37)
2018-09-16 23:30:07.730705 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State ROUTING
2018-09-16 23:30:07.730705 [DEBUG] mod_sofia.c:143 sofia/internal/1000@XXX.XX.XXX.XXX :1575 SOFIA ROUTING
2018-09-16 23:30:07.730705 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2018-09-16 23:30:07.730705 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State ROUTING going to sleep
2018-09-16 23:30:07.730705 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 37)
2018-09-16 23:30:07.730705 [DEBUG] sofia.c:7084 Channel sofia/internal/1000@XXX.XX.XXX.XXX :1575 entering state [calling][0]
2018-09-16 23:30:07.730705 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State CONSUME_MEDIA
2018-09-16 23:30:07.730705 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State CONSUME_MEDIA going to sleep
2018-09-16 23:30:27.010715 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/internal/1000@XXX.XX.XXX.XXX :1575 [CS_CONSUME_MEDIA] [NO_ANSWER]
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) Running State Change CS_HANGUP (Cur 2 Tot 37)
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) Callstate Change DOWN -> HANGUP
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State HANGUP
2018-09-16 23:30:27.030722 [NOTICE] switch_ivr_originate.c:2851 Cannot create outgoing channel of type [user] cause: [NO_ANSWER]
2018-09-16 23:30:27.030722 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 19 [NO_ANSWER]
2018-09-16 23:30:27.030722 [DEBUG] mod_sofia.c:438 Channel sofia/internal/1000@XXX.XX.XXX.XXX :1575 hanging up, cause: NO_ANSWER
2018-09-16 23:30:27.030722 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NO_ANSWER
EXECUTE sofia/external/514XXXXXXX@XXX.XX.XXX.XXX lua(app.lua failure_handler)
2018-09-16 23:30:27.030722 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/internal/1000@XXX.XX.XXX.XXX :1575
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1000@24.37.7.150:1575 Standard HANGUP, cause: NO_ANSWER
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State HANGUP going to sleep
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State Change CS_HANGUP -> CS_REPORTING
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) Running State Change CS_REPORTING (Cur 2 Tot 37)
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State REPORTING
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1000@XXX.XX.XXX.XXX :1575 Standard REPORTING, cause: NO_ANSWER
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State REPORTING going to sleep
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State Change CS_REPORTING -> CS_DESTROY
2018-09-16 23:30:27.030722 [DEBUG] switch_core_session.c:1665 Session 37 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) Locked, Waiting on external entities
2018-09-16 23:30:27.030722 [NOTICE] switch_core_session.c:1683 Session 37 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) Ended
2018-09-16 23:30:27.030722 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/1000@XXX.XX.XXX.XXX :1575 [CS_DESTROY]
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) Running State Change CS_DESTROY (Cur 1 Tot 37)
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State DESTROY
2018-09-16 23:30:27.030722 [DEBUG] mod_sofia.c:343 sofia/internal/1000@24.37.7.150:1575 SOFIA DESTROY
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1000@XXX.XX.XXX.XXX :1575 Standard DESTROY
2018-09-16 23:30:27.030722 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1000@XXX.XX.XXX.XXX :1575) State DESTROY going to sleep
2018-09-16 23:30:27.030722 [DEBUG] switch_cpp.cpp:1112 sofia/external/514XXXXXXX@XXX.XX.XXX.XXX destroy/unlink session from object
EXECUTE sofia/external/5145839686@184.75.215.106 answer()
2018-09-16 23:30:27.030722 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/external/514XXXXXXX@XXX.XX.XXX.XXX] 159.203.30.110 port 19230 -> 184.75.215.106 port 18058 codec: 0 ms: 20
2018-09-16 23:30:27.030722 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
2018-09-16 23:30:27.030722 [DEBUG] switch_core_media.c:7180 sofia/external/514XXXXXXX@XXX.XX.XXX.XXX Set 2833 dtmf send payload to 101
2018-09-16 23:30:27.030722 [DEBUG] switch_core_media.c:7187 sofia/external/514XXXXXXX@XXX.XX.XXX.XXX Set 2833 dtmf receive payload to 101
2018-09-16 23:30:27.030722 [DEBUG] switch_core_media.c:7210 sofia/external/514XXXXXXX@XXX.XX.XXX.XXX Set rtp dtmf delay to 40
2018-09-16 23:30:27.030722 [DEBUG] mod_sofia.c:850 Local SDP sofia/external/514XXXXXXX@XXX.XX.XXX.XXX:
v=0
 

JaxxyJae

New Member
Sep 15, 2018
6
1
3
At the Freeswitch CLI do this:

sofia loglevel all 9
sofia global siptrace on

Paste the results in pastebin or something once the call is made and obfuscated. In your inbound routes page, what does that config look like? Is it in the public context?
 

JaxxyJae

New Member
Sep 15, 2018
6
1
3
And you said this is a SIP URI call? Not a regular trunked call? You may have to force the ring-back sound.
 
  • Like
Reactions: krooney

djebali

Member
Mar 4, 2017
42
0
6
55
Hello JaxxyJae
i did set the instant_ringback=true i the destination
same issue the caller doesn't hear any ring
thsi is the configuration in the detination part
<extension name="003223350735" continue="false" uuid="39d7dff3-ab76-457d-a5ff-79e63ff93f27">
<condition field="destination_number" expression="^(003223350735)$">
<action application="export" data="call_direction=inbound" inline="true"/>
<action application="set" data="domain_uuid=36fd8936-6d22-4af4-98c1-d5af5411692a" inline="true"/>
<action application="set" data="domain_name=callpbx.callsoft.be" inline="true"/>
<action application="set" data="instant_ringback=true"/>
<action application="transfer" data="210 XML callpbx.callsoft.be"/>
</condition>
</extension>
do i have to make other modification?
sami
 

krooney

Member
Jun 18, 2018
172
16
18
Hello JaxxyJae
i did set the instant_ringback=true i the destination
same issue the caller doesn't hear any ring
thsi is the configuration in the detination part
<extension name="003223350735" continue="false" uuid="39d7dff3-ab76-457d-a5ff-79e63ff93f27">
<condition field="destination_number" expression="^(003223350735)$">
<action application="export" data="call_direction=inbound" inline="true"/>
<action application="set" data="domain_uuid=36fd8936-6d22-4af4-98c1-d5af5411692a" inline="true"/>
<action application="set" data="domain_name=callpbx.callsoft.be" inline="true"/>
<action application="set" data="instant_ringback=true"/>
<action application="transfer" data="210 XML callpbx.callsoft.be"/>
</condition>
</extension>
do i have to make other modification?
sami
set instant ringback right after destination numberScreenshot_20180926-120912__01.jpg
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,071
577
113
Use caution with the above solution, this should only be needed in very rare use cases and you could well be masking another problem that may come back and bite you.
 
  • Like
Reactions: vespaman

tkintenn

Member
Aug 8, 2018
30
4
8
Knoxville, Tn
Hate to open an older thread, but i'm having this issue.

I have added instant_ringback=true after destination_number but it had no effect. Below is my xml. I am transferring to a time of day option (401), which depending on when sends to an extension 120 or extension 102. The play tone stream was my attempt to edit the inbound route and add us-ring to it.

Code:
<extension name="18652351705" continue="false" uuid="5bf70780-b7d1-4601-b1ad-e7256686ea04">
    <condition field="destination_number" expression="^(18652351705)$">
        <action application="export" data="call_direction=inbound" inline="true"/>
        <action application="set" data="domain_uuid=71d5bb4e-a852-4d52-acf5-aa0fdfc01b8f" inline="true"/>
        <action application="set" data="domain_name=comm.shafertechsolutions.com" inline="true"/>
        <action application="set" data="hangup_after_bridge=true"/>
        <action application="set" data="continue_on_fail=true"/>
        <action application="set" data="record_path=${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}" inline="true"/>
        <action application="set" data="record_name=${uuid}.${record_ext}" inline="true"/>
        <action application="set" data="record_append=true" inline="true"/>
        <action application="set" data="record_in_progress=true" inline="true"/>
        <action application="set" data="recording_follow_transfer=true" inline="true"/>
        <action application="record_session" data="${record_path}/${record_name}" inline="false"/>
        <action application="transfer" data="401 XML 192.168.3.15"/>
        <action application="play tone_stream" data="//%(2000,4000,440,480)"/>
    </condition>
</extension>

Any assistance is great appreciated!
 

tkintenn

Member
Aug 8, 2018
30
4
8
Knoxville, Tn
I fixed the issue by changing the Time condition extension to use a ring group. I setup to two ring groups. and it now works. Not sure that's really a fix, but a work around.
 

djebali

Member
Mar 4, 2017
42
0
6
55
Hello tkintenn
I 'm following what you do
did you try the " actionn instant_ringback=true"
here is an example of my xml file dialplan
but the instant_ringback dosen't work
maybe you have a solution
this issue is making me crazy
If you can help me I thank you
sami

<extension name="003223350735" continue="false" uuid="39d7dff3-ab76-457d-a5ff-79e63ff93f27">
<condition field="destination_number" expression="^(003223350735)$">
<action application="export" data="call_direction=inbound" inline="true"/>
<action application="set" data="domain_uuid=36fd8936-6d22-4af4-98c1-d5af5411692a" inline="true"/>
<action application="set" data="domain_name=callpbx.callsoft.be" inline="true"/>
<action application="set" data="instant_ringback=true"/>
<action application="transfer" data="210 XML callpbx.callsoft.be"/>
</condition>
</extension>
 

tkintenn

Member
Aug 8, 2018
30
4
8
Knoxville, Tn
Hello tkintenn
I 'm following what you do
did you try the " actionn instant_ringback=true"
here is an example of my xml file dialplan
but the instant_ringback dosen't work
maybe you have a solution
this issue is making me crazy
If you can help me I thank you
sami

<extension name="003223350735" continue="false" uuid="39d7dff3-ab76-457d-a5ff-79e63ff93f27">
<condition field="destination_number" expression="^(003223350735)$">
<action application="export" data="call_direction=inbound" inline="true"/>
<action application="set" data="domain_uuid=36fd8936-6d22-4af4-98c1-d5af5411692a" inline="true"/>
<action application="set" data="domain_name=callpbx.callsoft.be" inline="true"/>
<action application="set" data="instant_ringback=true"/>
<action application="transfer" data="210 XML callpbx.callsoft.be"/>
</condition>
</extension>
Setting instant_ringback didn't work for me . I switched to ring groups, that worked for me.

However, if I wanted to to set an inbound directly to an extension, tied to a desk phone I wouldn't want to create a ringgroup each time.

I'm using skyetel and followed their setup instructions.
 

djebali

Member
Mar 4, 2017
42
0
6
55
Setting instant_ringback didn't work for me . I switched to ring groups, that worked for me.

However, if I wanted to to set an inbound directly to an extension, tied to a desk phone I wouldn't want to create a ringgroup each time.

I'm using skyetel and followed their setup instructions.
Hello Tkitenn , I di dalready used the RG , same issue
 

stin

New Member
Jun 19, 2020
28
0
1
43
Having the issue, too. Does anyone else have any knowledge about this?

(Rant: I have found that digging for detailed explanatory information for troubleshooting FreeSWITCH is, frankly, fruitless and, IMHO, I do think that the FreeSWITCH project needs to allocate resources to work towards completing up-to-date documentation for the current major version/milestone.)
 
Status
Not open for further replies.