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
Am 15.02.2007 um 14:06 schrieb Dominik Zalewski:> exten => _*21*X.,2,Set(DB(CFIM/${CALLERID(NUM)})=${EXTEN:4})Just use ${CALLERID(num)} and not ${CALLERID(NUM)}. Stefan -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de Gesch?ftsf?hrer: Stefan Wintermeyer Handelsregister: Neuwied B 14998
On Thursday 15 February 2007 03:22:58 pm Stefan Wintermeyer wrote:> Am 15.02.2007 um 14:06 schrieb Dominik Zalewski: > > exten => _*21*X.,2,Set(DB(CFIM/${CALLERID(NUM)})=${EXTEN:4}) > > Just use ${CALLERID(num)} and not ${CALLERID(NUM)}. > > Stefanit didnt help :( Is there is other way to implement call forwarding?
On 2/15/07, Dominik Zalewski <dzalewski@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
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 >
On Thursday 15 February 2007 04:00:52 pm Pavel Jezek wrote:> 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... >Do you have any example of this diaplan part? Thanks, Dominik
With the call forward button on the phone? ;) PaulH> > Stefan > > > it didnt help :( Is there is other way to implement call forwarding? > _______________________________________________ > --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
An odd question... I have asterisk running just basic sip phones and sending/receiving calls using ZAP. The phones are polycom 501s. When a user presses the "Forward" soft key and puts an external number (a cell phone), and then someone from the inside (another extension) to the phone which has the forward on... I get this odd and loud humming/buzz noise in place of what the ringer normally would be. Once the call completes, its fine. If you dial from the outside into the SIP phone, the forward happens just fine. Any thoughts? Rob