[Home]

Summary:ASTERISK-11868: Unable to receive caller id from Coral SDBX PBX to Asterisk
Reporter:Ramaseshi Reddy Kolli (ramaseshi)Labels:
Date Opened:2008-04-17 01:47:44Date Closed:2011-06-07 14:08:26
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_zap
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:
I am using asterisk 1.4 latest build. I have one 100XP FXO card inserted in the Asterisk box.

I integrated appliance with PBX. It is SDBX coral telecom product. One extension line 302 is plugged to FXO card. When i dial from 307 which is a PBX extension (analog phone) to 302 call is coming to asterisk and ivr is played and acceptign DTNF digits also and call is going to SIP phone. But it displays as call from asterisk.

I applied this patch 0006683 it working fine when i use POT

########## PLease see below log messages for reference ###################


--- (0 headers 1 lines) ---
[Apr 17 02:28:24] DEBUG[4273]: chan_zap.c:7281 do_monitor: Monitor doohicky got event Ring Begin on channel 1
[Apr 17 02:28:24] DEBUG[4273]: chan_zap.c:7281 do_monitor: Monitor doohicky got event Ring/Answered on channel 1
[Apr 17 02:28:24] DEBUG[4273]: dsp.c:1663 ast_dsp_set_busy_pattern: dsp busy pattern set to 0,0
[Apr 17 02:28:24] DEBUG[4273]: chan_zap.c:5611 zt_new: ASTERISK-369 If (core) Needs a rethink i = 81c2010, i->rdnis = 81c2d48
   -- Starting simple switch on 'Zap/1-1'
[Apr 17 02:28:26] DEBUG[4273]: chan_zap.c:6771 ss_thread: CallerID number: 04030529261, name: (null), flags=4
[Apr 17 02:28:26] DEBUG[4273]: pbx.c:1699 pbx_extension_helper: Launching 'Wait'
   -- Executing [s@from-pstn:1] Wait("Zap/1-1", "1") in new stack
[Apr 17 02:28:26] DEBUG[4273]: chan_zap.c:4774 __zt_exception: Exception on 13, channel 1
[Apr 17 02:28:26] DEBUG[4273]: chan_zap.c:3864 zt_handle_event: Got event Ring Begin(18) on channel 1 (index 0)
[Apr 17 02:28:27] DEBUG[4273]: pbx.c:1699 pbx_extension_helper: Launching 'Answer'
   -- Executing [s@from-pstn:2] Answer("Zap/1-1", "") in new stack
[Apr 17 02:28:27] DEBUG[4273]: chan_zap.c:2976 zt_answer: Took Zap/1-1 off hook
[Apr 17 02:28:27] DEBUG[4273]: chan_zap.c:1558 zt_enable_ec: Enabled echo cancellation on channel 1
[Apr 17 02:28:27] DEBUG[4273]: chan_zap.c:1577 zt_train_ec: Engaged echo training on channel 1
[Apr 17 02:28:27] DEBUG[4273]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is '04030529261'
[Apr 17 02:28:27] DEBUG[4273]: pbx.c:1699 pbx_extension_helper: Launching 'NoOp'
   -- Executing [s@from-pstn:3] NoOp("Zap/1-1", "04030529261") in new stack
[Apr 17 02:28:27] DEBUG[4273]: pbx.c:1699 pbx_extension_helper: Launching 'Set'
   -- Executing [s@from-pstn:4] Set("Zap/1-1", "TIMEOUT(digit)=5") in new stack
   -- Digit timeout set to 5
[Apr 17 02:28:27] DEBUG[4273]: pbx.c:1699 pbx_extension_helper: Launching 'Set'
   -- Executing [s@from-pstn:5] Set("Zap/1-1", "TIMEOUT(response)=10") in new stack
   -- Response timeout set to 10
[Apr 17 02:28:27] DEBUG[4273]: pbx.c:1699 pbx_extension_helper: Launching 'Playback'
   -- Executing [s@from-pstn:6] Playback("Zap/1-1", "enter-ext-of-person") in new stack
[Apr 17 02:28:27] DEBUG[4273]: channel.c:2787 set_format: Set channel Zap/1-1 to write format gsm
[Apr 17 02:28:27] DEBUG[4273]: file.c:411 ast_filehelper: From function ast_filehelper ACTION
[Apr 17 02:28:27] DEBUG[4273]: channel.c:1934 ast_settimeout: Scheduling timer at 160 sample intervals
   -- <Zap/1-1> Playing 'enter-ext-of-person' (language 'en')




****** ADDITIONAL INFORMATION ******


But for PBX following messags are displaying.


--- (0 headers 1 lines) ---
[Apr 17 02:50:27] DEBUG[4408]: chan_zap.c:7281 do_monitor: Monitor doohicky got event Ring Begin on channel 1
[Apr 17 02:50:27] DEBUG[4408]: chan_zap.c:7281 do_monitor: Monitor doohicky got event Ring/Answered on channel 1
[Apr 17 02:50:27] DEBUG[4408]: dsp.c:1663 ast_dsp_set_busy_pattern: dsp busy pattern set to 0,0
[Apr 17 02:50:27] DEBUG[4408]: chan_zap.c:5611 zt_new: ASTERISK-369 If (core) Needs a rethink i = 81c2290, i->rdnis = 81c2fc8
   -- Starting simple switch on 'Zap/1-1'
[Apr 17 02:50:30] NOTICE[4408]: chan_zap.c:6728 ss_thread: Got event 18 (Ring Begin)...
[Apr 17 02:50:31] NOTICE[4408]: chan_zap.c:6728 ss_thread: Got event 2 (Ring/Answered)...
[Apr 17 02:50:33] NOTICE[4408]: chan_zap.c:6728 ss_thread: Got event 18 (Ring Begin)...
[Apr 17 02:50:33] DEBUG[4408]: pbx.c:1699 pbx_extension_helper: Launching 'Wait'
   -- Executing [s@from-pstn:1] Wait("Zap/1-1", "1") in new stack
[Apr 17 02:50:34] DEBUG[4408]: chan_zap.c:4774 __zt_exception: Exception on 13, channel 1
[Apr 17 02:50:34] DEBUG[4408]: chan_zap.c:3864 zt_handle_event: Got event Ring/Answered(2) on channel 1 (index 0)
[Apr 17 02:50:34] DEBUG[4408]: chan_zap.c:4247 zt_handle_event: Setting IDLE polarity due to ring. Old polarity was 0
[Apr 17 02:50:34] DEBUG[4408]: chan_zap.c:4272 zt_handle_event: Ring detected
[Apr 17 02:50:34] DEBUG[4408]: pbx.c:1699 pbx_extension_helper: Launching 'Answer'
   -- Executing [s@from-pstn:2] Answer("Zap/1-1", "") in new stack
[Apr 17 02:50:34] DEBUG[4408]: chan_zap.c:2976 zt_answer: Took Zap/1-1 off hook
[Apr 17 02:50:34] DEBUG[4408]: chan_zap.c:1558 zt_enable_ec: Enabled echo cancellation on channel 1
[Apr 17 02:50:34] DEBUG[4408]: chan_zap.c:1577 zt_train_ec: Engaged echo training on channel 1
[Apr 17 02:50:34] DEBUG[4408]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is ''
[Apr 17 02:50:34] DEBUG[4408]: pbx.c:1699 pbx_extension_helper: Launching 'NoOp'
   -- Executing [s@from-pstn:3] NoOp("Zap/1-1", "") in new stack
[Apr 17 02:50:34] DEBUG[4408]: pbx.c:1699 pbx_extension_helper: Launching 'Set'
   -- Executing [s@from-pstn:4] Set("Zap/1-1", "TIMEOUT(digit)=5") in new stack
   -- Digit timeout set to 5
[Apr 17 02:50:34] DEBUG[4408]: pbx.c:1699 pbx_extension_helper: Launching 'Set'
   -- Executing [s@from-pstn:5] Set("Zap/1-1", "TIMEOUT(response)=10") in new stack
   -- Response timeout set to 10
[Apr 17 02:50:34] DEBUG[4408]: pbx.c:1699 pbx_extension_helper: Launching 'Playback'
   -- Executing [s@from-pstn:6] Playback("Zap/1-1", "enter-ext-of-person") in new stack
[Apr 17 02:50:34] DEBUG[4408]: channel.c:2787 set_format: Set channel Zap/1-1 to write format gsm
[Apr 17 02:50:34] DEBUG[4408]: file.c:411 ast_filehelper: From function ast_filehelper ACTION
[Apr 17 02:50:34] DEBUG[4408]: channel.c:1934 ast_settimeout: Scheduling timer at 160 sample intervals
   -- <Zap/1-1> Playing 'enter-ext-of-person' (language 'en')
[Apr 17 02:50:37] DEBUG[4408]: channel.c:1934 ast_settimeout: Scheduling timer at 0 sample intervals
[Apr 17 02:50:37] DEBUG[4408]: channel.c:1934 ast_settimeout: Scheduling timer at 0 sample intervals
[Apr 17 02:50:37] DEBUG[4408]: channel.c:2787 set_format: Set channel Zap/1-1 to write format ulaw
[Apr 17 02:50:37] DEBUG[4408]: pbx.c:1699 pbx_extension_helper: Launching 'WaitExten'
   -- Executing [s@from-pstn:7] WaitExten("Zap/1-1", "") in new stack




Comments:By: Ramaseshi Reddy Kolli (ramaseshi) 2008-04-17 01:51:04

zapata.conf


busydetect=yes
echotraining=yes
busycount=4
relaxdtmf=yes
callwaiting=yes
rxgain=0.0
txgain=0.0

signalling=fxs_ks
usecallerid=yes
cidstart=ring
cidsignaling=dtmf
callerid=asreceived
group=0
context=from-pstn
channel => 1
context=default

By: Jason Parker (jparker) 2008-04-21 16:36:57

Is it just the name that is being set to "asterisk"?  Analog does not support callerid name.  You'll need to set it before sending the call to the SIP channel.

By: Jason Parker (jparker) 2008-04-21 17:37:14

I misspoke in my last note.  I said "Analog does not support callerid name".  I should have said that Analog with DTMF cidsignalling does not.