Benjamin Boksa
2004-Sep-15 10:38 UTC
[Asterisk-Users] Extension based call forwarding using capiECT
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I try to get callers forwarded to by mobile phone when they dial a certain digit. In my extensions.conf I have defined the following: [279xxxx] exten => s,1,SetLanguage(de) exten => s,2,Wait,5 exten => s,3,BackGround(demo-congrats) exten => s,4,Goto(boksa,#,1) exten => 3,1,VoiceMail,u1 exten => 4,1,VoicemailMain exten => 4,2,Hangup exten => 5,1,capiHOLD exten => 5,2,capiECT,279xxxx:017520xxxxx exten => t,Goto(boksa,#,2) When I try the setup by dialing 4 while demo-congrats is playing my mobile phone rings and the caller number is spoken, but no connection between the caller and the mobile phone is established. This is the output from asterisk -vvvv: == CDR updated on CAPI[contr1/279xxxx]/0 -- Executing capiHOLD("CAPI[contr1/279xxxx]/0", "") in new stack Sep 15 19:09:05 NOTICE[245776]: app_capiHOLD.c:73 capiHOLD_exec: sent FACILITY_REQ PLCI = 0x101 Sep 15 19:09:05 NOTICE[245776]: app_capiHOLD.c:84 capiHOLD_exec: PLCI = 0x101 is on hold now -- Executing capiECT("CAPI[contr1/279xxxx]/0", "279xxxx:017520xxxxx") in new stack Sep 15 19:09:05 NOTICE[245776]: app_capiECT.c:65 capiECT_exec: ECT to 279xxxx:017520xxxxx Sep 15 19:09:17 NOTICE[245776]: app_capiECT.c:74 capiECT_exec: call was answered -- Playing 'digits/0' (language 'de') Sep 15 19:09:17 WARNING[245776]: file.c:902 ast_waitstream: Unexpected control subclass '14' -- Playing 'digits/1' (language 'de') -- Playing 'digits/6' (language 'de') -- Playing 'digits/2' (language 'de') -- Playing 'digits/4' (language 'de') -- Playing 'digits/1' (language 'de') -- Playing 'digits/4' (language 'de') -- Playing 'digits/3' (language 'de') -- Playing 'digits/6' (language 'de') -- Playing 'digits/9' (language 'de') -- Playing 'digits/7' (language 'de') Sep 15 19:09:23 NOTICE[245776]: app_capiECT.c:132 capiECT_exec: sent DISCONNECT_B3_REQ NCCI=0x10201 Sep 15 19:09:23 NOTICE[245776]: app_capiECT.c:155 capiECT_exec: onholdPLCI = 257 Sep 15 19:09:23 NOTICE[245776]: app_capiECT.c:177 capiECT_exec: sent FACILITY_REQ PLCI = 0x201 (0x1 0x1) onholdPLCI = 0x101 Sep 15 19:09:23 NOTICE[245776]: app_capiECT.c:178 capiECT_exec: FACILITY_REQ ID=007 #0x01aa LEN=0022 Controller/PLCI/NCCI = 0x101 FacilitySelector = 0x3 FacilityRequestParameter = <06 00 04 01 01 00 00> My MSN is 279xxxx and my mobile phone number is 017520xxxxx. What have I done wrong? Is it possible to do that? Thanks a lot for your answers in advance, Benne -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFBSH4zR5U9XkJXZKwRApyQAJ9EEsPm6K9t0NrONTb1UX5u1kF2AwCaAz+U cXFpxoWl52ojsEw+cF6e1Qk=V7wa -----END PGP SIGNATURE-----
Benjamin Boksa
2004-Sep-16 04:22 UTC
[Asterisk-Users] Extension based call forwarding using capiECT
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I tried out some more stuff and found out the following: exten => 5,1,Dial(CAPI/279xxxx:b0175203xxxx,30) instead of exten => 5,1,capiHOLD exten => 5,2,capiECT,279xxxx:0175203xxxx seems to work for me. Is that "the right way to do it"? Thanks in advance for your answers. Benne Am 15.09.2004 um 19:38 schrieb Benjamin Boksa:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I try to get callers forwarded to by mobile phone when they dial a > certain digit. > > In my extensions.conf I have defined the following: > > [279xxxx] > exten => s,1,SetLanguage(de) > exten => s,2,Wait,5 > exten => s,3,BackGround(demo-congrats) > exten => s,4,Goto(boksa,#,1) > > exten => 3,1,VoiceMail,u1 > > exten => 4,1,VoicemailMain > exten => 4,2,Hangup > > exten => 5,1,capiHOLD > exten => 5,2,capiECT,279xxxx:017520xxxxx > > exten => t,Goto(boksa,#,2) > > When I try the setup by dialing 4 while demo-congrats is playing my > mobile phone rings and the caller number is spoken, but no connection > between the caller and the mobile phone is established. This is the > output from asterisk -vvvv: > > == CDR updated on CAPI[contr1/279xxxx]/0 > -- Executing capiHOLD("CAPI[contr1/279xxxx]/0", "") in new stack > Sep 15 19:09:05 NOTICE[245776]: app_capiHOLD.c:73 capiHOLD_exec: sent > FACILITY_REQ PLCI = 0x101 > Sep 15 19:09:05 NOTICE[245776]: app_capiHOLD.c:84 capiHOLD_exec: PLCI > = 0x101 is on hold now > -- Executing capiECT("CAPI[contr1/279xxxx]/0", > "279xxxx:017520xxxxx") in new stack > Sep 15 19:09:05 NOTICE[245776]: app_capiECT.c:65 capiECT_exec: ECT to > 279xxxx:017520xxxxx > Sep 15 19:09:17 NOTICE[245776]: app_capiECT.c:74 capiECT_exec: call > was answered > -- Playing 'digits/0' (language 'de') > Sep 15 19:09:17 WARNING[245776]: file.c:902 ast_waitstream: Unexpected > control subclass '14' > -- Playing 'digits/1' (language 'de') > -- Playing 'digits/6' (language 'de') > -- Playing 'digits/2' (language 'de') > -- Playing 'digits/4' (language 'de') > -- Playing 'digits/1' (language 'de') > -- Playing 'digits/4' (language 'de') > -- Playing 'digits/3' (language 'de') > -- Playing 'digits/6' (language 'de') > -- Playing 'digits/9' (language 'de') > -- Playing 'digits/7' (language 'de') > Sep 15 19:09:23 NOTICE[245776]: app_capiECT.c:132 capiECT_exec: sent > DISCONNECT_B3_REQ NCCI=0x10201 > Sep 15 19:09:23 NOTICE[245776]: app_capiECT.c:155 capiECT_exec: > onholdPLCI = 257 > Sep 15 19:09:23 NOTICE[245776]: app_capiECT.c:177 capiECT_exec: sent > FACILITY_REQ PLCI = 0x201 (0x1 0x1) onholdPLCI = 0x101 > Sep 15 19:09:23 NOTICE[245776]: app_capiECT.c:178 capiECT_exec: > FACILITY_REQ ID=007 #0x01aa LEN=0022 > Controller/PLCI/NCCI = 0x101 > FacilitySelector = 0x3 > FacilityRequestParameter = <06 00 04 01 01 00 00> > > My MSN is 279xxxx and my mobile phone number is 017520xxxxx. > > What have I done wrong? Is it possible to do that? > > Thanks a lot for your answers in advance, > > Benne -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFBSH4zR5U9XkJXZKwRApyQAJ9EEsPm6K9t0NrONTb1UX5u1kF2AwCaAz+U > cXFpxoWl52ojsEw+cF6e1Qk> =V7wa > -----END PGP SIGNATURE----- > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFBSXeBR5U9XkJXZKwRAuSHAKCHcEzQlrPTDiy7j4vwjpyueJbeFgCeNNrb JrCQcff5uWBgesLT01zSsgs=lh8J -----END PGP SIGNATURE-----