On Wed, 2006-02-22 at 00:29 +0100, Daniele Orlandi wrote:
> On Tuesday 21 February 2006 17:17, Aleš Zelenik wrote:
> > Hello!
> >
> > My problem:
> >
> > q931 visdn0:CALL[1.I]: Sending message:
> > q931 ->  message type: ALERTING (1)
> > q931 ->  VL IE 0 ===> 30 (Progress Indicator) -- length 2
> > q931 ->    Coding standard = CCITT (0)
> > q931 ->    Location = Private network serving remote user (5)
> > q931 ->    Description = In-band information or appropriate pattern now
> > available (8)
> > q931
> > q931 visdn0:TEI[0]: Releasing message
> > q931 visdn0:CALL[1.I]: U9_INCOMING_CALL_PROCEEDING ==to==>
> > U7_CALL_RECEIVED
> >     -- poll timeout = -1
> >
> > Then I reject call from sip client:
> >
> > q931 visdn0:TEI[0]: Received message:
> > q931 <-  call reference = 1.I (len 1)
> > q931 <-  message_type = RELEASE (77)
> > q931 visdn0:CALL[1.I]: call.c:415 GET (2 => 3)
> > q931 visdn0:CALL[1.I]: Got RELEASE
> > q931 <-  VL IE 1 ===> 8 (Cause) length=(2)
> > q931 <-    Coding standard = CCITT (0)
> > q931 <-    Location = User (0)
> > q931 <-    Cause value = Normal call clearing (16)
> 
> Uhm... I see the network sending RELEASE and bringing down the call, is it 
> the 
> SIP client hanging up or the GSM phone?

Release is send after the sip client or gsm hangups. Which seems
logical :). But if gsm hangups first, asterisk doesn't send a signal to
hangup, therefore sip client still thinks that call is active.

> 
> > ISDN(027510077) to ISDN(7510078) - not OK
> >
> >     -- Executing Dial("VISDN/visdn0/1.I", "SIP/100") in new stack
> >     -- Called 100
> >     -- poll timeout = 5973
> >     -- Got SIP response 400 "BadRequest" back from 192.168.1.100
>          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >     -- SIP/100-6643 is circuit-busy
> 
> This is your problem, the SIP client is responding BadRequest, why?
> 
> > ISDN(026136974) to ISDN(7510078) - not OK
> >
> >     -- Got SIP response 400 "BadRequest" back from 192.168.1.100
> 
> Idem.

I tried with IAX client, it works.

But, I still don't know why call is handled with
exten => s,1,Dial(IAX2/102) when it comes from ISDN
and with exten => _751007[78],1,Dial(IAX2/102)
when it comes from GSM?

[visdn0_in]
exten => _751007[78],1,Dial(IAX2/102)
exten => s,1,Dial(IAX2/102)

thanks, bye


_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to