Hi Michael
On 16 Jan 2005, at 20:22, Michael Johnston wrote:>
> Currenly the inbound lines do not have callerid on them so callerid=no
> in my zapata.conf file. What happens on inbound calls is that the SIP
> extensions are dialed but their callerid shows
'asterisk@SIP:X.com'.
> Does anyone know how to change the callerid on the inbound calls?
>
You can do this using this kind of setup in extensions.conf:
(Put this in your inbound context which you defined in zapata.conf.)
exten => s,1,SetVar(ALERT_INFO=Bellcore-r2)
exten => s,2,SetCallerId,Line 1 <1>
exten => s,3,Dial(SIP/110&SIP/111,20,tr)
Phil.
------------------------------------------------------------------------
--------------------------
Phil Quinney
IT Consultant - Any-Ideas