[asterisk-users] Caller ID on Asterisk and Astribank

frangky robert franky.robert at hotmail.com
Fri Apr 30 00:30:06 CDT 2010


Hi all...

I have a problem with caller id on my asterisk server.
here is my configuration :
centos-5, asterisk 1.6.2.1, dahdi-linux-complete-2.2.1, libpri-1.4.10.2
ibm X-3200 series, xorcom astribank (16fxo, 8fxs), 16 line telco (hunting)

everything fine until I try to feed my app with caller id.

My extensions.conf :

[incoming1]
exten => s,1,AGI(/var/apps/core/runagi,incoming,${CALLERID(num)})
exten => s,n,QUEUE(${que},trkd)
exten => h,1,Hangup()

here is the log :

    -- Starting simple switch on 'DAHDI/15-1'
[Apr 30 11:24:40] ERROR[30895]: callerid.c:562 callerid_feed: No start bit found in fsk data.
[Apr 30 11:24:40] WARNING[30895]: chan_dahdi.c:8712 ss_thread: CallerID feed failed: Success
[Apr 30 11:24:40] WARNING[30895]: chan_dahdi.c:8816 ss_thread: CallerID returned with error on channel 'DAHDI/15-1'
  == Starting DAHDI/15-1 at from-pstn,s,1 failed so falling back to exten 's'
  == Starting DAHDI/15-1 at from-pstn,s,1 still failed so falling back to context 'default'
    -- Executing [s at default:1] Answer("DAHDI/15-1", "") in new stack
    -- Executing [s at default:2] Wait("DAHDI/15-1", "6") in new stack
    -- Executing [s at default:3] Goto("DAHDI/15-1", "im-incoming,s,1") in new stack
    -- Goto (im-incoming,s,1)
    -- Executing [s at im-incoming:1] AGI("DAHDI/15-1", "/var/apps/core/runagi,incoming,") in new stack
    -- Launched AGI Script /var/apps/core/runagi
    -- Playing 'en/0006' (escape_digits=) (sample_offset 0)

I read instructions from a few forums....
then I made a change on 'chan_dahdi.conf' like :
-------------------------------------------------------------------------
1:
cidsignalling=v23, cidstart=ring, hidecallerid=no, callerid=asreceived

Here's the log :

    -- Starting simple switch on 'DAHDI/15-1'
[Apr 30 11:42:03] NOTICE[31296]: chan_dahdi.c:8672 ss_thread: Got event 18 (Ring Begin)...
[Apr 30 11:42:03] NOTICE[31296]: chan_dahdi.c:8672 ss_thread: Got event 2 (Ring/Answered)...
[Apr 30 11:42:05] NOTICE[31296]: chan_dahdi.c:8672 ss_thread: Got event 18 (Ring Begin)...
  == Starting DAHDI/15-1 at from-pstn,s,1 failed so falling back to exten 's'
  == Starting DAHDI/15-1 at from-pstn,s,1 still failed so falling back to context 'default'
    -- Executing [s at default:1] Answer("DAHDI/15-1", "") in new stack
    -- Executing [s at default:2] Wait("DAHDI/15-1", "6") in new stack
[Apr 30 11:42:06] WARNING[31296]: chan_dahdi.c:6174 dahdi_handle_event: Ring/Off-hook in strange state 6 on channel 15
  == Spawn extension (default, s, 2) exited non-zero on 'DAHDI/15-1'


-------------------------------------------------------------------------
2:

cidsignalling=dtmf', cidstart=ring, hidecallerid=no, callerid=asreceived

Here's the log :

    -- Starting simple switch on 'DAHDI/15-1'
[Apr 30 11:49:28] WARNING[31491]: chan_dahdi.c:8610 ss_thread: DTMFCID timed out waiting for ring. Exiting simple switch
    -- Hungup 'DAHDI/15-1'
    -- Starting simple switch on 'DAHDI/15-1'
[Apr 30 11:49:34] DEBUG[31492]: chan_dahdi.c:8630 ss_thread: CID is '', flags 8
  == Starting DAHDI/15-1 at from-pstn,s,1 failed so falling back to exten 's'
  == Starting DAHDI/15-1 at from-pstn,s,1 still failed so falling back to context 'default'
    -- Executing [s at default:1] Answer("DAHDI/15-1", "") in new stack
    -- Executing [s at default:2] Wait("DAHDI/15-1", "6") in new stack
[Apr 30 11:49:35] WARNING[31492]: chan_dahdi.c:6174 dahdi_handle_event: Ring/Off-hook in strange state 6 on channel 15
    -- Executing [s at default:3] Goto("DAHDI/15-1", "im-incoming,s,1") in new stack
    -- Goto (im-incoming,s,1)
    -- Executing [s at im-incoming:1] AGI("DAHDI/15-1", "/var/apps/core/runagi,incoming,") in new stack
    -- Launched AGI Script /var/apps/core/runagi


-------------------------------------------------------------------------
3:



cidsignalling=dtmf', cidstart=polarity, hidecallerid=no, callerid=asreceived



Here's the log :

   -- Starting simple switch on 'DAHDI/15-1'
  == Starting DAHDI/15-1 at from-pstn,s,1 failed so falling back to exten 's'
  == Starting DAHDI/15-1 at from-pstn,s,1 still failed so falling back to context 'default'
    -- Executing [s at default:1] Answer("DAHDI/15-1", "") in new stack
    -- Executing [s at default:2] Wait("DAHDI/15-1", "6") in new stack
    -- Registered IAX2 '9009' (AUTHENTICATED) at 127.0.0.1:48961
    -- Executing [s at default:3] Goto("DAHDI/15-1", "im-incoming,s,1") in new stack
    -- Goto (im-incoming,s,1)
    -- Executing [s at im-incoming:1] AGI("DAHDI/15-1", "/var/apps/core/runagi,incoming,") in new stack
    -- Launched AGI Script /var/apps/core/runagi


-------------------------------------------------------------------------
4:





cidsignalling=v23', cidstart=polarity, hidecallerid=no, 
callerid=asreceived





Here's the log :


    -- Starting simple switch on 'DAHDI/15-1'
  == Starting DAHDI/15-1 at from-pstn,s,1 failed so falling back to exten 's'
  == Starting DAHDI/15-1 at from-pstn,s,1 still failed so falling back to context 'default'
    -- Executing [s at default:1] Answer("DAHDI/15-1", "") in new stack
    -- Executing [s at default:2] Wait("DAHDI/15-1", "6") in new stack
    -- Executing [s at default:3] Goto("DAHDI/15-1", "im-incoming,s,1") in new stack
    -- Goto (im-incoming,s,1)
    -- Executing [s at im-incoming:1] AGI("DAHDI/15-1", "/var/apps/core/runagi,incoming,") in new stack
    -- Launched AGI Script /var/apps/core/runagi


Please help me.... 






 		 	   		  
_________________________________________________________________
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
http://www.microsoft.com/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-id:SI_SB_3:092010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100430/8662e70c/attachment.htm 


More information about the asterisk-users mailing list