[Freeswitch-users] Caller ID prefix missing
Paul Atreides
paul.atreides83 at googlemail.com
Wed Apr 1 13:09:21 MSD 2015
Thanks :)
On Wed, Apr 1, 2015 at 10:40 AM, Andrew Cassidy <
andrew at cassidywebservices.co.uk> wrote:
> Oh right! sorry!
>
> Try this for the bridge:
>
> <action application="bridge"
> data="{origination_callee_id_name=$0,origination_callee_id_number=$0,
> ignore_display_updates=true}sofia/gateway/isdn/$1"/>
>
> It forcibly sets the callee details to the original number then is
> instructed to ignore display updates from the gateway.
>
> On 31 March 2015 at 20:37, Paul Atreides <paul.atreides83 at googlemail.com>
> wrote:
>
>> Hi Andrew,
>>
>> I think my description was not so good. My gateway accepts 012456789 but
>> I want the user to dial 001234567.
>> Can I remove the leading 0 and still tell the sip client that the user
>> dialed with the extra 0?
>>
>>
>> On Tue, Mar 31, 2015 at 6:04 PM, Andrew Cassidy <
>> andrew at cassidywebservices.co.uk> wrote:
>>
>>> change $1 to $0 or 0$1
>>>
>>> On 31 March 2015 at 16:29, Paul Atreides <paul.atreides83 at googlemail.com
>>> > wrote:
>>>
>>>> Hi,
>>>>
>>>> when I place a call over the gateway to the PTSN I see the dialed
>>>> number without
>>>> the leading 0 prefix in the history of my Grandstream GXP2140. Is there
>>>> a way
>>>> to add the 0 back again?
>>>>
>>>> Thank you
>>>>
>>>> <include>
>>>> <extension name="isdn-outbound">
>>>> <condition field="destination_number" expression="^0(\d+)$">
>>>> <action application="set"
>>>> data="effective_caller_id_number=${outbound_caller_id_number}"/>
>>>> <action application="set"
>>>> data="effective_caller_id_name=${outbound_caller_id_name}"/>
>>>> <action application="bridge" data="sofia/gateway/isdn/$1"/>
>>>> </condition>
>>>> </extension>
>>>> </include>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>
>>
>>
>> _________________________________________________________________________
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150401/28ffaff3/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list