Auch wenn ich das setze, dann meckert das CLI, dass ihm die 's' extension fehlt und er legt auf. Von den Affen ist also nix zu hören. [MSN] ist dabei die zugewiesene MSN aus der misdn.conf und [HandyNr] die Anrufernummer.
Ausgabe am CLI:
P[ 2] set_channel: bc->channel:0 channel:1
P[ 2] I IND :SETUP oad:[HandyNR] dad:[MSN]
P[ 2] --> mode:TE cause:16 ocause:16 rad:
P[ 2] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 2] --> info_dad: onumplan:2 dnumplan:4 rnumplan:
P[ 2] --> screen:0 --> pres:0
P[ 2] --> channel:1 caps:Speech pi:0 keypad:
P[ 2] --> urate:0 rate:16 mode:0 user1:0
P[ 2] --> pid:0 addr:0 l3id:4002f
P[ 2] --> b_stid:0 layer_id:0
P[ 2] --> Bearer: Speech
P[ 2] --> Codec: Alaw
P[ 0] --> * NEW CHANNEL dad:[MSN] oad:[HandyNr]
P[ 2] read_config: Getting Config
P[ 2] config_jb: Called
P[ 2] --> * CallGrp: PickupGrp:
P[ 2] I SEND
ROCEEDING oad:[HandyNr] dad:[MSN]
P[ 2] --> mode:TE cause:16 ocause:16 rad:
P[ 2] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 2] --> info_dad: onumplan:2 dnumplan:4 rnumplan:
P[ 2] --> screen:0 --> pres:0
P[ 2] --> channel:1 caps:Speech pi:0 keypad:
P[ 2] --> urate:0 rate:16 mode:0 user1:0
P[ 2] --> pid:0 addr:0 l3id:4002f
P[ 2] --> b_stid:0 layer_id:0
P[ 2] --> TRANSPARENT Mode
P[ 2] --> incoming_early_audio off
P[ 2] * Starting Ast ctx:incoming dad:[MSN] oad:[HandyNr] with 's' extension
P[ 2] BCHAN: MGR_SETSTACK|IND
== Starting mISDN/2-1 at incoming,s,1 failed so falling back to exten 's'
== Starting mISDN/2-1 at incoming,s,1 still failed so falling back to context 'default'
Jun 22 10:04:46 WARNING[725]: pbx.c:2353 __ast_pbx_run: Channel 'mISDN/2-1' sent into invalid extension 's' in context 'default', but no invalid handler
P[ 2] * IND : HANGUP pid:0 ctx:default dad:s oad:[HandyNr] State
IALING
P[ 2] --> l3id:4002f
P[ 2] --> cause:16
P[ 2] --> out_cause:16
P[ 2] Tone Indicate:
P[ 2] I SEND:RELEASE_COMPLETE oad:[HandyNr] dad:[MSN]
P[ 2] --> mode:TE cause:16 ocause:16 rad:
P[ 2] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 2] --> info_dad: onumplan:2 dnumplan:4 rnumplan:
P[ 2] --> screen:0 --> pres:0
P[ 2] --> channel:1 caps:Speech pi:0 keypad:
P[ 2] --> urate:0 rate:16 mode:0 user1:0
P[ 2] --> pid:0 addr:50010202 l3id:4002f
P[ 2] --> b_stid:10010200 layer_id:50010280
P[ 2] Channel: mISDN/2-1 hanguped
P[ 2] CC_RELEASE_COMPLETE|CONFIRM [TE]
P[ 2] I IND :RELEASE_COMPLETE oad:[HandyNr] dad:[MSN]
P[ 2] --> mode:TE cause:16 ocause:16 rad:
P[ 2] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 2] --> info_dad: onumplan:2 dnumplan:4 rnumplan:
P[ 2] --> screen:0 --> pres:0
P[ 2] --> channel:1 caps:Speech pi:0 keypad:
P[ 2] --> urate:0 rate:16 mode:0 user1:0
P[ 2] --> pid:0 addr:50010202 l3id:4002f
P[ 2] --> b_stid:10010200 layer_id:50010280
P[ 2] Trying to Release bc with l3id: 4002f
P[ 2] I IND :CLEAN_UP oad: dad:
P[ 2] --> mode:TE cause:16 ocause:16 rad:
P[ 2] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 2] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0
P[ 2] --> screen:0 --> pres:0
P[ 2] --> channel:0 caps:Speech pi:0 keypad:
P[ 2] --> urate:0 rate:16 mode:0 user1:0
P[ 2] --> pid:0 addr:50010202 l3id:4002f
P[ 2] --> b_stid:0 layer_id:50010280
P[ 2] BCHAN: MGR_DELLAYER|CNF
P[ 1] set_channel: bc->channel:0 channel:1
P[ 1] I IND :SETUP oad:[HandyNr] dad:[MSN]
P[ 1] --> mode:TE cause:16 ocause:16 rad:
P[ 1] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1] --> info_dad: onumplan:2 dnumplan:4 rnumplan:
P[ 1] --> screen:0 --> pres:0
P[ 1] --> channel:1 caps:Speech pi:0 keypad:
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> pid:1 addr:0 l3id:20037
P[ 1] --> b_stid:0 layer_id:0
P[ 1] --> Bearer: Speech
P[ 1] --> Codec: Alaw
P[ 0] --> * NEW CHANNEL dad:[MSN] oad:[HandyNr]
P[ 1] read_config: Getting Config
P[ 1] config_jb: Called
P[ 1] --> * CallGrp: PickupGrp:
P[ 1] I SEND
ROCEEDING oad:[HandyNr] dad:[MSN]
P[ 1] --> mode:TE cause:16 ocause:16 rad:
P[ 1] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1] --> info_dad: onumplan:2 dnumplan:4 rnumplan:
P[ 1] --> screen:0 --> pres:0
P[ 1] --> channel:1 caps:Speech pi:0 keypad:
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> pid:1 addr:0 l3id:20037
P[ 1] --> b_stid:0 layer_id:0
P[ 1] --> TRANSPARENT Mode
P[ 1] --> incoming_early_audio off
P[ 1] * Starting Ast ctx:incoming dad:[MSN] oad:[HandyNR] with 's' extension
P[ 0] handle_bchan: BC not found for prim:120282 with addr:52010101 dinfo:ffffffff
Jun 22 10:05:03 WARNING[686]: chan_misdn.c:4346 chan_misdn_log: Unhandled Message: prim 120282 len 128 from addr 52010101, dinfo ffffffff on this port.
P[ 1] BCHAN: MGR_SETSTACK|IND
== Starting mISDN/1-1 at incoming,s,1 failed so falling back to exten 's'
== Starting mISDN/1-1 at incoming,s,1 still failed so falling back to context 'default'
Jun 22 10:05:03 WARNING[789]: pbx.c:2353 __ast_pbx_run: Channel 'mISDN/1-1' sent into invalid extension 's' in context 'default', but no invalid handler
P[ 1] * IND : HANGUP pid:1 ctx:default dad:s oad:[HandyNR] State
IALING
P[ 1] --> l3id:20037
P[ 1] --> cause:16
P[ 1] --> out_cause:16
P[ 1] Tone Indicate:
P[ 1] I SEND:RELEASE_COMPLETE oad:[HandyNR] dad:[MSN]
P[ 1] --> mode:TE cause:16 ocause:16 rad:
P[ 1] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1] --> info_dad: onumplan:2 dnumplan:4 rnumplan:
P[ 1] --> screen:0 --> pres:0
P[ 1] --> channel:1 caps:Speech pi:0 keypad:
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> pid:1 addr:50010102 l3id:20037
P[ 1] --> b_stid:10010100 layer_id:50010180
P[ 1] Channel: mISDN/1-1 hanguped
P[ 1] CC_RELEASE_COMPLETE|CONFIRM [TE]
P[ 1] I IND :RELEASE_COMPLETE oad:[HandyNR] dad:[MSN]
P[ 1] --> mode:TE cause:16 ocause:16 rad:
P[ 1] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1] --> info_dad: onumplan:2 dnumplan:4 rnumplan:
P[ 1] --> screen:0 --> pres:0
P[ 1] --> channel:1 caps:Speech pi:0 keypad:
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> pid:1 addr:50010102 l3id:20037
P[ 1] --> b_stid:10010100 layer_id:50010180
P[ 1] Trying to Release bc with l3id: 20037
P[ 1] I IND :CLEAN_UP oad: dad:
P[ 1] --> mode:TE cause:16 ocause:16 rad:
P[ 1] --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0
P[ 1] --> screen:0 --> pres:0
P[ 1] --> channel:0 caps:Speech pi:0 keypad:
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> pid:0 addr:50010102 l3id:20037
P[ 1] --> b_stid:0 layer_id:50010180
P[ 1] BCHAN: MGR_DELLAYER|CNF
P[ 2] MGMT: Short status dinfo 2000000
P[ 2] MGMT: SSTATUS: L2_RELEASED
P[ 2] MGMT: Short status dinfo 1000000
P[ 2] MGMT: SSTATUS: L1_DEACTIVATED
P[ 1] MGMT: Short status dinfo 2000000
P[ 1] MGMT: SSTATUS: L2_RELEASED
P[ 1] MGMT: Short status dinfo 1000000
P[ 1] MGMT: SSTATUS: L1_DEACTIVATED
localhost*CLI> exit
Nur falls es von Interesse ist:
An einigen Stellen im CLI wird bei [HandyNr] die vorangestellte "0" nicht angezeigt, aber das tut denk ich nix zur Sache.