<div class="gmail_quote">2008/12/11 Dave Fullerton <span dir="ltr"><<a href="mailto:dfullertasterisk@shorelinecontainer.com">dfullertasterisk@shorelinecontainer.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Brent Davidson wrote:<br>
> I have several branch offices all running Asterisk PBX's that register<br>
> to each other via SIP so that calls can be transferred from office to<br>
> office. Everything is working great on the office to office transfers,<br>
> but I'd like to somehow make the CallerID more useful. Currently if an<br>
> extension at Office1 dials an extension at Office2 the CID on the phone<br>
> at Office2 says "Office1". The same thing happens if a person at<br>
> Office1 transfers an incoming call to Office2. The caller ID at Office2<br>
> always just says "Office1".<br>
><br>
> What I would like to happen would be when Bob at Extension 12 at Office1<br>
> calls Office2 the caller ID at office 2 would say "Bob" in the name<br>
> files and "12" in the number field. If Bob does a blind transfer to an<br>
> extension at Office2 I would like the caller ID on the Office2 phone to<br>
> display the original caller's name and number.<br>
><br>
> I've read most of the documentation on the CallerID variables, but am<br>
> still having a bit of trouble wrapping my head around the necessary<br>
> logic to accomplish what I need to do, (mainly because I'm in the middle<br>
> of a totally unrelated project and am having trouble multi-tasking).<br>
> Could anyone give me a starting point?<br>
><br>
> Thanks,<br>
> Brent<br>
<br>
</div>Check the entries for office1 and office2 servers in sip.conf. If they<br>
have a callerid= entry comment it out and do a SIP reload. When it is<br>
set asterisk overrides the caller ID sent to it.</blockquote><div><br>additionally if you want to have the callerid to include office1 when calling office2, you could change the callerid using<br><br>Set(CALLERID(name)=${CALLERID(name)} Office 1)<br>
<br>just before sending through to office 2<br><br>Something along those lines anyway, not entirely sure on the syntax or if there's a better way to do it.. but i'm sure someone will correct me if i'm wrong :)<br>
<br>Geraint<br></div></div>