[asterisk-users] call from ISDN

Josu Lazkano jlazkano at somesi.com
Wed Jun 13 02:26:16 CDT 2007


Hello, I removed the two lines:

nationalprefix = 0
internationalprefix = 00

And I run "bri debug span 1":

*CLI> bri debug span 1
Enabled debugging on span 1
1 Timed out looking for release complete
1 > Protocol Discriminator: Q.931 (8)  len=8
1 > Call Ref: len= 1 (reference 2/0x2) (Originator)
1 > Message type: RELEASE (77)
1 > [1 081  021  811  901 ]
1 > Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: Private network serving the local user (1)
1 >                  Ext: 1  Cause: Unknown (16), class = Normal Event (1) ]
1 Final time-out looking for release complete
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
1 NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
Jun 13 11:23:40 WARNING[2226]: chan_zap.c:8463 pri_fixup_principle: Call
specified, but not found?
    -- Executing Dial("SIP/101-d08c", "ZAP/g1/943833473|45|tTwW") in new
stack
1 -- Making new call for cr 131
    -- Requested transfer capability: 0x00 - SPEECH
1 > Protocol Discriminator: Q.931 (8)  len=32
1 > Call Ref: len= 1 (reference 3/0x3) (Originator)
1 > Message type: SETUP (5)
1 > [1 041  031  801  901  a31 ]
1 > Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: Speech (0)
1 >                              Ext: 1  Trans mode/rate: 64kbps,
circuit-mode (16)
1 >                              Ext: 1  User information layer 1: A-Law
(35)
1 > [1 181  011  811 ]
1 > Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0, Preferred
Dchan: 0
1 >                        ChanSel: B1 channel
1                          ]
1 > [1 6c1  051  211  811  311  301  311 ]
1 > Calling Number (len= 7) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
1 >                           Presentation: Presentation permitted, user
number passed network screening (1) '101' ]
1 > [1 701  0a1  801  391  341  331  381  331  331  341  371  331 ]
1 > Called Number (len=12) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0) '943833473' ]
1 > [1 a11 ]
1 > Sending Complete (len= 1)
    -- Called g1/943833473
1 No response to SETUP message
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Initiated, peerstate
Overlap sending
1 > Protocol Discriminator: Q.931 (8)  len=8
1 > Call Ref: len= 1 (reference 3/0x3) (Originator)
1 > Message type: DISCONNECT (69)
1 > [1 081  021  811  921 ]
1 > Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: Private network serving the local user (1)
1 >                  Ext: 1  Cause: Unknown (18), class = Normal Event (1) ]
    -- Channel 0/1, span 1 got hangup, cause 42
    -- Zap/1-1 is circuit-busy
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Request,
peerstate Disconnect Indication
    -- Hungup 'Zap/1-1'
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing Hangup("SIP/101-d08c", "") in new stack
  == Spawn extension (SOME, 943833473, 102) exited non-zero on
'SIP/101-d08c'

Is the same, anyones know what is???

Thanks a lot.

bye!!!



2007/6/12, Tzafrir Cohen <tzafrir.cohen at xorcom.com>:
>
> On Tue, Jun 12, 2007 at 06:13:19PM +0200, Josu Lazkano wrote:
> > Of course, thanks for respose Tzafrir.
> >
> > Here is my zapata.conf:
> >
> > [trunkgroups]
> >
> > [channels]
> > language=es
> > context=default
> > switchtype = euroisdn
> > signalling = bri_cpe_ptmp
> > pridialplan = unknown
> > overlapdial = no
> > usecallerid = yes
> > callerid = asreceived
> > callprogress = no
> > hidecallerid = no
> > nationalprefix = 0
> > internationalprefix = 00
>
> Try removing the above two lines and a restart.
>
> If that doesn't help, please run:
>
> bri debug span 1
>
> and provide a trace of an outgoing call.
>
> > immediate = no
> > faxdetect = incoming
> > echocancel = yes
> > echotraining = yes
> > echocancelwhenbridged = yes
> > context = incoming
> > group = 1
> > threewaycalling = yes
> > transfer = yes
> > channel => 1-2
> >
> >
> > I am having a lot of interrupt problem.
> >
> > Thanks for all.
> >
> > Bye bye.
> >
> > 2007/6/12, Tzafrir Cohen <tzafrir.cohen at xorcom.com>:
> > >
> > >On Tue, Jun 12, 2007 at 03:54:13PM +0200, Josu Lazkano wrote:
> > >> Hello everybody, I have installed the Billion ISDN on a Debian
> machine.
> > >>
> > >> I proved to call with a ISDN telephone conected to ISDN Box and it is
> > >OK. So
> > >> I connect the Billion ISDN to the ISDN Box and I call from a
> extension
> > >to
> > >> outside.
> > >>
> > >>
> > >>
> > >> But it doesn't work, that is what I have in the CLI:
> > >>
> > >> *CLI>     -- Executing Dial("SIP/101-f9eb",
> "ZAP/g1/943833473|45|tTwW")
> > >in
> > >> new stack
> > >>    -- Requested transfer capability: 0x00 - SPEECH
> > >>    -- Called g1/943833473
> > >>    -- Channel 0/1, span 1 got hangup, cause 42
> > >>    -- Zap/1-1 is circuit-busy
> > >>    -- Hungup 'Zap/1-1'
> > >>  == Everyone is busy/congested at this time (1:0/1/0)
> > >>    -- Executing Hangup("SIP/101-f9eb", "") in new stack
> > >>  == Spawn extension (SOME, 943833473, 102) exited non-zero on
> > >> 'SIP/101-f9eb'
> > >>
> > >> My extensions.conf is this one:
> > >>
> > >> [general]
> > >> static=yes
> > >> writeprotect=yes
> > >>
> > >> [SOME]
> > >> exten => 101,1,Dial(SIP/101,30,Ttm)
> > >> exten => 101,2,Hangup
> > >>
> > >> exten => 102,1,Dial(SIP/102,30,Ttm)
> > >> exten => 102,2,Hangup
> > >>
> > >> exten => 103,1,Dial(SIP/103,30,Ttm)
> > >> exten => 103,2,Hangup
> > >>
> > >> exten => 104,1,Dial(SIP/104,30,Ttm)
> > >> exten => 104,2,Hangup
> > >>
> > >> include => outgoing
> > >>
> > >> [incoming]
> > >> exten => s,1,Wait(1)
> > >> exten => s,2,Answer()
> > >> exten => s,3,Dial(SIP/101,30,Ttm)
> > >>
> > >> [outgoing]
> > >> exten =>_9XXXXXXXX,1,Dial(ZAP/g1/${EXTEN},45,tTwW)
> > >> exten =>_9XXXXXXXX,2,Hangup()
> > >> exten =>_9XXXXXXXX,102,Hangup()
> > >>
> > >> [default]
> > >> exten => s,1,Answer()
> > >> exten => s,2,Wait(1)
> > >> exten => s,3,Dial(SIP/101,30,Ttm)
> > >>
> > >>
> > >> Why is that?
> > >
> > >Could you please provide your zapata.conf ?
> > >
> > >--
> > >               Tzafrir Cohen
> > >icq#16849755                    jabber:tzafrir at jabber.org
> > >+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> > >http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
> > >_______________________________________________
> > >--Bandwidth and Colocation provided by Easynews.com --
> > >
> > >asterisk-users mailing list
> > >To UNSUBSCRIBE or update options visit:
> > >   http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
>
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> --
>                Tzafrir Cohen
> icq#16849755                    jabber:tzafrir at jabber.org
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070613/3f706cbc/attachment.htm


More information about the asterisk-users mailing list