[Asterisk-Users] CallerID/chan_sccp

Mark Johnson asterisk at astroshapes.com
Thu Jun 9 08:57:02 MST 2005


Joseph wrote:

>On Thu, 2005-06-09 at 02:24 +1000, Julien Goodwin wrote:
>  
>
>>On 8/06/2005 11:37 PM, Sergio Chersovani wrote:
>>    
>>
>>>Joseph ha scritto:
>>>
>>>      
>>>
>>>>>>>When sending a call to a line defined on chan_sccp, there is an 
>>>>>>>error on the console that says:
>>>>>>>
>>>>>>>Jun  7 08:22:29 WARNING[3924]: sccp_channel.c:79
>>>>>>>sccp_channel_send_callinfo: Incoming call SCCP/Line1-00000008 doesn't
>>>>>>>have CallerId name
>>>>>>>      
>>>>>>>              
>>>>>>>
>>>Fixed, you can find the patch here
>>>http://www.c-net.it/chan_sccp/
>>>      
>>>
>>And this has been committed, should work through in about 5 hours 
>>(thanks sourceforge)
>>    
>>
>
>It works.
>
>Thanks.
>
>  
>
I just downloaded the latest chan_sccp and am having problems with 
internal to internal calls with callerid.  I added a few debug lines to 
the code to help sort it out, but here's what happens...  Exten 581 
calls 580.  On the display 581 shows "Unknown number to 580".  On exten 
580, the display shows "Test Phone2 to Unknown number".  Here are some 
of the lines from the CLI including my added debug lines:

    -- Set calledParty Name: Test Phone1 Number 580
    -- Executing Dial("SCCP/581-00000005", "SCCP/580|15|Ttr") in new stack
 SCCP trying to call SCCP, format 4, data, 580
    --  --*> 581
    -- New channel context: office
    -- Asterisk request to call: SCCP/580-00000006
    -- Set callingParty Name: Test Phone2 Number 581
  == Sending Packet Type SetLampMessage (16 bytes)
  == Sending Packet Type SetRingerMessage (8 bytes)
  == {CallStateMessage} callState=RingIn(4), lineInstance=1, callReference=6
  == Sending Packet Type CallStateMessage (28 bytes)
*** Calling Party Name: Test Phone2
*** Calling Party Number: 581
*** Called Party Name:
*** Called Party Number:
  == Sending Packet Type CallInfoMessage (208 bytes)
  == Sending Packet Type DisplayPromptStatusMessage (48 bytes)
  == {SelectSoftKeysMessage} lineInstance=1 callReference=6 
softKeySetIndex=3 validKeyMask=65535/65535
  == Sending Packet Type SelectSoftKeysMessage (20 bytes)
    -- Called 580
    -- Asked to indicate '3' (Dialing) condition on channel 
SCCP/581-00000005
    -- Current tone (36) is equiv to wanted tone (36).  Ignoring.
  == Sending Packet Type DisplayPromptStatusMessage (48 bytes)
  == {CallStateMessage} callState=RingOut(3), lineInstance=1, 
callReference=5
  == Sending Packet Type CallStateMessage (28 bytes)
*** Calling Party Name:
*** Calling Party Number:
*** Called Party Name: Test Phone1
*** Called Party Number: 580


The lines beginning with "***" are the debug lines I added inside the 
sccp_channel_send_callinfo function.  Any ideas?

Mark




More information about the asterisk-users mailing list