[Asterisk-Users] Passing CallerID to SIP phone from TDM400P

Adam Goryachev mailinglists at websitemanagers.com.au
Tue Oct 12 22:15:28 MST 2004


On Wed, 2004-10-13 at 15:06, James Bean wrote:
> Sorry, I explained this wrong.
> 
> I am wanting the callerid of the incoming caller from my
> analogue line on the TDM400P to be passed TO the sip 
> phone so the sip phone display shows the phone number of
> the incoming caler from the call on the TDM400P.
> 
> It shows any callerid information from other sip phones 
> or extension calls fine.

I'm not sure, but try the following:

a) Ensure you actually have the callerid service provided to your line,
this is usually an extra charge from telstra (AFAIK)
b) Add a wait(3) (maybe a 2 or 4 seconds is needed) before the noop
c) Patch asterisk with this patch (I'm still waiting to be able to do
this from a config file. This is what I use to allow asterisk to pass
callerid *to* my analog FXS extensions. I assume it is the same for FXO
lines.

diff -ur asterisk/channels/chan_zap.c asterisk.mine/channels/chan_zap.c
--- asterisk/channels/chan_zap.c        Wed Sep 22 18:24:18 2004
+++ asterisk.mine/channels/chan_zap.c   Wed Sep 22 18:24:41 2004
@@ -89,7 +89,7 @@
 /* #define ZAP_CHECK_HOOKSTATE */

 /* Typically, how many rings before we should send Caller*ID */
-#define DEFAULT_CIDRINGS 1
+#define DEFAULT_CIDRINGS 2

 #define CHANNEL_PSEUDO -12

Obviously after the last one, you need to re-compile and re-install
asterisk, and then re-start asterisk.

Regards,
Adam





More information about the asterisk-users mailing list