[Asterisk-Users] Re: Re: revisit to legacy PBX and CID over PRI

Steven asterisk at tescogroup.com
Fri Jun 9 13:39:24 MST 2006


I am using FreePBX for configs and have voicmail boxes in asterisk for my legacy users.
So I also had to change:

exten => s,10,Dial(${ds})                               ; dialparties will set the priority to 10 if $ds is not null

to

exten => s,10,GotoIf($["${ds}" : "zap/g2"]?11:12)
exten => s,11,Set(CALLERID(name)=)
exten => s,12,Dial(${ds})                               ; dialparties will set the priority to 10 if $ds is not null

in my [macro-dial]

I have to look for zap/g2 so that I only erase the name for Legacy extensions and not for asterisk extensions.

I am not sure why Set(CALLERID(name)=) did not work in [macro-dialout-trunk], but Set(CALLERID(all)=<${CALLERID(number)}>)
 worked fine since I did not need to send the name out on my telco side either.



-- 
-- 
Steven

http://www.glimasoutheast.org



"Steven" <asterisk at tescogroup.com> wrote in message news:e6chj8$86q$1 at sea.gmane.org...
> adding this:
> exten => s,14,Set(CALLERID(all)=<${CALLERID(number)}>)
> to my macro-dialout-trunk is stopping the calleridname.
>
> -- 
> -- 
> Steven
>
> http://www.glimasoutheast.org
>
>
>
> "Steven" <asterisk at tescogroup.com> wrote in message news:e6bu29$hgb$1 at sea.gmane.org...
>>I did the debugs and posted them at http://bugs.digium.com/view.php?id=7321
>>
>> -- 
>> -- 
>> Steven
>>
>> http://www.glimasoutheast.org
>>
>>
>>
>> "Steven" <asterisk at tescogroup.com> wrote in message news:e6bor9$sm5$1 at sea.gmane.org...
>>>I have tried that as well.
>>>
>>> I will do a debug of:
>>> hidecallerid=yes
>>>
>>> hidecallerid=no with a call from telco with no callerID.
>>>
>>> hidecallerid=no with a call with callerID.
>>>
>>>
>>>
>>>
>>>
>>> -- 
>>> -- 
>>> Steven
>>>
>>> http://www.glimasoutheast.org
>>>
>>>
>>>
>>> "Patrick" <asterisk at puzzled.xs4all.nl> wrote in message news:1149854583.2202.75.camel at speedy.puzzled.xs4all.nl...
>>>> On Fri, 2006-06-09 at 07:47 -0400, Steven wrote:
>>>>> I have set the name to "" before transferring and it doesn't work.
>>>>> The PRI debug still shows that it is trying to send "".
>>>>
>>>> Perhaps try:
>>>> exten => 123,1,Set(CALLERID(name)=)
>>>>
>>>> Regards,
>>>> Patrick
>>>>
>>>> _______________________________________________
>>>> --Bandwidth and Colocation provided by Easynews.com --
>>>>
>>>> Asterisk-Users mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> --Bandwidth and Colocation provided by Easynews.com --
>>>
>>> Asterisk-Users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> Asterisk-Users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 






More information about the asterisk-users mailing list