[Freeswitch-users] Forward fails with deflect and REFER to null

Brian West brian at freeswitch.org
Thu Aug 10 18:58:22 UTC 2017


Doesn’t deflect require the full sip uri?

On Thu, Aug 10, 2017 at 10:33 AM Anthony Minessale <
anthony.minessale at gmail.com> wrote:

>
> Its kind of like dns.  You alias your fqdn in the profile that is meant to
> host it.  It gives fs a hint which profile to use when presented a domain.
> You can either name the profile after the domain or use the alias.
>
> So if it doesn't fix your problem, its still a good practice.
>
>
>
>
> On Mon, Aug 7, 2017 at 1:36 PM Mario G <mario_fs at mgtech.com> wrote:
>
>> I tried some things this weekend to no avail, only an IP address in the
>> phone/client will allow forwarding:
>>
>> 1.In vars.xml I made the domain_name freeswitch.lan but that did not work.
>>
>> 2. To Internal.xml I added:  <alias name=“freeswitch.lan”/>
>>
>> 3. To Internal.xml I added:  <alias name="freeswitch”/>
>>
>> Are you saying I need to add an alias of freeswitch.lan to point to
>> internal.xml?
>>
>> On Aug 3, 2017, at 5:58 PM, Anthony Minessale <
>> anthony.minessale at gmail.com> wrote:
>>
>> I meant sip profiles.
>> There is a place to alias names for sip profiles.
>> Its always a good idea to alias any domain name being used to lead to
>> that profile in the profile def.
>>
>> I don't know if it makes a diff here but its still reccomended.
>>
>>
>>
>> On Thu, Aug 3, 2017 at 5:09 PM Mario G <mario_fs at mgtech.com> wrote:
>>
>>> I am not sure what you mean by profiles, it is not used anywhere in
>>> freeswitch, only in the phone’s configuration page (or setting in Bria) to
>>> find the server address of freeswitch.That name is the proper name, it is
>>> defined in the Zyxel router which has DNS. The DHCP server points the
>>> clients to the router to pick up local names like freeswitch.lan, then out
>>> to public DNS.
>>>
>>> Are you saying that since the phones use a DNS name instead of IP
>>> address I need to put “freeswitch.lan" someplace in Freeswitch?
>>>
>>>
>>> On Aug 3, 2017, at 10:52 AM, Anthony Minessale <
>>> anthony.minessale at gmail.com> wrote:
>>>
>>> Is that dns name the proper name or set as an alias to your profile?
>>>
>>> The only way to resolve names to profiles is by naming the profile to be
>>> the domain or use the alias feature.
>>>
>>> I am not positive that is part of your problem but based on the desc
>>> that is my hunch.
>>>
>>>
>>> On Thu, Aug 3, 2017 at 10:50 AM Mario G <mario_fs at mgtech.com> wrote:
>>>
>>>> In case anyone stumbles into this same problem… Over a year of work and
>>>> I finally found the problem: FS-10569
>>>> <https://freeswitch.org/jira/browse/FS-10569?jql=project%20=%20FS%20AND%20resolution%20=%20Unresolved%20ORDER%20BY%20updated%20DESC>
>>>> .
>>>>
>>>>
>>>> On Dec 29, 2016, at 11:13 AM, Mario G <mario_fs at mgtech.com> wrote:
>>>>
>>>> 1.6.13+git~20161214
>>>>
>>>> On Dec 28, 2016, at 12:52 PM, Brian West <brian at freeswitch.org> wrote:
>>>>
>>>> What rev of FreeSWITCH is this?
>>>>
>>>> On Wed, Dec 28, 2016 at 2:39 PM, Mario G <mario_fs at mgtech.com> wrote:
>>>>
>>>>> Anyone know the answer to this? Still no luck.
>>>>> Mario G
>>>>>
>>>>> On Nov 21, 2016, at 8:39 AM, Mario G <mario_fs at mgtech.com> wrote:
>>>>>
>>>>> What are the bold deflect and refer to lines below telling me? This
>>>>> worked until last year, not sure if it’s related to 1.6, I can’t nail down
>>>>> a start date.
>>>>>
>>>>> A ring group rings. When one phone’s FWD button is pressed prior to a
>>>>> call or during a call the call is forwarded to VM extension 2921, and the
>>>>> other phones stopped ringing. This no longer works, the set phone does not
>>>>> ring, the call is not transferred to VM and the other phones keep ringing.
>>>>> I couldn’t find anything on the wiki (it only described using codes to turn
>>>>> FWD on/off), etc. to explain why this stopped working. Any help to get the
>>>>> phone forwarding working again is greatly appreciated. Thanks!
>>>>> Mario G
>>>>>
>>>>> YEALINK T48G DSS button is set to forward to 2921, pressing again
>>>>> turns it off. All other DSS keys such as call park, etc work fine.
>>>>>
>>>>>      <extension name="vmonly">
>>>>>       <condition field="destination_number" expression="^2921$">
>>>>>         <!--  Call lua to set early media/ringback, ringtone, bridge
>>>>> parms and voicemail msg, pass the CALLIN function code -->
>>>>>         <action application="lua"
>>>>> data="/usr/local/FreeSwitch-scripts/known-people.lua CALLIN"/>
>>>>>         <action application="answer"/>
>>>>>         <action application="playback" data="${lua_vmmsg}"/>
>>>>>         <!-- Next line removes default greeting, we already played one
>>>>> above-->
>>>>>         <action application="set" data="skip_greeting=true"/>
>>>>>         <action application="voicemail" data="default ${domain_name}
>>>>> 100"/>
>>>>>       </condition>
>>>>>     </extension>
>>>>>
>>>>> This log shows the only lines that contain 2921 in *bold*:
>>>>> 2016-11-19 16:27:26.673609 [INFO] mod_dialplan_xml.c:637 Processing
>>>>> Mario G <15051234567>->2921 in context public
>>>>> Dialplan: sofia/internal/15051234567 at 11.123.1.10 parsing
>>>>> [public->unloop] continue=false
>>>>> Dialplan: sofia/internal/15051234567 at 11.123.1.10 Regex (PASS)
>>>>> [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
>>>>> Dialplan: sofia/internal/15051234567 at 11.123.1.10 Regex (PASS)
>>>>> [unloop] ${sip_looped_call}(true) =~ /^true$/ break=on-false
>>>>> Dialplan: sofia/internal/15051234567 at 11.123.1.10 *Action
>>>>> deflect(${destination_number})*
>>>>> 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:286 (
>>>>> sofia/internal/15051234567 at 11.123.1.10) State Change CS_ROUTING ->
>>>>> CS_EXECUTE
>>>>> 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:643 (
>>>>> sofia/internal/15051234567 at 11.123.1.10) State ROUTING going to sleep
>>>>> 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:584 (
>>>>> sofia/internal/15051234567 at 11.123.1.10) Running State Change
>>>>> CS_EXECUTE
>>>>> 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:650 (
>>>>> sofia/internal/15051234567 at 11.123.1.10) State EXECUTE
>>>>> 2016-11-19 16:27:26.673609 [DEBUG] mod_sofia.c:198
>>>>> sofia/internal/15051234567 at 11.123.1.10 SOFIA EXECUTE
>>>>> 2016-11-19 16:27:26.673609 [DEBUG] switch_core_state_machine.c:328
>>>>> sofia/internal/15051234567 at 11.123.1.10 Standard EXECUTE
>>>>> EXECUTE sofia/internal/15051234567 at 11.123.1.10* deflect(2921)*
>>>>> 2016-11-19 16:27:26.673609 [DEBUG] sofia.c:8349 *Process REFER to
>>>>> [(null)@2921*]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at 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 at 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 at 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 at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:
>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Brian West*
>>>> brian at freeswitch.org
>>>>
>>>>
>>>> *Twitter: @FreeSWITCH , @briankwest*
>>>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50)
>>>> http://www.freeswitchcookbook.com (50% Discount using code
>>>> FreeSwitch50)
>>>> https://www.gofundme.com/freeswitch_ubuntu
>>>>
>>>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>>>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>>>
>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>>> *Skype:*briankwest
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at 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 at 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 at 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 at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>
>>> --
>>> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>>>
>>>http://freeswitch.org/http://cluecon.com/>>> http://twitter.com/FreeSWITCH
>>> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
>>> <http://freeswitch.org/g+>*
>>>
>>> ClueCon Weekly Development Call
>>> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
>>>
>>> https://www.youtube.com/watch?v=oAxXgyx5jUw
>>> https://www.youtube.com/watch?v=9XXgW34t40s
>>> https://www.youtube.com/watch?v=NLaDpGQuZDA
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at 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 at 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 at 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 at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>
>> --
>> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>>
>>http://freeswitch.org/http://cluecon.com/>> http://twitter.com/FreeSWITCH
>> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
>> <http://freeswitch.org/g+>*
>>
>> ClueCon Weekly Development Call
>> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
>>
>> https://www.youtube.com/watch?v=oAxXgyx5jUw
>> https://www.youtube.com/watch?v=9XXgW34t40s
>> https://www.youtube.com/watch?v=NLaDpGQuZDA
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at 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 at 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 at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
> --
> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>
>http://freeswitch.org/http://cluecon.com/> http://twitter.com/FreeSWITCH
> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
> <http://freeswitch.org/g+>*
>
> ClueCon Weekly Development Call
> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
>
> https://www.youtube.com/watch?v=oAxXgyx5jUw
> https://www.youtube.com/watch?v=9XXgW34t40s
> https://www.youtube.com/watch?v=NLaDpGQuZDA
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-- 

*Brian West*
brian at freeswitch.org

*Twitter: @FreeSWITCH , @briankwest*

http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Book a phone call (CST) <https://freeswitch.com/appointment>

Allison prompts for FreeSWITCH:

*https://www.gofundme.com/allison-prompts-for-freeswitch*
<https://www.gofundme.com/allison-prompts-for-freeswitch>

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170810/300c6c63/attachment-0001.html>


More information about the FreeSWITCH-users mailing list