[asterisk-dev] 2 callers id needed on the originate command
Donny Kavanagh
donnyk at gmail.com
Thu Apr 16 10:08:11 CDT 2009
Consider setting the caller id into a variable in the 'Variable:' line
and then doing your dial on a local channel.
Donny
On Thu, Apr 16, 2009 at 10:56 AM, Stephen Coles <scoles at wellpak.co.uk> wrote:
> I use the originate command from vb express like the one below to do
> computer dialling however i want my phone to say there extension, and
> then I want the person I'm dialling phone to say my number.
>
> However when i set callerid to their number, my phone says the right
> number but there phone says there number. So we need two callerid one
> for the local and one for the remote side. So i can set what i want my
> phone to say (local side) in callerid_local: and the number i want their
> phone (remote side) to say callerid_remote:
>
> The originate command:
> Action: Originate
> Channel: SIP/101test
> Context: default
> Exten: 8135551212
> Priority: 1
> Callerid: 3125551212
> Timeout: 30000
> Variable: var1=23|var2=24|var3=25
> ActionID: ABC45678901234567890
>
> Proposed
>
> The originate command:
> Action: Originate
> Channel: SIP/101test
> Context: default
> Exten: 8135551212
> Priority: 1
> Callerid_local: ComputerDial - XYZ Company <220>
> Callerid_remote: 3125551212
> Timeout: 30000
> Variable: var1=23|var2=24|var3=25
> ActionID: ABC45678901234567890
>
> Or probably best to keep callerid and just add callerid_local to keep
> compatibility with existing apps
>
> I propose this cos i'm good at what i do, but no where near as good to
> start recoding asterisk so will leave it up to the masters
>
> Stephen Coles
> IT Services
> Wellpak(UK) Ltd
>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list