E
E
EvilDev2016-03-04 11:55:11
FreeSWITCH
EvilDev, 2016-03-04 11:55:11

freeswitch. Why is my laptop not accepting incoming messages?

Faced such a problem. In the office, there is a laptop on which the sip client is configured. Such a client is configured at home, but for some reason the laptop does not accept incoming messages. More precisely:
Zoiper - does not accept
Empathy - accepts, but then there is a break in communication before picking up the phone.
I didn't find anything suspicious in the logs. What could be the problem?
I am attaching a dialplan:

<?xml version="1.0" encoding="UTF-8"?>
<include>
<context name="zadarma">

<extension name="unloop">
        <condition field="$${unroll_loops}" expression="^true$" />
        <condition field="${sip_looped_call}" expression="^true$">
        <action application="deflect" data="${destination_number}" />
        </condition>
</extension>

<extension name="in-zadarma">
    <condition field="destination_number" expression="^(339398)$">

    <action application="set" data="ignore_early_media=true" />
    <action application="set" data="ringback=/usr/share/freeswitch/sounds/music/in1.wav" />

    <action application="bridge" data="user/[email protected]$${domain}"/>
    <action application="hangup"/>
    </condition>
</extension>

<extension name="out-zadarma">
    <condition field="destination_number" expression="^(\d{10,15})$">
    <action application="bridge" data="sofia/gateway/zadarma/$1"/>
    <action application="hangup"/>
    </condition>
</extension>

<extension name="local">
    <condition field="destination_number" expression="^\d{4}$">
    <action application="answer" />
    <action application="sleep" data="1000" />
    <action application="bridge" data="user/${destination_number}@$${domain}" />
    <action application="hangup" />
    </condition>
</extension>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question