[Asterisk-Users] CallerID

Julian J. M. julianjm at gmail.com
Mon Feb 21 01:46:03 MST 2005


You can't change the callerid on an outgoing PSTN call (at least on
analog lines).

To modifiy the callerid on incoming calls, you could do something like
this (not tested):

[incoming-line1]
exten => s,1,setCidName("Line1: " . ${CALLERID})
exten => s,2,Goto(Incoming,s,1)

[incoming]
exten => s,1,....normal incoming call stuff

then set a different context for each of your zap channels...


Julianjm.

On Mon, 21 Feb 2005 01:37:29 -0600, Anton Krall <akrall at intruder.com.mx> wrote:
> Guys... I see there is a callerid parameter on zapata.conf... what does that
> cid modify? the callerid people see when you call them using any PSTN line?
> 
> Is there a way to send the SIP phone the incoming callerid frpm PSTN lines
> asrecevied and append some string depending on the line it is coming from?
> 
> __________________________________________________________________
> Anton Krall
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list