Jean-Paul Delarue ha scritto:
>> 1) when there is no audio from asterisk a strange "choppy" sound come
>> from
>> the ISDN line or phone, this problem is deterministic, every time the a
>> sound is missing this sound come out.
> I had this issue when dialing. It was resolved with this patch :
> --- ../../visdn-head/chan_visdn/chan_visdn.c 2006-07-07
> 08:00:25.000000000 +0200
> +++ chan_visdn.c 2006-07-15 17:28:35.000000000 +0200
> @@ -1367,7 +1367,10 @@
>
> switch(condition) {
> case -1:
> - ast_playtones_stop(ast_chan);
> + // ast_playtones_stop(ast_chan);
> + if (!visdn_chan->inband_info)
> + ast_tonepair_start(ast_chan, 0,0,0,0);
> + return res;
Interesting, tried, not working.. the problem is always there..
Asterisk -> NT port of the 4S0 board -> ISDN Phone
*CLI>
q931 visdn1.3:TEI[0]: input.c:931 GET (1 => 2)
q931 visdn1.3:TEI[0]: Received message:
q931 <- call reference = 124.I (len 1)
q931 <- message_type = SETUP (5)
q931 visdn1.3:TEI[0]: call.c:269 GET (2 => 3)
q931 visdn1.3:TEI[0]: call.c:270 HOLD (3 => 4)
q931 visdn1.3:TEI[0]: DLC autorelease timer stopped
q931 visdn1.3:CALL[124.I]: call.c:277 GET (1 => 2)
q931 visdn1.3:CALL[124.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=(11)
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 = 121303544
q931 <- VL IE 3 ===> 112 (Called Party Number) length=(5)
q931 <- Type of number = Unknown (0)
q931 <- Numbering plan = Unknown (0)
q931 <- Number = 6700
q931 <- VL IE 4 ===> 125 (High Layer Compatibility) length=(2)
q931 <- Coding standard = CCITT (0)
q931 <- Characteristics identification = Telephony (1)
q931 visdn1.3:CALL[124.I]: No channel identification IE, assuming any
channel available
q931 visdn1.3[B1]: changed state from AVAILABLE to SELECTED
q931 visdn1.3:CALL[124.I]: N0_NULL_STATE ==to==> N1_CALL_INITIATED
q931 visdn1.3:CALL[124.I]: chan_visdn.c:374 GET (2 => 3)
q931
q931 visdn1.3:CALL[124.I]: input.c:1210 PUT (3 => 2)
q931 visdn1.3:TEI[0]: Releasing message
q931 visdn1.3:TEI[0]: message.c:44 PUT (3 => 2)
-- set timeout = -1
-- visdn_q931_setup_indication
q931 visdn1.3:CALL[124.I]: chan_visdn.c:3232 GET (2 => 3)
-- Specified CLI did not pass screening
q931 visdn1.3:CALL[124.I]: chan_visdn.c:340 GET (3 => 4)
q931 visdn1.3:CALL[124.I]: chan_visdn.c:4371 PUT (4 => 3)
-- set timeout = -1
q931 visdn1.3:CALL[124.I]: PROCEEDING-REQ
q931 visdn1.3:TEI[0]: message.c:64 GET (2 => 3)
q931 visdn1.3:CALL[124.I]: Sending message:
q931 -> message type: CALL PROCEEDING (2)
q931 -> VL IE 0 ===> 24 (Channel Identification) -- length 1
q931 -> Interface id = Implicit (0)
q931 -> Interface type = Basic (0)
q931 -> Pref/Excl = Exclusive (1)
q931 -> D channel ident = Is not D channel (0)
q931 -> Coding standard = CCITT (0)
q931 -> Channels = B1
q931
q931 visdn1.3:TEI[0]: Releasing message
q931 visdn1.3:TEI[0]: message.c:44 PUT (3 => 2)
q931 visdn1.3[B1]: changed state from SELECTED to CONNECTED
q931 visdn1.3:CALL[124.I]: N1_CALL_INITIATED ==to==>
N3_OUTGOING_CALL_PROCEEDING
q931 visdn1.3:CALL[124.I]: chan_visdn.c:2237 PUT (3 => 2)
-- set timeout = -1
-- visdn_q931_connect_channel
-- Connecting streamport 000195 to chan 000049
-- set timeout = -1
-- Executing NoOp("VISDN/visdn1.3/124.I", "SIP -> 6700") in new stack
-- Executing Dial("VISDN/visdn1.3/124.I", "SIP/6700|60}") in new stack
-- Called 6700
Jul 17 08:05:36 WARNING[12585]: channel.c:1589 ast_waitfor_nandfds:
Thread -1499104336 Blocking 'VISDN/visdn1.3/124.I', already blocked by
thread 0 in procedure (null)
q931 visdn1.3:TEI[0]: input.c:931 GET (2 => 3)
q931 visdn1.3:TEI[0]: Received message:
q931 <- call reference = 124.I (len 1)
q931 <- message_type = DISCONNECT (69)
q931 visdn1.3:CALL[124.I]: call.c:420 GET (2 => 3)
q931 visdn1.3:CALL[124.I]: Got DISCONNECT
q931 <- VL IE 1 ===> 8 (Cause) length=(2)
q931 <- Coding standard = CCITT (0)
q931 <- Location = User (0)
q931 <- Cause value = Normal call clearing (16)
q931 visdn1.3:CALL[124.I]: N3_OUTGOING_CALL_PROCEEDING ==to==>
N11_DISCONNECT_REQUEST
q931 visdn1.3:CALL[124.I]: chan_visdn.c:374 GET (3 => 4)
q931
q931 visdn1.3:CALL[124.I]: input.c:1210 PUT (4 => 3)
q931 visdn1.3:TEI[0]: Releasing message
q931 visdn1.3:TEI[0]: message.c:44 PUT (3 => 2)
-- set timeout = -1
-- visdn_q931_disconnect_channel
-- visdn_q931_disconnect_indication
q931 visdn1.3:CALL[124.I]: chan_visdn.c:340 GET (3 => 4)
q931 visdn1.3:CALL[124.I]: chan_visdn.c:4371 PUT (4 => 3)
-- set timeout = -1
q931 visdn1.3:CALL[124.I]: RELEASE-REQ
q931 visdn1.3:TEI[0]: message.c:64 GET (2 => 3)
q931 visdn1.3:CALL[124.I]: Sending message:
q931 -> message type: RELEASE (77)
q931 -> VL IE 0 ===> 8 (Cause) -- length 4
q931 -> Coding standard = CCITT (0)
q931 -> Location = Private network serving local user (1)
q931 -> Cause value = Normal call clearing (16)
q931
q931 visdn1.3:TEI[0]: Releasing message
q931 visdn1.3:TEI[0]: message.c:44 PUT (3 => 2)
q931 visdn1.3:CALL[124.I]: call.c:392 GET (3 => 4)
q931 visdn1.3:CALL[124.I]: call.c:1654 Timer T308 started
q931 visdn1.3:CALL[124.I]: N11_DISCONNECT_REQUEST ==to==>
N19_RELEASE_REQUEST
q931 visdn1.3:CALL[124.I]: chan_visdn.c:2237 PUT (4 => 3)
-- set timeout = 4000
q931 visdn1.3:TEI[0]: input.c:931 GET (2 => 3)
q931 visdn1.3:TEI[0]: Received message:
q931 <- call reference = 124.I (len 1)
q931 <- message_type = RELEASE COMPLETE (90)
q931 visdn1.3:CALL[124.I]: call.c:420 GET (3 => 4)
q931 visdn1.3:CALL[124.I]: Got RELEASE COMPLETE
q931 visdn1.3:CALL[124.I]: call.c:404 PUT (4 => 3)
q931 visdn1.3:CALL[124.I]: call.c:5246 Timer T308 stopped
q931 visdn1.3[B1]: changed state from DISCONNECTED to AVAILABLE
q931 visdn1.3:CALL[124.I]: N19_RELEASE_REQUEST ==to==> N0_NULL_STATE
q931 visdn1.3:CALL[124.I]: call.c:372 PUT (3 => 2)
q931 visdn1.3:CALL[124.I]: chan_visdn.c:374 GET (2 => 3)
q931
q931 visdn1.3:CALL[124.I]: input.c:1210 PUT (3 => 2)
q931 visdn1.3:TEI[0]: Releasing message
q931 visdn1.3:TEI[0]: message.c:44 PUT (3 => 2)
-- set timeout = -1
-- visdn_q931_release_confirm
q931 visdn1.3:CALL[124.I]: chan_visdn.c:4371 PUT (2 => 1)
-- set timeout = -1
== Spawn extension (pbx-incoming-4, 6700, 2) exited non-zero on
'VISDN/visdn1.3/124.I'
-- visdn_hangup VISDN/visdn1.3/124.I
q931 visdn1.3:CALL[124.I]: chan_visdn.c:1855 PUT (1 => 0)
q931 visdn1.3:CALL[124.I]: Freeing call
q931 visdn1.3:TEI[0]: DLC autorelease timer started
q931 visdn1.3:TEI[0]: call.c:360 PUT (2 => 1)
-- visdn_hangup VISDN/visdn1.3/124.I DONE
-- set timeout = 10000
-- set timeout = 3
q931 visdn1.3:TEI[0]: DLC autorelease timer fired
-- set timeout = -1
q931 visdn1.3:TEI[0]: DL-RELEASE-CONFIRM
q931 Releasing message
-- set timeout = -1
This is a simple call... when the SIP phone is waiting to ring i can
ear a silence with a number of very small click repeated (small
volume, then great, then small, then great etc. etc.)
>> 2) at the NT side im not able to config a "simple switch", how is
>> possibile to do so? (simple switch is the "zaptel" switch -> ear a
>> "dial"
>> tone (i need italian tone) and after digit the number and wait
>> connection)
> Use the extensions.conf.sample_passthru in samples. You're looking for
> exten
> => s,1,VISDNOverlapDial()
Ouch! sorry... i read about this but i dont realize.... :-(
Now is working, but at this time i dont understand two configuration
options (my fault i think this is how to implement overlapdial):
overlap_sending = No
overlap_receiving = No
In BRI isdn mode (not PRI) the overlap is possibile?
And, how to change the indication tone "dial", it is not "it" but "en"....
:-)
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Visdn-hackers mailing list [email protected] https://mailman.uli.it/mailman/listinfo/visdn-hackers
