[asterisk-users] Call forwarding
Steve Davies
davies147 at gmail.com
Thu Feb 15 06:38:42 MST 2007
On 2/15/07, Dominik Zalewski <dzalewski at open-craft.com> 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'
>
Above you are setting and clearing some database entries. What in your
dialplan are you using to act upon these values? You need something
resembling "Example 1" on this page:
http://www.voip-info.org/wiki/view/Asterisk+call+forwarding Which
takes your saved values and acts on them.
Or perhaps I am misunderstanding something?
Steve
More information about the asterisk-users
mailing list