[asterisk-users] Challenging problem regarding CallerID in TDM
04B (Trying to solve since 8 days)
Crazy Boy
crazymoonboy at yahoo.com
Fri Aug 18 03:56:25 MST 2006
Hi Leo,
Thank you for your quick response. In Internet, I came to know that
1) In India, we have to give dtmf and ring for cidsignallling and cidstart respectively.
2) Default Asterisk setup doesn't recognise callerid in India. To recognize callerid in India, we have to do or change some modifications in chan_zap.c source file. Is it right?
3) Please open the below link and see the values for India.
http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf
Here I am giving the error messages on Asterisk console.
*CLI> -- Starting simple switch on 'Zap/1-1'
Aug 18 14:53:13 ERROR[15499]: callerid.c:276 callerid_feed: fsk_serie made mylen < 0 (-16)
Aug 18 14:53:13 WARNING[15499]: chan_zap.c:6087 ss_thread: CallerID feed failed: Success
Aug 18 14:53:13 WARNING[15499]: chan_zap.c:6131 ss_thread: CallerID returned with error on channel 'Zap/1-1'
-- Executing Wait("Zap/1-1", "10") in new stack
-- Executing Answer("Zap/1-1", "") in new stack
-- Executing NoOp("Zap/1-1", " 18082006-14:53:24") in new stack
-- Executing NoOp("Zap/1-1", "CallerID is ") in new stack
-- Executing NoOp("Zap/1-1", "CallerID Name is ") in new stack
-- Executing NoOp("Zap/1-1", "CallerID Number is ") in new stack
-- Executing SetMusicOnHold("Zap/1-1", "default") in new stack
-- Executing Set("Zap/1-1", "TIMEOUT(digit)=5") in new stack
-- Digit timeout set to 5
-- Executing Set("Zap/1-1", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10
-- Executing BackGround("Zap/1-1", "/tmp/virg2") in new stack
-- Playing '/tmp/virg2' (language 'en')
== CDR updated on Zap/1-1
-- Executing Dial("Zap/1-1", "SIP/105|15|t|12") in new stack
-- Called 105
-- SIP/105-00798410 is ringing
-- Nobody picked up in 15000 ms
-- Executing VoiceMail("Zap/1-1", "u105") in new stack
-- Playing 'vm-theperson' (language 'en')
-- Playing 'digits/1' (language 'en')
-- Playing 'digits/0' (language 'en')
-- Playing 'digits/5' (language 'en')
-- Playing 'vm-isunavail' (language 'en')
-- Playing 'vm-intro' (language 'en')
== Spawn extension (incoming, 105, 2) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
Please tell me. Looking forward to your response. Thank you.
Regards,
Chandra.
Leo Ann Boon <leo at datvoiz.com> wrote: Please see my response in-line.
Crazy Boy wrote:
> Hi Leo,
>
> Thank you for your response. I am answering for your questions.
>
> Q) As El mentioned - did you actually subscribe for callerid? Most
> telcos will charge it as a VAS(Value Added Service).
> Ans) Yes. You are right. I have already subscribed for callerid and
> tested with an analog phone with callerid instrument.
>
> Q) Check the format of the Caller ID provided by your telco - bell,v23
> or dtmf?
> Ans) I dont know how to check my caller id format provided by our
> provider. Can you please explain how to check my caller id format?
You have to ask your provider or check with your local regulator. From
your error log, I'm fairly certain Asterisk is not detecting the
caller-id. So, it's either its not sent by the telco or it's in the
wrong format. US uses the bell format, UK and many Commonwealth
countries use v23 while some European countries use DTMF. I'm not
familar with India, but I think it's not bell (Asterisk's default).
>
> Q) Check when is Caller ID sent, in some places it's between 1st and
> 2nd. Other between 2nd and 3rd. You need to Wait(?) as El suggested to
> wait for it to be sent.
> Ans) As you said, I put the Wait(4) statement in extensions.conf file
> in [incoming] context. But, callerid is not displaying.
>
> Q) Is there any reason you're using US tones instead of India?
> Ans) No reason. Is there any effect on getting callerid, if i use
> like this.
It's not important for caller id, but may create other issues like hangup.
>
> Q) Is your line really a kewlstart line? I think it should more likely
> be loopstart.
> Ans) Frankly, I dont know what is kewlstart? Can you please tell me.
>
Please see this
http://ourproject.org/docman/view.php/116/144/faq.html#TDM%20&%20Analog_1
kewlstart is pretty much exclusive to Asterisk (and some channel banks)
to provide disconnect supervision. For telco analog lines, it's usually
loopstart or groundstart. kewlstart is based on loopstart so you should
be able to place and receive calls, but you'll run into other issues.
Word of advice: Please get hold of a copy of your local
telecommunication signaling standards. Without that, it's like
navigating a ship in the dark without a map.
Regards.
Leo
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
---------------------------------
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060818/a9f4453c/attachment.htm
More information about the asterisk-users
mailing list