[Freeswitch-users] Callee name before connect

Dušan Dragić dragic.dusan at gmail.com
Sat Oct 11 16:00:18 MSD 2014


I also took a quick look at mod_sofia.c and in function
sofia_receive_message() tech_pvt->cid_type is always 0
(CID_TYPE_RPID), regardless of sip_cid_type setting. Because of this
generate_pai_str() always returns a remote party id string.
Should this be considered a bug?

On 8 October 2014 16:41, Chris B. Ware <chrisbware at yahoo.it> wrote:
>
> sip_cid_type works on caller , I think.
>
> What I can see is that phones got callee name from ringing sent back by FS.
> I mean
>
>
> Bob->INVITE->FS->INVITE->Alice
>
> Alice->180 RINGING -> FS -> 180 RINGING with RPID "Alice" -> BOB
>
>
> Looking at code, with my poor C knowledge, seems that is not possible to
> change this, while SNOM phones would like:
>
> Alice->180 RINGING -> FS -> 180 RINGING with PAI "Alice" -> BOB
>
>
> I wonder if I'm missing something or none need to see Called Party name on
> his phone's display, before connect.
>
>
>> well if you see the inbound call is
>  from a Snom set sip_cid_type=pid
>
>
>
> Il Martedì 7 Ottobre 2014 15:13, Chris B. Ware <chrisbware at yahoo.it> ha
> scritto:
>
>
> Brian,
>
> setting
> <action application="set_profile_var" data="callee_id_name=Alice"/>
>
> fixed  in part my problem. Now in 180 Ringing I have
>
> Remote-Party-ID: "Alice"
> <sip:201 at mydomain.com>;party=calling;privacy=off;screen=no
>
> It makes Polycom phones happy, but Snom want pai, not rpid. Is there a way
> to change?
>
> Thank you
>
>
>
>
>
>
>
>
> Date: Tue, 7 Oct 2014 12:55:16 +0100
> From: Andrew Cassidy <andrew at cassidywebservices.co.uk>
> Subject: Re: [Freeswitch-users] Callee name before connect
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Message-ID:
>     <CAMbW9oKhnm9+cHxA3tmA-ep_=S+qyOB=mcj0KwkkBm9HCBnicA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> No, bridge should handle the session states from there. The point of using
> ring_ready is it forces freeswitch to send an early 180 - Ringing response
> where bridge would normally copy the 180 or 183 response from the b-leg.
>
> It's worth mentioning the other thing I do related to caller id stuff is
> use the extension number as the username, makes sure it gets set by the
> devices properly.
>
> On 6 October 2014 22:20, Blake Priddy <bpriddy at bryantschools.org> wrote:
>
>> Andrew would you do that after the bridge as well?
>>
>> On Mon, Oct 6, 2014 at 11:32 AM, Andrew Cassidy <
>> andrew at cassidywebservices.co.uk> wrote:
>>
>>> I find <action application="ring_ready" /> can also help
>>>
>>> On 6 October 2014 15:59, Brian West <brian at freeswitch.org> wrote:
>>>
>>>> just call set_profile_var callee_id_name before the bridge.
>>>>
>>>> On Mon, Oct 6, 2014 at 9:35 AM, Chris B. Ware <chrisbware at yahoo.it>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm using FS 1.2.24. My customer wants the following feaure:
>>>>>
>>>>> - Bob is 201
>>>>> - Alice is 202
>>>>> - When Bob calls 202, wants to see "Alice" on his phone's display on
>>>>> Ringing
>>>>>
>>>>> It works after connect but not during provisional response. According
>>>>> to Wiki I'm using
>>>>>
>>>>> <action application="bridge"
>>>>> data="{origination_callee_id_name=Alice}user/202@${domain_name}"/>
>>>>>
>>>>> Any help?
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> 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
>>>>
>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *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
>>>>
>>>
>>>
>>>
>>> --
>>> *Andrew Cassidy BSc (Hons) MBCS SSCA*
>>> Managing Director
>>>
>>>
>>> *T <info at cassidywebservices.co.uk> *03300 100 960  *F
>>> <info at cassidywebservices.co.uk> *03300 100 961
>>> *E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
>>> *W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>
>>
>>
>> --
>>
>>
>> *Blakelund Priddy*
>> Network & Systems Engineer
>> Bryant Public School District
>> Bryant, Arkansas 72022
>> http://www.bryantschools.org
>> p 501-653-5038
>> f 501-847-5656
>>
>> _________________________________________________________________________
>> 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
>>
>
>
>
> --
> *Andrew Cassidy BSc (Hons) MBCS SSCA*
> Managing Director
>
>
> *T <info at cassidywebservices.co.uk> *03300 100 960  *F
> <info at cassidywebservices.co.uk> *03300 100 961
> *E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
> *W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141007/7061c7e3/attachment-0001.html
>
>
>
>
>
> _________________________________________________________________________
> 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



-- 
Dušan Dragić



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list