[asterisk-users] force outgoinc callerid

nik600 nik600 at gmail.com
Tue May 15 00:24:21 MST 2007


On 5/10/07, Steve Kennedy <steve-asterisk at gbnet.net> wrote:
> On Thu, May 10, 2007 at 06:36:53PM +0200, nik600 wrote:
>
> > i have a Te205P connected to a PRI E1, can i force the outgoing
> > callerid to change for each context?
> >
> > for example:
> > [outgoing_context_one]
> > ;force callerid to 12345
> exten => _XXXXXXXXXXX,1,Set(CALLERID(number)=12345)
> > exten => _XXXXXXXXXXX,1,Dial(Zap/${EXTEN})
>
> > [outgoing_context_two]
> > ;force callerid to 22222
> exten => _XXXXXXXXXXX,1,Set(CALLERID(number)=22222)
> > exten => _XXXXXXXXXXX,1,Dial(Zap/${EXTEN})
> > Can i do that?
> > thanks to all
>
> Assuming your telco allows it.
>
> Steve
>
> --
> NetTek Ltd  UK mob +44-(0)7775 755503
> UK +44-(0)20 79932612 / US +1-(310)8577715 / Fax +44-(0)20 7483 2455
> Skype/GoogleTalk/AIM/Gizmo/Mac stevekennedyuk / MSN steve at gbnet.net
> Euro Tech News Blog http://eurotechnews.blogspot.com
> _______________________________________________
> --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
>

Hi i've checked and my telco allows to pass the callerid.
But i still have problems with the configuration, i've enabled the
logging of pri and this is the output:

-- Making new call for cr 32797
    -- Requested transfer capability: 0x00 - SPEECH
> Protocol Discriminator: Q.931 (8)  len=32
> Call Ref: len= 2 (reference 29/0x1D) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer capability: Speech (0)
>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
>                              Ext: 1  User information layer 1: A-Law (35)
> [18 03 a9 83 96]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel Type: 3
>                       Ext: 1  Channel: 22 ]
> [6c 02 00 c3]
> Calling Number (len= 4) [ Ext: 0  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)
>                           Presentation: Number not available (67) '' ]
> [333xxxxxxxxxxxxxx]
> Called Number (len=13) [ Ext: 1  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '333xxxxxxxxxxxxxxxxxxxxx' ]



Note:
 Calling Number (len= 4) [ Ext: 0  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0)
-- 
/*************/
nik600
https://sourceforge.net/projects/ccmanager
https://sourceforge.net/projects/nikstresser


More information about the asterisk-users mailing list