I can now receive calls from isdn line i I set in the file extensions_custom.conf :
[isdn-in]
exten => 37230669,1,Dial(SIP/4011/4011&SIP/4012/4012
where isdn-in is the context set in capi.conf for my isdn card and 4011 and 4012 my sip softphone extensions
If set in extensions_custom.conf :
[isdn-in]
include => from-internal
My softphone not ring and in the asterisk console I read this :
LI> == ISDN1#02: Incoming call ‘YYYYYY’ -> ‘XXXXXXXX’
– ISDN1#02: Updated channel name: CAPI/ISDN1#02/XXXXXXXX-1
– Executing [[email protected]:1] ResetCDR(“CAPI/ISDN1#02/XXXXXXXX-1”, “”) in new stack
– Executing [[email protected]:2] NoCDR(“CAPI/ISDN1#02/XXXXXXXX-1”, “”) in new stack
– Executing [[email protected]:3] Wait(“CAPI/ISDN1#02/XXXXXXXX-1”, “1”) in new stack
– Executing [[email protected]:4] Playback(“CAPI/ISDN1#02/XXXXXXXX-1”, “silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer”) in new stack
– <CAPI/ISDN1#02/XXXXXXXX-1> Playing ‘silence/1’ (language ‘it’)
– Executing [[email protected]:5] Wait(“CAPI/ISDN1#02/XXXXXXXX-1”, “1”) in new stack
– Executing [[email protected]:6] Congestion(“CAPI/ISDN1#02/XXXXXXXX-1”, “20”) in new stack
== Spawn extension (isdn-in, XXXXXXXX, 6) exited non-zero on ‘CAPI/ISDN1#02/XXXXXXXX-1’
– Executing [[email protected]:1] Macro(“CAPI/ISDN1#02/XXXXXXXX-1”, “hangupcall”) in new stack
– Executing [[email protected]:1] ResetCDR(“CAPI/ISDN1#02/XXXXXXXX-1”, “w”) in new stack
– Executing [[email protected]hangupcall:2] NoCDR(“CAPI/ISDN1#02/XXXXXXXX-1”, “”) in new stack
– Executing [[email protected]:3] GotoIf(“CAPI/ISDN1#02/XXXXXXXX-1”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [[email protected]:6] GotoIf(“CAPI/ISDN1#02/XXXXXXXX-1”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [[email protected]:9] GotoIf(“CAPI/ISDN1#02/XXXXXXXX-1”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [[email protected]:11] Hangup(“CAPI/ISDN1#02/XXXXXXXX-1”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘CAPI/ISDN1#02/XXXXXXXX-1’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘CAPI/ISDN1#02/XXXXXXXX-1’
== ISDN1#02: CAPI Hangingup for PLCI=0xdead0000 in state 4
I set Inbound route to call my 4012 softphone for any DID or CID , but it seems that it will not be taken into account
the inbound route that I created.
How can set a default inbound route to call my softphone without changing hand the file of configuration ?
By Obe.