Re: [asterisk-users] Macro when calling cellphone (GSM) + silence when connecting
Hello list, how can I connect 2 channels together ?! As this is what is suggested by Philipp... Kind regards, Jonas. On 09/07/2010 09:04 PM, Jonas Kellens wrote: On 09/07/2010 06:40 PM, Philipp von Klitzing wrote: is their a way to keep having a dialtone for the calling party when the macro is executed ?! Or not ?! Consider using either FollowMe() or using the G option of Dial() instead. Philipp So with this G option I send the caller and the callee to a context + extension, but how are both parties connected together then ?! Is there somewhere an example ?! I just want the ringtone to continue while the called party accepts the call by pressing 1... I don't really see how I can have the same functionality by sending the calling and called party to a certain context, where they have a different priority also. How do they connect together ?!?! Jonas. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Macro when calling cellphone (GSM) + silence when connecting
Hello list, I've upgraded to 1.6.2.11 to be able to use the bridge()-command, but there is no info on it : asterisk*CLI core show application Bridge -= Info about application 'Bridge' =- [Synopsis] Not available [Description] Not available [Syntax] Not available [Arguments] Not available [See Also] Not available How is it possible that Asterisk is not able to bridge 2 channels together ?! Is there then nobody that needs to do this ?! This sounds very odd to be. And if there do is a bridge()-command, it seems to me that nobody is aware of it. Very strange. On 09/08/2010 10:55 AM, Jonas Kellens wrote: Hello list, how can I connect 2 channels together ?! As this is what is suggested by Philipp... Kind regards, Jonas. On 09/07/2010 09:04 PM, Jonas Kellens wrote: On 09/07/2010 06:40 PM, Philipp von Klitzing wrote: is their a way to keep having a dialtone for the calling party when the macro is executed ?! Or not ?! Consider using either FollowMe() or using the G option of Dial() instead. Philipp So with this G option I send the caller and the callee to a context + extension, but how are both parties connected together then ?! Is there somewhere an example ?! I just want the ringtone to continue while the called party accepts the call by pressing 1... I don't really see how I can have the same functionality by sending the calling and called party to a certain context, where they have a different priority also. How do they connect together ?!?! Jonas. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Macro when calling cellphone (GSM) + silence when connecting
Hello list, is their a way to keep having a dialtone for the calling party when the macro is executed ?! Or not ?! Kind regards, Jonas. Original Message Subject:Macro when calling cellphone (GSM) + silence when connecting Date: Mon, 06 Sep 2010 16:23:46 +0200 From: Jonas Kellens jonas.kell...@telenet.be To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Hello list, I'm using the following macro when calling an external callphone/GSM number : [macro-press1] exten = s,1,NoOp() exten = s,n,Playback(/var/lib/asterisk/sounds/prompts/press1) exten = s,n,Read(INPUT,,1,1,1) exten = s,n,NoOp(input : ${INPUT}) exten = s,n,GoToIf($[${INPUT}==1]?exit:hangup) exten = s,n(exit),NoOp(call accepted) exten = s,n,MacroExit() exten = s,n(hangup),Set(MACRO_RESULT=CONTINUE) exten = s,n,NoOp(macro_result in macro : ${MACRO_RESULT}) exten = s,n,MacroExit() The dialplan : exten = s,n,Dial(${TRUNKOUT}/${TEL},,M(press1)) So the calling party and the called party are only connected together when the called party presses 1 to accept the call. When playing the prompt Press 1 to accept the call, the calling party here's a silence (ringtone stops). How can I have the ringtone be played untill the calling party and the called party are effectively connected together ?! I guess by calling the Playback-command, the call is answered. But that means that the ringtone stops. While the called party still needs to acknowledge the call. Anyone has a solution ?! Kind regards, Jonas. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Macro when calling cellphone (GSM) + silence when connecting
Hi! is their a way to keep having a dialtone for the calling party when the macro is executed ?! Or not ?! Consider using either FollowMe() or using the G option of Dial() instead. Philipp -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Macro when calling cellphone (GSM) + silence when connecting
On 09/07/2010 06:40 PM, Philipp von Klitzing wrote: is their a way to keep having a dialtone for the calling party when the macro is executed ?! Or not ?! Consider using either FollowMe() or using the G option of Dial() instead. Philipp So with this G option I send the caller and the callee to a context + extension, but how are both parties connected together then ?! Is there somewhere an example ?! I just want the ringtone to continue while the called party accepts the call by pressing 1... I don't really see how I can have the same functionality by sending the calling and called party to a certain context, where they have a different priority also. How do they connect together ?!?! Jonas. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Macro when calling cellphone (GSM) + silence when connecting
Hello list, I'm using the following macro when calling an external callphone/GSM number : [macro-press1] exten = s,1,NoOp() exten = s,n,Playback(/var/lib/asterisk/sounds/prompts/press1) exten = s,n,Read(INPUT,,1,1,1) exten = s,n,NoOp(input : ${INPUT}) exten = s,n,GoToIf($[${INPUT}==1]?exit:hangup) exten = s,n(exit),NoOp(call accepted) exten = s,n,MacroExit() exten = s,n(hangup),Set(MACRO_RESULT=CONTINUE) exten = s,n,NoOp(macro_result in macro : ${MACRO_RESULT}) exten = s,n,MacroExit() The dialplan : exten = s,n,Dial(${TRUNKOUT}/${TEL},,M(press1)) So the calling party and the called party are only connected together when the called party presses 1 to accept the call. When playing the prompt Press 1 to accept the call, the calling party here's a silence (ringtone stops). How can I have the ringtone be played untill the calling party and the called party are effectively connected together ?! I guess by calling the Playback-command, the call is answered. But that means that the ringtone stops. While the called party still needs to acknowledge the call. Anyone has a solution ?! Kind regards, Jonas. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users