[Asterisk-Users] How to send CallerID trough CAPI ?

Jakob Strebel mail at teamstrebel.ch
Sun Mar 14 03:00:11 MST 2004


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 




More information about the asterisk-users mailing list