[Asterisk-Users] capi problem with dialout

2005-04-21 Thread Pawe Staszewski

  
  

  Hello 



  I have capi 0.3.5 with fritz card and:



  When i try to dialout i have this message in from capi debug :



  CAPI Debugging Enabled


  CLI -- Executing AnswerSIP/478-3f3f  in new stack


  -- Executing DialSIP/478-3f3f CAPI/@7523071:b7522333 in new stack


  -- data = ""


  -- capi request omsn = @7523071


  == found capi with omsn = 7523071


  == CAPI Call CAPIcontr1/7523071/0 with B3 -- Called @7523071:b7522333


  -- CONNECT_CONF ID=001 0x0004 LEN=0014


  Controller/PLCI/NCCI = 0x101


  Info = 0x0



  == received CONNECT_CONF PLCI = 0x101 INFO = 0


  -- INFO_IND ID=001 0x0b97 LEN=0017


  Controller/PLCI/NCCI = 0x101


  InfoNumber = 0x8


  InfoElement = 81 81



  -- DISCONNECT_IND ID=001 0x0b98 LEN=0014


  Controller/PLCI/NCCI = 0x101


  Reason = 0x3481



  == DISCONNECT_IND PLCI=0x101 REASON=0x3481


  == No one is available to answer at this time




  I have one msn number. 7523071


  extensions.conf



  exten = _0.1Answer


  exten = _0.2DialCAPI/@7523071:bEXTEN:1



  capi.conf


  general


  mode=immediate


  nationalprefix=0


  internationalprefix=00


  rxgain=0.8


  txgain=0.8



  interfaces



  isdnmode=multipoint


  msn=7523071


  incomingmsn=


  controller=1


  softdtmf=1


  context=from-isdn


  echosquelch=1


  echocancel=1


  echotail=64


  callgroup=1


  deflect=478


  devices=2




  Please help me i search all the google and i have nothing :


  Best RegardsPawe StaszewskiART-COM+48327522333+480609183038

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] capi problem with dialout

2005-04-21 Thread Michael Bielicki
Since capi is not even really supported by the guy who wrote it I'd
suggest you get a zaphfc card, like the I-tec ISDN-128, which could
simplify your task a lot.
:)

cheers Micha


On 4/21/05, Pawe Staszewski [EMAIL PROTECTED] wrote:
  
  Hello 
   
  I have capi 0.3.5 with fritz card and: 
   
  When i try to dialout i have this message in from capi debug : 
   
  CAPI Debugging Enabled 
  *CLI -- Executing Answer(SIP/478-3f3f, ) in new stack 
  -- Executing Dial(SIP/478-3f3f, CAPI/@7523071:b7522333) in new
 stack 
  -- data = @7523071:b7522333 
  -- capi request omsn = @7523071 
== found capi with omsn = 7523071 
== CAPI Call CAPI[contr1/7523071]/0 with B3-- Called
 @7523071:b7522333 
  -- CONNECT_CONF ID=001 #0x0004 LEN=0014 
Controller/PLCI/NCCI= 0x101 
Info= 0x0 
   
== received CONNECT_CONF PLCI = 0x101 INFO = 0 
  -- INFO_IND ID=001 #0x0b97 LEN=0017 
Controller/PLCI/NCCI= 0x101 
InfoNumber  = 0x8 
InfoElement = 81 81 
   
  -- DISCONNECT_IND ID=001 #0x0b98 LEN=0014 
Controller/PLCI/NCCI= 0x101 
Reason  = 0x3481 
   
== DISCONNECT_IND PLCI=0x101 REASON=0x3481 
== No one is available to answer at this time 
   
   
  I have one msn number. 7523071 
  extensions.conf 
   
  exten = _0.,1,Answer 
  exten = _0.,2,Dial,CAPI/@7523071:b${EXTEN:1} 
   
  capi.conf 
  [general] 
  mode=immediate 
  nationalprefix=0 
  internationalprefix=00 
  rxgain=0.8 
  txgain=0.8 
   
  [interfaces] 
   
  isdnmode=multipoint 
  msn=7523071 
  incomingmsn=* 
  controller=1 
  softdtmf=1 
  context=from-isdn 
  ;echosquelch=1 
  echocancel=1 
  ;echotail=64 
  ;callgroup=1 
  ;deflect=478 
  devices=2 
   
   
  Please help me i search all the google and i have nothing :) 
   
 Best Regards
 Pawe Staszewski
 ART-COM
 +48327522333
 +480609183038
 
 
  
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
   
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 


-- 
Michal Bielicki
http://www.aefirion.org/
http://www.asterisk.com.pl/
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] capi problem with dialout

2005-04-21 Thread Dave Cotton
On Thu, 2005-04-21 at 12:09 +0200, Pawe Staszewski wrote:
 Hello 
  
 I have capi 0.3.5 with fritz card and: 
  
 When i try to dialout i have this message in from capi debug : 
  
 CAPI Debugging Enabled 
 *CLI -- Executing Answer(SIP/478-3f3f, ) in new stack 
 -- Executing Dial(SIP/478-3f3f, CAPI/@7523071:b7522333) in new
 stack 
 -- data = @7523071:b7522333 
 -- capi request omsn = @7523071 
   == found capi with omsn = 7523071 
   == CAPI Call CAPI[contr1/7523071]/0 with B3-- Called
 @7523071:b7522333 
 -- CONNECT_CONF ID=001 #0x0004 LEN=0014 
   Controller/PLCI/NCCI= 0x101 
   Info= 0x0 
  
   == received CONNECT_CONF PLCI = 0x101 INFO = 0 
 -- INFO_IND ID=001 #0x0b97 LEN=0017 
   Controller/PLCI/NCCI= 0x101 
   InfoNumber  = 0x8 
   InfoElement = 81 81 
  
 -- DISCONNECT_IND ID=001 #0x0b98 LEN=0014 
   Controller/PLCI/NCCI= 0x101 
   Reason  = 0x3481 
  
   == DISCONNECT_IND PLCI=0x101 REASON=0x3481 
   == No one is available to answer at this time 
  

How changing from CAPI to a zaphfc card will correct this error I don't
know, and problably neither does the person who suggested it.

REASON 0x3481 is Unallocated (unassigned) number. = Wrong number.

-- 
Dave Cotton [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] capi problem with dialout

2005-04-21 Thread Robert Webb
SNIP
  == DISCONNECT_IND PLCI=0x101 REASON=0x3481 
  == No one is available to answer at this time 
 
How changing from CAPI to a zaphfc card will correct 
this error I don't
know, and problably neither does the person who 
suggested it.

REASON 0x3481 is Unallocated (unassigned) number. = 
Wrong number.

--
Dave Cotton [EMAIL PROTECTED]

Just as a shot in the dark, but does the telco maybe 
require  10 digit dialing for ISDN??
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Odp: Re: [Asterisk-Users] capi problem with dialout

2005-04-21 Thread Pawe Staszewski

  
  
  Hello 


I live in poland and : 

local numbers are: 752 7 digits

zone prefix: 32

country prefix: 48


And i must add that i am behind a local PBX Alcatel 4200E

Configured isdn port with msn 7523071


Why dial in is working but dial-out not ...  


And: I can dial-in from outside some debug from capi :

-- CONNECT_IND ID=001 0x0e29 LEN=0045

Controller/PLCI/NCCI = 0x101

CIPValue = 0x10

CalledPartyNumber = 81153

CallingPartyNumber = 09 80172

CalledPartySubaddress = default

CallingPartySubaddress = default

BC = 80 90 a3

LLC = default

HLC = 91 81

AdditionalInfo

BChannelinformation = 00 00

Keypadfacility = default

Useruserdata = 04

Facilitydataarray = default


== CONNECT_IND PLCI=0x101DID=153CID=172CIP=0x10CONTROLLER=0x1

-- started pbx on channel callgroup=0

-- INFO_IND ID=001 0x0e2a LEN=0016

Controller/PLCI/NCCI = 0x101

InfoNumber = 0x7e

InfoElement = 04


-- INFO_IND ID=001 0x0e2b LEN=0019

Controller/PLCI/NCCI = 0x101

InfoNumber = 0x70

InfoElement = 81153


-- INFO_IND ID=001 0x0e2c LEN=0016

Controller/PLCI/NCCI = 0x101

InfoNumber = 0x18

InfoElement = 89


-- ALERT_CONF ID=001 0x0e29 LEN=0014

Controller/PLCI/NCCI = 0x101

Info = 0x0


== Starting CAPIcontr1/153/6 at from-isdn1531 failed so falling back to exten s

-- Executing SetLanguageCAPIcontr1/153/6 en in new stack

-- Executing DialCAPIcontr1/153/6 SIP/478 in new stack

Were at 195.205.186.7 port 10786

Answering with preferred capability 0x4 ulaw

Answering with preferred capability 0x2 gsm

Answering with non-codec capability 0x1 telephone-event

12 headers 11 lines

Reliably Transmitting:

INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0

Via: SIP/2.0/UDP 195.205.186.7:5060branch=z9hG4bK4541e422

From: 172 sip:[EMAIL PROTECTED]tag=as24721ef0

To: sip:[EMAIL PROTECTED]:5060

Contact: sip:[EMAIL PROTECTED]

Call-ID: [EMAIL PROTECTED]

CSeq: 102 INVITE

User-Agent: Asterisk PBX

Date: Thu 21 Apr 2005 14:03:36 GMT

Allow: INVITE ACK CANCEL OPTIONS BYE REFER

Content-Type: application/sdp

Content-Length: 241


v=0

o=root 10839 10839 IN IP4 195.205.186.7

s=session

c=IN IP4 195.205.186.7

t=0 0

m=audio 10786 RTP/AVP 0 3 101

a=rtpmap:0 PCMU/8000

a=rtpmap:3 GSM/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-16

a=silenceSupp:off - - - -

no NAT to 10.0.230.14:5060

-- Called 478



Sip read:

SIP/2.0 100 Trying

To: sip:[EMAIL PROTECTED]:5060

From: 172sip:[EMAIL PROTECTED]tag=as24721ef0

Via: SIP/2.0/UDP 195.205.186.7:5060branch=z9hG4bK4541e422received=195.205.186.7

Call-ID: [EMAIL PROTECTED]

CSeq: 102 INVITE

Contact: sip:10.0.230.14:5060

User-Agent: Firefly

Content-Length: 0



9 headers 0 lines



Sip read:

SIP/2.0 180 Ringing

To: sip:[EMAIL PROTECTED]:5060tag=c84d4d07

From: 172sip:[EMAIL PROTECTED]tag=as24721ef0

Via: SIP/2.0/UDP 195.205.186.7:5060branch=z9hG4bK4541e422received=195.205.186.7

Call-ID: [EMAIL PROTECTED]

CSeq: 102 INVITE

Contact: sip:10.0.230.14:5060

User-Agent: Firefly

Content-Length: 0



9 headers 0 lines

-- SIP/478-2750 is ringing


-- INFO_IND ID=001 0x0e2d LEN=0017

Controller/PLCI/NCCI = 0x101

InfoNumber = 0x8

InfoElement = 81 90


-- DISCONNECT_IND ID=001 0x0e2e LEN=0014

Controller/PLCI/NCCI = 0x101

Reason = 0x3490


== DISCONNECT_IND PLCI=0x101 REASON=0x3490

Reliably Transmitting:

CANCEL sip:[EMAIL PROTECTED]:5060 SIP/2.0

Via: SIP/2.0/UDP 195.205.186.7:5060branch=z9hG4bK4541e422

From: 172 sip:[EMAIL PROTECTED]tag=as24721ef0

To: sip:[EMAIL PROTECTED]:5060

Contact: sip:[EMAIL PROTECTED]

Call-ID: [EMAIL PROTECTED]

CSeq: 102 CANCEL

User-Agent: Asterisk PBX

Content-Length: 0


no NAT to 10.0.230.14:5060

Scheduling destruction of call [EMAIL PROTECTED] in 15000 ms

== Spawn extension from-isdn s 2 exited non-zero on CAPIcontr1/153/6



Sip read:

SIP/2.0 200 OK

To: sip:[EMAIL PROTECTED]:5060tag=c84d4d07

From: 172 sip:[EMAIL PROTECTED]tag=as24721ef0

Via: SIP/2.0/UDP 

Re: Odp: Re: [Asterisk-Users] capi problem with dialout

2005-04-21 Thread Peer Oliver Schmidt
Pawe Staszewski wrote:
Hello
I live in poland and :)
local numbers are: 752 (7 digits)
zone prefix: 32
country prefix: 48
And i must add that i am behind a local PBX (Alcatel 4200E)
Configured isdn port with msn 7523071
Why dial in is working but dial-out not ... ??
maybe your local PBX requires a 0 in front for an outside line?
--
Best regards
Peer Oliver Schmidt
PGP Key ID: 0x83E1C2EA
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] capi problem with dialout

2005-04-21 Thread Pawe Staszewski

  
  
  Hello


i try with 0 and

-- Executing AnswerSIP/478-c9a2  in new stack

-- Executing DialSIP/478-c9a2 CAPI/7523071:07522333 in new stack

-- data = ""

-- capi request omsn = 7523071

== found capi with omsn = 7523071

== CAPI Call CAPIcontr1/7523071/7 -- Called 7523071:07522333

-- CONNECT_CONF ID=001 0x0b3f LEN=0014

Controller/PLCI/NCCI = 0x101

Info = 0x0


== received CONNECT_CONF PLCI = 0x101 INFO = 0

-- INFO_IND ID=001 0x1987 LEN=0017

Controller/PLCI/NCCI = 0x101

InfoNumber = 0x8

InfoElement = 81 81


-- DISCONNECT_IND ID=001 0x1988 LEN=0014

Controller/PLCI/NCCI = 0x101

Reason = 0x3481


== DISCONNECT_IND PLCI=0x101 REASON=0x3481



[EMAIL PROTECTED] 04/21/05 5:24 pm PaweStaszewski wrote:HelloI live in poland and :local numbers are: 752 7 digitszone prefix: 32country prefix: 48And i must add that i am behind a local PBX Alcatel 4200EConfigured isdn port with msn 7523071Why dial in is working but dial-out not ... maybe your local PBX requires a 0 in front for an outside line--Best regardsPeer Oliver SchmidtPGP Key ID: 0x83E1C2EAAsterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users

  

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] capi problem with dialout

2005-04-21 Thread Peer Oliver Schmidt
Pawe Staszewski wrote:
Hello
i try with 0 and
   -- Executing Answer(SIP/478-c9a2, ) in new stack
-- Executing Dial(SIP/478-c9a2, CAPI/7523071:07522333) in new stack
-- data = 7523071:07522333
-- capi request omsn = 7523071
  == found capi with omsn = 7523071
  == CAPI Call CAPI[contr1/7523071]/7 -- Called 7523071:07522333
-- CONNECT_CONF ID=001 #0x0b3f LEN=0014
  Controller/PLCI/NCCI= 0x101
  Info= 0x0
  == received CONNECT_CONF PLCI = 0x101 INFO = 0
-- INFO_IND ID=001 #0x1987 LEN=0017
  Controller/PLCI/NCCI= 0x101
  InfoNumber  = 0x8
  InfoElement = 81 81
-- DISCONNECT_IND ID=001 #0x1988 LEN=0014
  Controller/PLCI/NCCI= 0x101
  Reason  = 0x3481
Before going any further with Asterisk, try to verify your CAPI setup is
able to dial out. Install something like capi4hylafax, and see if you
can dialout. If that works come back to asterisk and apply what you have
learned.
chan_capi works at least as reliable as the bristuff. I am running a AVM
C4 plus a HFC-S based card in my asterisk server. The CAPI stuff got me
started, bristuff came later.
--
Best regards
Peer Oliver Schmidt
PGP Key ID: 0x83E1C2EA
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users