Hi, Just installed CAPI on my debian. Thanks to all who contributed to the www.viop-info.org how to install capi. I can call out from my SIP phone trough * to ISDN PSTN. ISDN -> * -> to SIP works as well. But I am not able to "submit" the CallerID from * trough the PSTN Network. My calls arrive at the destination with CallerID supressed. I have tried with exten => SetCallerID{xxx}, no success. Q: what do I miss? Jakob
Florian Overkamp
2004-Mar-13 11:16 UTC
[Asterisk-Users] How to send CallerID trough CAPI ?
Hi,> -----Original Message----- > I can call out from my SIP phone trough * to ISDN PSTN. > ISDN -> * -> to SIP works as well. > But I am not able to "submit" the CallerID from * trough the > PSTN Network. > My calls arrive at the destination with CallerID supressed. > > I have tried with exten => SetCallerID{xxx}, no success.For CAPI you have to set the CallerID in your DialString: exten = _0800XXX.,1,SetCIDNum(${CLID}) exten = _0800XXX.,2,Dial(CAPI/${CALLERIDNUM}:b${EXTEN}) Best regards, Florian
Florian, Thanks for your help. I have tried your version but the result is still the same. It seems that I make a fundamental error. Can you bring me back on the way ? Jakob>For CAPI you have to set the CallerID in your DialString: > >exten = _0800XXX.,1,SetCIDNum(${CLID}) >exten = _0800XXX.,2,Dial(CAPI/${CALLERIDNUM}:b${EXTEN})This are the relevant part of EXTENSIONS.CONF <snip> [globals] ; ; globals f?r ISDN CLID=0627775171 <snip> [outst] exten => _0.,1,SetCIDNum(${CLID}) ;exten => _0.,2,Dial(CAPI/@123456:b${EXTEN}) ; geht aber ohne CID <snip> where 123456 is my msn in CAPI.CONF My ISDN Board is AVM Fritz PCI This is the output on the console: asterisk*CLI> -- Executing SetCIDNum("SIP/1234-b081", "0627775171") in new stack -- Executing Dial("SIP/1234-b081", "CAPI/@123456:b0794003384") in new stack -- creating pipe for PLCI=-1 > sent CONNECT_REQ MN =0x400 -- Called @123456:b0794003384 -- CAPI[contr1/123456]/25 is making progress passing it to SIP/1234-b081 -- CAPI[contr1/123456]/25 is ringing
Florian, Thanks, big step in the right direction. But the Called User sees now 062775170 wich is the "root number" (or the initial number where my ISDN numbering starts) The CLID is 0627775171 which is defined in my [globals] Jakob asterisk*CLI> -- Executing SetCIDNum("SIP/1234-d016", "0627775171") in new stack -- Executing Dial("SIP/1234-d016", "CAPI/123456:b0627775171") in new stack -- creating pipe for PLCI=-1 > sent CONNECT_REQ MN =0x947 -- Called 123456:b0627775171 -- CAPI[contr1/123456]/29 is making progress passing it to SIP/1234-d016 -- creating pipe for PLCI=0x201 msn = 7775171 > sent ALERT_REQ PLCI = 0x201 -- Executing Wait("CAPI[contr1/7775171]/30", "1") in new stack -- started pbx on channel (callgroup=2)! -- CAPI[contr1/123456]/29 is ringing
Florian Overkamp
2004-Mar-14 05:12 UTC
[Asterisk-Users] How to send CallerID trough CAPI ?
Hi,> -----Original Message----- > big step in the right direction. But the Called User sees now > 062775170 wich is the "root number" (or the initial number > where my ISDN numbering > starts) The CLID is 0627775171 which is defined in my [globals]> -- Executing SetCIDNum("SIP/1234-d016", "0627775171") in > new stack > -- Executing Dial("SIP/1234-d016", > "CAPI/123456:b0627775171") in new stackTry Dial(CAPI/b0627775171:123456) By the way, could be you need Dial(CAPI/b627775171:123456) Florian