[asterisk-users] Call forwarding

Pavel Jezek pavel.jezek at i.cz
Thu Feb 15 07:00:52 MST 2007


you just post only call forward activation part of dialplan,
but you must also make dialplan part, that reflect, how is set this 
callforward mark,
ie. if callforward is set, dial that number, if not, dial peer...



Dominik Zalewski wrote:
> Hi All,
>
> I'm using asterisk 1.2.15 and call forwarding doesnt work for me. 
>
> from my extensions.conf:
>
> ; Unconditional Call Forward 
> exten => _*21*X.,1,NoCDR 
> exten => _*21*X.,2,Set(DB(CFIM/${CALLERID(NUM)})=${EXTEN:4}) 
> exten => _*21*X.,3,Playback(vm-saved) 
> exten => _*21*X.,4,Hangup 
>
> exten => #21#,1,NoCDR 
> exten => #21#,2,DBdel(CFIM/${CALLERID(NUM)}) 
> exten => #21#,3,Playback(auth-thankyou) 
> exten => #21#,4,Hangup
>
>
> debug from asterisk CLI:
>
>     -- Executing NoCDR("SIP/dzalewski-081afaf0", "") in new stack
> Feb 15 15:00:19 NOTICE[32307]: cdr.c:443 ast_cdr_free: CDR on 
> channel 'SIP/dzalewski-081afaf0' not posted
> Feb 15 15:00:19 NOTICE[32307]: cdr.c:445 ast_cdr_free: CDR on 
> channel 'SIP/dzalewski-081afaf0' lacks end
>     -- Executing Set("SIP/dzalewski-081afaf0", "DB(CFIM/200)=204") in new 
> stack
>     -- Executing Playback("SIP/dzalewski-081afaf0", "vm-saved") in new stack
>     -- Playing 'vm-saved' (language 'en')
>     -- Executing Hangup("SIP/dzalewski-081afaf0", "") in new stack
>   == Spawn extension (from-internal, *21*204, 4) exited non-zero 
> on 'SIP/dzalewski-081afaf0'
>
> Thank you in advance,
>
> 	Dominik
>
>
> _______________________________________________
> --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
>   


More information about the asterisk-users mailing list