Re: [asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

2006-08-21 Thread Crazy Boy
Dear Leo,As you said, I have tried using dtmf and in different values. But, no reuslt. Finally, I knew that Basic Asterisk setup doesn't recognize callerid in India. To get callerid in India, we have to do some modifications in chan_zap.c source file. But, I dont know what modifications I have to do? Do you have any Idea about these modifications in source code? Can you please tell me. Looking forward to your response. Thank you.Regards,Chandra.Leo Ann Boon [EMAIL PROTECTED] wrote: Crazy Boy wrote: 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.Have you tried settingcidsignalling=dtmf 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?If cidsignalling=dtmf won't work then you might have to consider invasive surgery on chan_zap. :) 3) Please open the below link and see the values for India. http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf  The zaptel driver has tone definition for india. In /etc/zaptel.conf:loadzone=indefaultzone=in 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. *//*___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
 http://lists.digium.com/mailman/listinfo/asterisk-users 
		Do you Yahoo!? 
Get on board. You're invited to try the new Yahoo! Mail Beta.___
--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


Re: [asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

2006-08-20 Thread Greg Delgado
Yes, that's according to our telco's specs. 'D' is the
start character, followed by up to 12 digits
representing the number, then finally a 'C' which is
the stop signal. I'm almost sure that a modification
needs to be done in the callerid handler but have no
idea where and how to do it. yes, maybe the maintainer
can point us in the right direction?

--- Leo Ann Boon [EMAIL PROTECTED] wrote:

 Greg,
 
 It looks like Asterisk managed to collect the caller
 id digits. Is there 
 supposed to be a 'D' in the beginning? From your
 trace, it looks like 
 the caller id was 'D009229129709C'.
 
 Greg Delgado wrote:
 
  Aug 18 19:38:50 DEBUG[9451]: chan_zap.c:4366
  __zt_exception: Exception on 12, channel 1

 
 Could this be the problem? The exception might have
 terminated the 
 caller-id collection. Perhaps the maintainer of the
 dtmf caller-id might 
 have a better idea.
 
 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
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
--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


Re: [asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

2006-08-19 Thread Leo Ann Boon

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


Re: [asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

2006-08-19 Thread Leo Ann Boon

Crazy Boy wrote:

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.

Have you tried setting
cidsignalling=dtmf

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?
If cidsignalling=dtmf won't work then you might have to consider 
invasive surgery on chan_zap. :)

3) Please open the below link and see the values for India.
http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf 
http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf

The zaptel driver has tone definition for india. In /etc/zaptel.conf:
loadzone=in
defaultzone=in



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.

*//*


___
--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


Re: [asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

2006-08-19 Thread Leo Ann Boon

Greg,

It looks like Asterisk managed to collect the caller id digits. Is there 
supposed to be a 'D' in the beginning? From your trace, it looks like 
the caller id was 'D009229129709C'.


Greg Delgado wrote:


Aug 18 19:38:50 DEBUG[9451]: chan_zap.c:4366
__zt_exception: Exception on 12, channel 1
  


Could this be the problem? The exception might have terminated the 
caller-id collection. Perhaps the maintainer of the dtmf caller-id might 
have a better idea.


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


Re: [asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

2006-08-18 Thread Crazy Boy
Hi Leo,Thank you for your quick response. In Internet, I came to know that1) 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: SuccessAug 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
 [EMAIL PROTECTED] 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_1kewlstart 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 listTo UNSUBSCRIBE or update options visit:  
 http://lists.digium.com/mailman/listinfo/asterisk-users 
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.___
--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


Re: [asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

2006-08-18 Thread Greg Delgado

In my case I'm able to see the callerid digits being
read by the chan_zap module. However, the number does
not get through to the ${CALLERID} variable. please
see debug trace below. 

zaptel.conf:
fxsls=1
fxsls=2
loadzone= us
defaultzone = us

in zapata.conf, i have:
signalling=fxsls
usecallerid=yes
callerid=asreceived
cidsignalling=dtmf
cidstart=polarity


Aug 18 19:38:46 DEBUG[9392]: chan_zap.c:
do_monitor: Monitor doohicky got event Ring/Answered
on channel 1
Aug 18 19:38:46 DEBUG[9392]: dsp.c:1619
ast_dsp_set_busy_pattern: dsp busy pattern set to 0,0
-- Starting simple switch on 'Zap/1-1'
Aug 18 19:38:46 DEBUG[9386]: devicestate.c:187
do_state_change: Changing state for Zap/1 - state 2
(In use)
Aug 18 19:38:46 DEBUG[9452]: app_queue.c:490
changethread: Device 'Zap/1' changed to state '2' (In
use) but we don't care because they're not a member of
any queue.
Aug 18 19:38:46 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'Wait'
-- Executing Wait(Zap/1-1, 5) in new stack
Aug 18 19:38:47 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: D on Zap/1-1
Aug 18 19:38:47 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 0 on Zap/1-1
Aug 18 19:38:47 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 0 on Zap/1-1
Aug 18 19:38:47 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 9 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 2 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 2 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 8 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 1 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 2 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 9 on Zap/1-1
Aug 18 19:38:48 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 7 on Zap/1-1
Aug 18 19:38:49 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 0 on Zap/1-1
Aug 18 19:38:49 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: 9 on Zap/1-1
Aug 18 19:38:49 DEBUG[9451]: chan_zap.c:4643 zt_read:
DTMF digit: C on Zap/1-1
Aug 18 19:38:50 DEBUG[9451]: chan_zap.c:4366
__zt_exception: Exception on 12, channel 1
Aug 18 19:38:50 DEBUG[9451]: chan_zap.c:3554
zt_handle_event: Got event Ring Begin(18) on channel 1
(index 0)
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:4366
__zt_exception: Exception on 12, channel 1
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:3554
zt_handle_event: Got event Ring/Answered(2) on channel
1 (index 0)
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:3903
zt_handle_event: Setting IDLE polarity due to ring.
Old polarity was 0
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:3926
zt_handle_event: Ring detected
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'Answer'
-- Executing Answer(Zap/1-1, ) in new stack
Aug 18 19:38:51 DEBUG[9386]: channel.c:777
channel_find_locked: Avoiding initial deadlock for
'Zap/1-1'
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:2692
zt_answer: Took Zap/1-1 off hook
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:1421
zt_enable_ec: Enabled echo cancellation on channel 1
Aug 18 19:38:51 DEBUG[9451]: chan_zap.c:1437
zt_train_ec: Engaged echo training on channel 1
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'NoOp'
-- Executing NoOp(Zap/1-1, CALLERID is : ) in
new stack
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1522
pbx_substitute_variables_helper_full: Function result
is ''
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'NoOp'
-- Executing NoOp(Zap/1-1, CALLERID(num) is :
) in new stack
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1522
pbx_substitute_variables_helper_full: Function result
is ''
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'NoOp'
-- Executing NoOp(Zap/1-1, CALLERID(rdnis) is
: ) in new stack
Aug 18 19:38:51 ERROR[9451]: func_callerid.c:68
callerid_read: Unknown callerid data type.
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1522
pbx_substitute_variables_helper_full: Function result
is ''
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'NoOp'
-- Executing NoOp(Zap/1-1, CALLERID(dnis) is :
) in new stack
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'NoOp'
-- Executing NoOp(Zap/1-1, CALLERIDNUM is : )
in new stack
Aug 18 19:38:51 DEBUG[9451]: pbx.c:1677
pbx_extension_helper: Launching 'Hangup'
-- Executing Hangup(Zap/1-1, ) in new stack


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
--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


[asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

2006-08-17 Thread Crazy Boy
   Hi,Here I am posting my problem. I am getting this problem since 8 days. I have studied documentation and looked previous posts in forums. But, I am unable to solve this problem. Please show me a solution. I am from India. We have installed Asterisk with Digium 04B card (4 FXO ports). Now, I have connected my PSTN line directly to first port. I am making outgoing calls and receiving incoming calls successfully through my Asterisk. The problem is: When I am receiving a call from outside (PSTN-Eg. Mobile), I am not getting the callerid number of the caller and getting callerid as "Asterisk" in my softphones (XLite).Here I am giving my config files and error message. Please see it.zaptel.conf contents:loadzone = usdefaultzone=usfxsks=1-4zapata.conf contents:[channels]context=incomingsignalling=fxs_ksbusydetect=1busycount=7relaxdtmf=yescallwaiting=yescallwaitingcallerid=yesthreewaycalling=yescancallforward=yesechocancelwhenbridged=yesrxgain=0.0txgain=0.0callerid=asreceivedlanguage=enusecallerid=yeshidecallerid=noechocancel=yestransfer=yesimmediate=nomusiconhold=defaultringtimeout=8000cidsignalling=dtmfcidstart=ringgroup=1callgroup=1pickupgroup=1channel = 1sip.conf  contents:[105]type=friendusername=105secret=ravicallerid="RaviKanth"host=dynamiccontext=leadercanreinvite=nonat=yesdtmfmode=rfc2833allow=allextensions.conf contents:[incoming]exten = s,1,Wait(4)exten = s,n,Answerexten =
 s,n,SetMusicOnHold(default)exten = s,n,Set(TIMEOUT(digit)=5)exten = s,n,Set(TIMEOUT(response)=10)exten = s,n,Background(/tmp/virg2)exten = s,n,Goto(s,1)exten = s,n,Hangup()include = leader[leader]exten = 105,1,Dial(SIP/105,15)exten = 105,2,Voicemail(u105)exten = 105,3,Voicemail(b105)exten = 105,4,Hangupexten = _9XX,1,Dial(Zap/1/${EXTEN:1}) ; Mobile phoneexten = _5,1,Dial(Zap/1/${EXTEN:1})  ; Local Landlineinclude = internal[internal]exten = 105, 1,  Dial(SIP/105,15)When somebody calls from outside (Eg: mobile), I am getting this below error message on Asterisk console:Error Message:Aug  17 19:45:41 ERROR[10449]: callerid.c:276 callerid_feed: fsk_serie made mylen  0 (-8)Aug  17 19:45:41 WARNING[10449]:
 chan_zap.c:6087 ss_thread: CallerID feed failed: SuccessAug  17 19:45:41 WARNING[10449]: chan_zap.c:6131 ss_thread: CallerID returned with error on channel 'Zap/1-1'Please tell me the solution. Looking forward to your kind response. Thank you.Regards,Chandra. 
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.___
--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


Re: [asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

2006-08-17 Thread El Flynn

Crazy Boy wrote:

   Hi,

Here I am posting my problem. I am getting this problem since 8 days. I have studied documentation and looked previous posts in forums. But, I am unable to solve this problem. Please show me a solution. I am from India. 


We have installed Asterisk with Digium 04B card (4 FXO ports). Now, I  have connected my 
PSTN line directly to first port. I am making outgoing  calls and receiving incoming 
calls successfully through my Asterisk. The  problem is: When I am receiving a call from 
outside (PSTN-Eg. Mobile), I am not  getting the callerid number of the caller and 
getting callerid as Asterisk in my  softphones (XLite).


SNIP

When somebody calls from outside (Eg: mobile), I am getting this below error 
message on Asterisk console:

Error Message:
Aug  17 19:45:41 ERROR[10449]: callerid.c:276  callerid_feed: fsk_serie made mylen 
 0 (-8)
Aug  17 19:45:41 WARNING[10449]: chan_zap.c:6087  ss_thread: CallerID feed 
failed: Success
Aug  17 19:45:41 WARNING[10449]: chan_zap.c:6131  ss_thread: CallerID returned 
with error on channel  'Zap/1-1'

Please tell me the solution. Looking forward to your kind response. 



Do you actually _HAVE_ caller ID on that PSTN line?

Flynn


___
--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


Re: [asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

2006-08-17 Thread Leo Ann Boon

Crazy Boy wrote:

Hi,

Here I am posting my problem. I am getting this problem since 8 days. 
I have studied documentation and looked previous posts in forums. But, 
I am unable to solve this problem. Please show me a solution. I am 
from India.


We have installed Asterisk with Digium 04B card (4 FXO ports). Now, I  
have connected my PSTN line directly to first port. I am making 
outgoing  calls and receiving incoming calls successfully through my 
Asterisk. The  problem is: When I am receiving a call from outside 
(PSTN-Eg. Mobile), I am not  getting the callerid number of the caller 
and getting callerid as Asterisk in my  softphones (XLite).



A few things:
a. As El mentioned - did you actually subscribe for callerid? Most 
telcos will charge it as a VAS(Value Added Service).
b. Check the format of the Caller ID provided by your telco - bell,v23 
or dtmf?
c. 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.


Other things I see in your config:
a. Is there any reason you're using US tones instead of India?
b. Is your line really a kewlstart line? I think it should more likely 
be loopstart.


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


Re: [asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

2006-08-17 Thread Crazy Boy
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?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.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.Here I am giving my config files and error message. Please see it.zaptel.conf contents:loadzone = usdefaultzone=usfxsks=1-4zapata.conf contents:[channels]context=incomingsignalling=fxs_ksbusydetect=1busycount=7relaxdtmf=yescallwaiting=yescallwaitingcallerid=yesthreewaycalling=yescancallforward=yesechocancelwhenbridged=yesrxgain=0.0txgain=0.0callerid=asreceivedlanguage=enusecallerid=yeshidecallerid=noechocancel=yestransfer=yesimmediate=nomusiconhold=defaultringtimeout=8000cidsignalling=dtmfcidstart=ringgroup=1callgroup=1pickupgroup=1channel = 1sip.conf  contents:[105]type=friendusername=105secret=ravicallerid="RaviKanth"host=dynamiccontext=leadercanreinvite=nonat=yesdtmfmode=rfc2833allow=allextensions.conf contents:[incoming]exten = s,1,Wait(4)exten = s,n,Answerexten =  s,n,SetMusicOnHold(default)exten = s,n,Set(TIMEOUT(digit)=5)exten = s,n,Set(TIMEOUT(response)=10)exten = s,n,Background(/tmp/virg2)exten = s,n,Goto(s,1)exten = s,n,Hangup()include = leader[leader]exten = 105,1,Dial(SIP/105,15)exten = 105,2,Voicemail(u105)exten = 105,3,Voicemail(b105)exten = 105,4,Hangupexten = _9XX,1,Dial(Zap/1/${EXTEN:1}) ; Mobile phoneexten = _5,1,Dial(Zap/1/${EXTEN:1})  ; Local Landlineinclude =
 internal[internal]exten = 105, 1,  Dial(SIP/105,15)When somebody calls from outside (Eg: mobile), I am getting this below error message on Asterisk console:Error Message:Aug  17 19:45:41 ERROR[10449]: callerid.c:276 callerid_feed: fsk_serie made mylen  0 (-8)Aug  17 19:45:41 WARNING[10449]:  chan_zap.c:6087 ss_thread: CallerID feed failed: SuccessAug  17 19:45:41 WARNING[10449]: chan_zap.c:6131 ss_thread: CallerID returned with error on channel 'Zap/1-1'Please tell me the solution. Looking forward to your kind response. Thank you.Regards,Chandra.Leo Ann Boon [EMAIL PROTECTED] wrote: Crazy Boy wrote: Hi, Here I am posting my problem. I am getting this problem since 8
 days.  I have studied documentation and looked previous posts in forums. But,  I am unable to solve this problem. Please show me a solution. I am  from India. We have installed Asterisk with Digium 04B card (4 FXO ports). Now, I   have connected my PSTN line directly to first port. I am making  outgoing  calls and receiving incoming calls successfully through my  Asterisk. The  problem is: When I am receiving a call from outside  (PSTN-Eg. Mobile), I am not  getting the callerid number of the caller  and getting callerid as "Asterisk" in my  softphones (XLite).A few things:a. As El mentioned - did you actually subscribe for callerid? Most telcos will charge it as a VAS(Value Added Service).b. Check the format of the Caller ID provided by your telco - bell,v23 or dtmf?c. 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.Other things I see in your config:a. Is there any reason you're using US tones instead of India?b. Is your line really a kewlstart line? I think it should more likely be loopstart.Leo.___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:   http://lists.digium.com/mailman/listinfo/asterisk-users 
		Get your email and more, right on the  new Yahoo.com 
___
--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


Re: [asterisk-users] Challenging problem regarding CallerID in TDM 04B (Trying to solve since 8 days)

2006-08-17 Thread Crazy Boy
Hi Flynn,Thank you for response. As you asked, I got subscribed for getting callerid and tested with callerid phone also. Here I am giving my config files and error message. Please see it.zaptel.conf contents:loadzone = usdefaultzone=usfxsks=1-4zapata.conf contents:[channels]context=incomingsignalling=fxs_ksbusydetect=1busycount=7relaxdtmf=yescallwaiting=yescallwaitingcallerid=yesthreewaycalling=yescancallforward=yesechocancelwhenbridged=yesrxgain=0.0txgain=0.0callerid=asreceivedlanguage=enusecallerid=yeshidecallerid=noechocancel=yestransfer=yesimmediate=nomusiconhold=defaultringtimeout=8000cidsignalling=dtmfcidstart=ringgroup=1callgroup=1pickupgroup=1channel = 1sip.conf 
 contents:[105]type=friendusername=105secret=ravicallerid="RaviKanth"host=dynamiccontext=leadercanreinvite=nonat=yesdtmfmode=rfc2833allow=allextensions.conf contents:[incoming]exten = s,1,Wait(4)exten = s,n,Answerexten =  s,n,SetMusicOnHold(default)exten = s,n,Set(TIMEOUT(digit)=5)exten = s,n,Set(TIMEOUT(response)=10)exten = s,n,Background(/tmp/virg2)exten = s,n,Goto(s,1)exten = s,n,Hangup()include = leader[leader]exten = 105,1,Dial(SIP/105,15)exten = 105,2,Voicemail(u105)exten = 105,3,Voicemail(b105)exten = 105,4,Hangupexten = _9XX,1,Dial(Zap/1/${EXTEN:1}) ; Mobile phoneexten = _5,1,Dial(Zap/1/${EXTEN:1})  ; Local Landlineinclude = internal[internal]exten = 105, 1, 
 Dial(SIP/105,15)When somebody calls from outside (Eg: mobile), I am getting this below error message on Asterisk console:Error Message:Aug  17 19:45:41 ERROR[10449]: callerid.c:276 callerid_feed: fsk_serie made mylen  0 (-8)Aug  17 19:45:41 WARNING[10449]:  chan_zap.c:6087 ss_thread: CallerID feed failed: SuccessAug  17 19:45:41 WARNING[10449]: chan_zap.c:6131 ss_thread: CallerID returned with error on channel 'Zap/1-1'Please tell me the solution. Looking forward to your kind response. Thank you.Regards,Chandra.El Flynn [EMAIL PROTECTED] wrote: Crazy Boy wrote:Hi,  Here I am posting my problem. I am getting this problem since 8 days. I have studied documentation and
 looked previous posts in forums. But, I am unable to solve this problem. Please show me a solution. I am from India.   We have installed Asterisk with Digium 04B card (4 FXO ports). Now, I  have connected my PSTN line directly to first port. I am making outgoing  calls and receiving incoming calls successfully through my Asterisk. The  problem is: When I am receiving a call from outside (PSTN-Eg. Mobile), I am not  getting the callerid number of the caller and getting callerid as "Asterisk" in my  softphones (XLite).  When somebody calls from outside (Eg: mobile), I am getting this below error message on Asterisk console:  Error Message: Aug  17 19:45:41 ERROR[10449]: callerid.c:276  callerid_feed: fsk_serie made mylen  0 (-8) Aug  17 19:45:41 WARNING[10449]: chan_zap.c:6087  ss_thread: CallerID feed failed: Success Aug  17 19:45:41 WARNING[10449]: chan_zap.c:6131  ss_thread: CallerID
 returned with error on channel  'Zap/1-1'  Please tell me the solution. Looking forward to your kind response.  Do you actually _HAVE_ caller ID on that PSTN line?Flynn___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:   http://lists.digium.com/mailman/listinfo/asterisk-users 
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
___
--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