On Tuesday 21 February 2006 19:04, Tobias Stefan Richter wrote:
>
> This extension
>
> exten => s,1,NoOp(Calleridnum ${CALLERIDNUM})
>
> gives me:
>
> -- Executing NoOp("VISDN/visdn0/1.I", "Calleridnum 1723266638") in new
> stack
Uhm... cli rewriting is working here:
q931 <- message_type = SETUP (5)
...
q931 <- VL IE 3 ===> 108 (Calling Party Number) length=(11)
q931 <- Type of number = National (2)
q931 <- Numbering plan = ISDN Telephony (1)
q931 <- Presentation indicator = Presentation allowed (0)
q931 <- Screening indicator = Network provided (3)
q931 <- Number = 362123456
-- Executing NoOp("VISDN/visdn0/5.I", "Calleridnum 0362123456") in new stack
> > Is the CLI rewritten with clip_default_number or is it missing
> > altogether? Did you change clir_mode?
> > Can you post that SETUP message too?
>
> q931 visdn1:TEI[89]: Received message:
> q931 <- call reference = 1.I (len 1)
> q931 <- message_type = SETUP (5)
> q931 visdn1:TEI[89]: DLC autorelease timer stopped
> q931 visdn1:CALL[1.I]: call.c:272 GET (1 => 2)
> q931 visdn1:CALL[1.I]: Got SETUP
> q931 <- VL IE 1 ===> 4 (Bearer Capability) length=(3)
> q931 <- Coding Standard = CCITT (0)
> q931 <- Information Transfer Capability = Speech (0)
> q931 <- Transfer mode = Circuit (0)
> q931 <- Information Transfer Rate = 64 kbps (16)
> q931 <- User information layer 1 protocol = g.711 a-law (3)
> q931 <- VL IE 2 ===> 108 (Calling Party Number) length=(10)
> q931 <- Type of number = Unknown (0)
> q931 <- Numbering plan = ISDN Telephony (1)
> q931 <- Presentation indicator = Presentation allowed (0)
> q931 <- Screening indicator = User provided, not screened (0)
> q931 <- Number = 46507666
> q931 <- VL IE 3 ===> 125 (High Layer Compatibility) length=(2)
> q931 <- Coding standard = CCITT (0)
> q931 <- Characteristics identification = Telephony (1)
> q931 visdn1:CALL[1.I]: No channel identification IE, assuming any
> channel available
> q931 visdn1[B1]: changed state from AVAILABLE to SELECTED
> q931 visdn1:CALL[1.I]: N0_NULL_STATE ==to==> N1_CALL_INITIATED
>
> [...]
>
> -- Executing NoOp("VISDN/visdn1/1.I", "Calleridnum: ") in new stack
>
> The number is there, it is only not passed to *, it seems.
This is working too, here:
q931 visdn1.0:TEI[65]: Received message:
q931 <- call reference = 124.I (len 1)
q931 <- message_type = SETUP (5)
...
q931 <- VL IE 2 ===> 108 (Calling Party Number) length=(5)
q931 <- Type of number = Unknown (0)
q931 <- Numbering plan = Unknown (0)
q931 <- Presentation indicator = Presentation allowed (0)
q931 <- Screening indicator = User provided, not screened (0)
q931 <- Number = 220
-- Executing NoOp("VISDN/visdn1.0/124.I", "Calleridnum 220") in new stack
The configuration is a plain:
[visdn1.0]
network_role = private
context = visdn1_0_in
tones_option = yes
outbound_called_ton = unknown
force_outbound_cli =
force_outbound_cli_ton = no
clip_default_name = QuadBRI Port 0
clip_default_number = 200
clip_numbers = 200, 220
clir_mode = default_off
overlap_sending = Yes
overlap_receiving = No
echocancel = No
Can you post a "show visdn interfaces" too?
> VISDNOverlapDial would bail out on a match?
> How would that work with arbitrary length numbers?
Arbitrary length numbers do work only with a timeout... yes.
Bye,
--
Daniele Orlandi
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers