[Asterisk-Users] Setting channel display in SIP

Adam Goryachev mailinglists at websitemanagers.com.au
Wed Jan 12 18:38:54 MST 2005


On Thu, 2005-01-13 at 11:24 +1100, Howard Lowndes wrote:
> On Thu, 2005-01-13 at 11:11, Adam Goryachev wrote:
> > On Thu, 2005-01-13 at 10:20 +1100, Howard Lowndes wrote:
> > > I have a situation where I need to know which Zap channel an incoming
> > > call is on, so that the call can be answered appropriately when a SIP
> > > phone displays the channel.  These Zap calls are coming in over PSTN and
> > > don't have caller ID.
> > > 
> > > As far as I can make out my SIP phones (WuChuan HOP-1002) display the
> > > user part from the SIP "From:" header as the second line on the
> > > display.  If the call comes from another SIP phone then this shows as
> > > the phone's number, but when the call comes in over the Zap channels
> > > then it gets generated as "asterisk".
> > 
> > AFAIK, this is the default callerid asterisk uses when it doesn't
> > receive callerid.
> > Try adding setcallerid in your dialplan,
> 
> I tried setcidname in the dialplan without success, so I will try this
> suggestion.

Play with combinations of setcallerid and setcidnum and setcidname ...
see the wiki to correctly format your examples.

> >  or callerid in your zapata.conf
> > for each channel.
> 
> Tried that - no dice.

Send your zapata.conf file so we can see what you tried. AFAICT,
asterisk is sometimes picky with the formatting of the callerid info.

Regards,
Adam
-- 
 -- 
Adam Goryachev
Website Managers
Ph:  +61 2 8304 0000                        adam at websitemanagers.com.au
Fax: +61 2 9345 4396                        www.websitemanagers.com.au




More information about the asterisk-users mailing list