call somebody into conference after conference established
Hi Gurus, i dial 666 and enter a conference, then i need call some body's phone number to join him into this conference... is there anyone can advise how can realize this scenario? thanks. Regards, Charles
conference Your-Conf-Name dial user/1002 liuyp2 2011-05-12 发件人: fieldpeak 发送时间: 2011-05-12 11:11:41 收件人: FreeSWITCH-users 抄送: 主题: [Freeswitch-users] call somebody into conference after conferenceestablished Hi Gurus, i dial 666 and enter a conference, then i need call some body's phone number to join him into this conference... is there anyone can advise how can realize this scenario? thanks. Regards, Charles
Hi Michael, Thanks for your detailed suggestion. i test it as below steps, it works fine, however, there is a limiation that i have to fill fixed callee number in conference.conf.xml (data="execute_extension 5001"), while actually i what to dial arbitrary number after "*" dynamically(e.g *1234, *2345), i can think out it could realize by a IVR script like "data="execute_extension IVR_scripts" and after IVR give some voice prompt (pls input the callee number) then ... however, considering simplicity, can i convey the DTMF into the dialplan (just directly press *1234, and then 1234 ring...)? could you please provide any hints or any suggestion... Thanks a lot! 1. in conference.conf.xml, set as below, <control action="execute_application" digits="*" data="execute_extension 5001"/> 2. in dial plan, <!-- for confernce named conf100 --> <extension name="conf100" > <condition field="destination_number" expression="^666$"> <action application="answer"/> <action application="set" data="conference_user_list=|"/> <action application="conference" data="conf100@default"/> </condition> </extension> and <!-- for dial out 5001 from the conference conf100 --> <extension name="5_to_conf_out" > <condition field="destination_number" expression="^(5\d+)$"> <!-- <action application="conference" data="conf100 dial sofia/internal/5001@192.168.200.201 100 Conference_Caller_Name"/> --> <!-- <action application="bridge" data="sofia/internal/$ 1@192.168.200.201"/> --> <action application="set" data="api_result=${conference(conf100 dial sofia/internal/$1@192.168.200.201 100 Conference_Caller_Name)}"/> </condition> </extension> 3. register a extension 3001, call 666 and join a conference, and then press "*", the FS will call 5001 on a IAD. then 5001 and 3001 join the same conference. 2011/5/12 liuyp2 <liuyp2@asiainfo-linkage.com>
conference Your-Conf-Name dial user/1002
------------------------------ liuyp2 2011-05-12 ------------------------------ *发件人:* fieldpeak *发送时间:* 2011-05-12 11:11:41 *收件人:* FreeSWITCH-users *抄送:* *主题:* [Freeswitch-users] call somebody into conference after conferenceestablished
Hi Gurus,
i dial 666 and enter a conference, then i need call some body's phone number to join him into this conference... is there anyone can advise how can realize this scenario?
thanks.
Regards, Charles
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Gurus, Is there anybody can help this issue? thanks! Regards, Charles 在 2011年5月14日 下午3:54,fieldpeak <fieldpeak@gmail.com>写道:
Hi Michael,
Thanks for your detailed suggestion.
i test it as below steps, it works fine, however, there is a limiation that i have to fill fixed callee number in conference.conf.xml (data="execute_extension 5001"), while actually i what to dial arbitrary number after "*" dynamically(e.g *1234, *2345), i can think out it could realize by a IVR script like "data="execute_extension IVR_scripts" and after IVR give some voice prompt (pls input the callee number) then ... however, considering simplicity, can i convey the DTMF into the dialplan (just directly press *1234, and then 1234 ring...)? could you please provide any hints or any suggestion... Thanks a lot!
1. in conference.conf.xml, set as below, <control action="execute_application" digits="*" data="execute_extension 5001"/>
2. in dial plan,
<!-- for confernce named conf100 --> <extension name="conf100" > <condition field="destination_number" expression="^666$"> <action application="answer"/> <action application="set" data="conference_user_list=|"/> <action application="conference" data="conf100@default"/> </condition> </extension>
and
<!-- for dial out 5001 from the conference conf100 -->
<extension name="5_to_conf_out" > <condition field="destination_number" expression="^(5\d+)$"> <!-- <action application="conference" data="conf100 dial sofia/internal/5001@192.168.200.201 100 Conference_Caller_Name"/> --> <!-- <action application="bridge" data="sofia/internal/$ 1@192.168.200.201"/> --> <action application="set" data="api_result=${conference(conf100 dial sofia/internal/$1@192.168.200.201 100 Conference_Caller_Name)}"/> </condition> </extension>
3. register a extension 3001, call 666 and join a conference, and then press "*", the FS will call 5001 on a IAD. then 5001 and 3001 join the same conference.
2011/5/12 liuyp2 <liuyp2@asiainfo-linkage.com>
conference Your-Conf-Name dial user/1002
------------------------------ liuyp2 2011-05-12 ------------------------------ *发件人:* fieldpeak *发送时间:* 2011-05-12 11:11:41 *收件人:* FreeSWITCH-users *抄送:* *主题:* [Freeswitch-users] call somebody into conference after conferenceestablished
Hi Gurus,
i dial 666 and enter a conference, then i need call some body's phone number to join him into this conference... is there anyone can advise how can realize this scenario?
thanks.
Regards, Charles
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Okay, I did something 100% in dialplan with some conference.conf.xml additions. It's an example of how crazy powerful the dialplan really is. First, you need to add these to your conference.conf.xml: <caller-controls> ... <group name="plain"> <control action="mute" digits="0"/> <control action="energy up" digits="9"/> <control action="energy equ" digits="8"/> <control action="energy dn" digits="7"/> <control action="vol talk up" digits="3"/> <control action="vol talk zero" digits="2"/> <control action="vol talk dn" digits="1"/> <control action="vol listen up" digits="6"/> <control action="vol listen zero" digits="5"/> <control action="vol listen dn" digits="4"/> </group> ... </caller-controls> And add a new conference profile: <profiles> ... <profile name="simple"> <param name="domain" value="$${domain}"/> <param name="rate" value="16000"/> <param name="interval" value="10"/> <param name="energy-level" value="300"/> <param name="sound-prefix" value="$${sounds_dir}/en/us/callie"/> <param name="muted-sound" value="conference/conf-muted.wav"/> <param name="unmuted-sound" value="conference/conf-unmuted.wav"/> <param name="alone-sound" value="conference/conf-alone.wav"/> <param name="moh-sound" value="$${hold_music}"/> <param name="enter-sound" value="tone_stream://%(200,0,500,600,700)"/> <param name="exit-sound" value="tone_stream://%(500,0,300,200,100,50,25)"/> <param name="kicked-sound" value="conference/conf-kicked.wav"/> <param name="locked-sound" value="conference/conf-locked.wav"/> <param name="is-locked-sound" value="conference/conf-is-locked.wav"/> <param name="is-unlocked-sound" value="conference/conf-is-unlocked.wav"/> <param name="pin-sound" value="conference/conf-pin.wav"/> <param name="bad-pin-sound" value="conference/conf-bad-pin.wav"/> <param name="caller-id-name" value="$${outbound_caller_name}"/> <param name="caller-id-number" value="$${outbound_caller_id}"/> <param name="caller-controls" value="plain"/> <param name="comfort-noise" value="true"/> </profile> ... </profiles> Add these extensions to your dialplan. I just put them in conf/dialplan/default/01_Conf_Add_Caller.xml: <include> <!-- Sample dialplan for sending member or moderator to a conference where he/she can add/remove calls --> <!-- Dial 46xx for member, *46xx for moderator --> <extension name="Simple add-caller conf: member"> <condition field="destination_number" expression="^(46\d{2})$"> <action application="answer"/> <action application="conference" data="$1@simple"/> </condition> </extension> <extension name="Simple add-caller conf: moderator"> <condition field="destination_number" expression="^\*(46\d{2}$)"> <!-- set up a few bind_digit_action (BDA) bindings for the moderator --> <action application="bind_digit_action" data="moderator,*1,exec:execute_extension,ASK_FOR_NUMBER__$1 XML default"/> <action application="bind_digit_action" data="moderator,*2,exec:execute_extension,CANCEL_LAST_CALL__$1 XML default"/> <action application="digit_action_set_realm" data="moderator"/> <action application="conference" data="$1@simple"/> </condition> </extension> <extension name="Add new OB call to conference"> <condition field="destination_number" expression="^ASK_FOR_NUMBER__(\d+)$"> <!-- ask caller for a number + #, collect into ${target_num} variable --> <action application="play_and_get_digits" data="4 11 1 5000 # ivr/ivr-enter_destination_telephone_number.wav ivr/ivr-that_was_an_invalid_entry.wav target_num \d+"/> <!-- add this call to the conference --> <action application="execute_extension" data="ADD_CALL_TO_CONF__${target_num}"/> </condition> </extension> <extension name="Remove last OB call added to conference"> <condition field="destination_number" expression="^CANCEL_LAST_CALL__(\d+)$"> <!-- remove this call from the conference --> <action application="set" data="res=${uuid_kill ${new_uuid}}"/> </condition> </extension> <extension name="add that call"> <!-- if we have a four-digit number then attempt to dial it as a user ... --> <condition field="destination_number" expression="^ADD_CALL_TO_CONF__(\d\d\d\d)$" break="on-true"> <action application="set" data="new_uuid=${create_uuid foo}" inline="true"/> <action application="set" data="res=${bgapi originate {origination_uuid=${new_uuid}}user/$1 &conference(${conference_name})}"/> </condition> <!-- if we have a five+ digit number then attempt to dial it as a gw connection ... --> <condition field="destination_number" expression="^ADD_CALL_TO_CONF__(\d\d\d\d)$" break="on-true"> <action application="set" data="new_uuid=${create_uuid foo}" inline="true"/> <action application="set" data="res=${bgapi originate {origination_uuid=${new_uuid}}sofia/gateway/mygw/$1 &conference(${conference_name})}"/> <!-- Alternatively, you can just use loopback, but that creates three call legs instead of one, so be warned --> <!-- <action application="set" data="res=${bgapi originate {origination_uuid=${new_uuid}}loopback/$1 &conference(${conference_name})}"/> --> </condition> <!-- ... otherwise inform moderator that the operation was not exactly successful --> <condition field="destination_number" expression="^ADD_CALL_TO_CONF__$"> <action application="playback" data="ivr/ivr-dude_you_suck.wav"/> </condition> </extension> </include> How it works: Moderator dials *46xx to go into a conference. ("Normal" users dial 46xx and they cannot add a new call.) Moderator dials *1 and gets a dialog asking to enter the destination number and # key. Moderator keys in a phone number (or extension number) and presses #. System makes call and drops it into the conference. As a bonus feature I added *2 which will disconnect the most recently added phone call. I did this mostly as a proof of concept, but there's no reason you can't take this code and put it into production. In fact, you could add a PIN or user id (or both) checker so that just anyone can't add a call to a conference. If you guys actually like this then I'll add it to the wiki or something so everyone else can reference it. Enjoy, MC 2011/5/16 fieldpeak <fieldpeak@gmail.com>
Hi Gurus,
Is there anybody can help this issue? thanks!
Regards, Charles
在 2011年5月14日 下午3:54,fieldpeak <fieldpeak@gmail.com>写道:
Hi Michael,
Thanks for your detailed suggestion.
i test it as below steps, it works fine, however, there is a limiation that i have to fill fixed callee number in conference.conf.xml (data="execute_extension 5001"), while actually i what to dial arbitrary number after "*" dynamically(e.g *1234, *2345), i can think out it could realize by a IVR script like "data="execute_extension IVR_scripts" and after IVR give some voice prompt (pls input the callee number) then ... however, considering simplicity, can i convey the DTMF into the dialplan (just directly press *1234, and then 1234 ring...)? could you please provide any hints or any suggestion... Thanks a lot!
1. in conference.conf.xml, set as below, <control action="execute_application" digits="*" data="execute_extension 5001"/>
2. in dial plan,
<!-- for confernce named conf100 --> <extension name="conf100" > <condition field="destination_number" expression="^666$"> <action application="answer"/> <action application="set" data="conference_user_list=|"/> <action application="conference" data="conf100@default"/> </condition> </extension>
and
<!-- for dial out 5001 from the conference conf100 -->
<extension name="5_to_conf_out" > <condition field="destination_number" expression="^(5\d+)$"> <!-- <action application="conference" data="conf100 dial sofia/internal/5001@192.168.200.201 100 Conference_Caller_Name"/> --> <!-- <action application="bridge" data="sofia/internal/$ 1@192.168.200.201"/> --> <action application="set" data="api_result=${conference(conf100 dial sofia/internal/$1@192.168.200.201 100 Conference_Caller_Name)}"/> </condition> </extension>
3. register a extension 3001, call 666 and join a conference, and then press "*", the FS will call 5001 on a IAD. then 5001 and 3001 join the same conference.
2011/5/12 liuyp2 <liuyp2@asiainfo-linkage.com>
conference Your-Conf-Name dial user/1002
------------------------------ liuyp2 2011-05-12 ------------------------------ *发件人:* fieldpeak *发送时间:* 2011-05-12 11:11:41 *收件人:* FreeSWITCH-users *抄送:* *主题:* [Freeswitch-users] call somebody into conference after conferenceestablished
Hi Gurus,
i dial 666 and enter a conference, then i need call some body's phone number to join him into this conference... is there anyone can advise how can realize this scenario?
thanks.
Regards, Charles
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Super useful, please do add it to the wiki. Sent via BlackBerry -----Original Message----- From: Michael Collins <msc@freeswitch.org> Sender: freeswitch-users-bounces@lists.freeswitch.org Date: Thu, 19 May 2011 20:24:21 To: FreeSWITCH Users Help<freeswitch-users@lists.freeswitch.org> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] call somebody into conference after conferenceestablished _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Thu, May 19, 2011 at 8:44 PM, <darknesslabs@gmail.com> wrote:
Super useful, please do add it to the wiki. Sent via BlackBerry
Done: http://wiki.freeswitch.org/wiki/Conference_Add_Call_Example -MC
Michael, it works great! perfect! thanks for your elaborated solution. 2011/5/21 Michael Collins <msc@freeswitch.org>
On Thu, May 19, 2011 at 8:44 PM, <darknesslabs@gmail.com> wrote:
Super useful, please do add it to the wiki. Sent via BlackBerry
Done: http://wiki.freeswitch.org/wiki/Conference_Add_Call_Example
-MC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi all, i have a problem. I have a Trunk. I can use from any other softphone these data, but not by fs. Fs give a 403 errormessage. I Send later with my recording. My Gatewaysection is: <gateway name="thomas1"> <param name="username" value="thomas1"/> <param name="from-domain" value="strato-iphone.de"/> <param name="password" value="meinpasswd"/> <param name="caller-id-in-from" value="false"/> <param name="proxy" value="strato-iphone.de"/> <param name="expire-seconds" value="120"/> <param name="register" value="true"/> <param name="retry-seconds" value="60"/> <param name="extension" value="thomas1"/> </gateway> </include> My trace now: Script started on Do 19 Mai 2011 22:24:50 CEST ubuntu:/tmp# /etc/init.d/freeswitch restart ubuntu:/tmp# fs_cli _____ ____ ____ _ ___ | ___/ ___| / ___| | |_ _| | |_ \___ \ | | | | | | | _| ___) | | |___| |___ | | |_| |____/ \____|_____|___| ******************************************************* * Anthony Minessale II, Ken Rice, Michael Jerris * * FreeSWITCH (http://www.freeswitch.org) * * Paypal Donations Appreciated: paypal@freeswitch.org * * Brought to you by ClueCon http://www.cluecon.com/ * ******************************************************* Type /help <enter> to see a list of commands +OK log level [7] freeswitch@internal> sofia loglevel all 9 Sofia log level for component [all] has been set to [9] freeswitch@internal> [36m2011-05-19 22:26:54.797919 [NOTICE] sofia_reg.c:367 Registering mobile1 [m[mnua: nua_register: entering [m[mnua(0x7fa78000d970): sent signal r_register [m[mnua(0x7fa78000d970): recv signal r_register [m[mnua: nua_stack_set_params: entering [m[msoa_set_params(static::0x7fa78802c0f0, ...) called [m[mnua(0x7fa78000d970): adding register usage [m[mnta_leg_tcreate(0x7fa788057100) [m[mauth_digest_a1() has A1 = MD5(thomas1:strato-iphone.de:meinpasswd) = c6c958107e411451fe8880d3e42330b1 [m[mA2 = MD5(REGISTER:sip:strato-iphone.de;transport=udp) [m[mauth_response: ca9d6bf51bcbd256e8be6d139097a85d = MD5(c6c958107e411451fe8880d3e42330b1:4dd57c75aa62e69ded38f11ed8f922eaed95f8a8:a9fc154a8935968d2d7aca6dbd10faa6) (qop=NONE) [m[mnta: selecting scheme sip [m[msres_cache_get(0x14d52e0, SRV, "_sip._udp.strato-iphone.de.") called [m[msres_cache_get(0x14d52e0, SRV, "_sip._udp.strato-iphone.de.") returned 2 entries [m[mnta: for "strato-iphone.de" query "_sip._udp.strato-iphone.de" SRV (cached) [m[mnta: _sip._udp.strato-iphone.de IN SRV 0 0 5060 strato-iphone-1.sip.1und1.de. (udp) [m[mnta: _sip._udp.strato-iphone.de IN SRV 0 0 5060 strato-iphone-2.sip.1und1.de. (udp) [m[msres_cache_get(0x14d52e0, A, "strato-iphone-1.sip.1und1.de.") called [m[mnta: for "strato-iphone.de" query "strato-iphone-1.sip.1und1.de." A [m[msres_query(0x14da550, 0x7fa7880435f0, A, "strato-iphone-1.sip.1und1.de.") called [m[msres_send_dns_query(0x14da550, 0x7fa78805f990) called [m[msres_send_dns_query(0x14da550, 0x7fa78805f990) id=36318 A strato-iphone-1.sip.1und1.de. (to [127.0.0.1]:53) [m[msres_resolver_receive(0x14da550, 37) called [m[mANSWER RR received strato-iphone-1.sip.1und1.de. A IN 300 rdlen=4 [m[mANSWER RR received strato-iphone-1.sip.1und1.de. A IN 300 rdlen=4 [m[mANSWER RR received strato-iphone-1.sip.1und1.de. A IN 300 rdlen=4 [m[mANSWER RR received strato-iphone-1.sip.1und1.de. A IN 300 rdlen=4 [m[mANSWER RR received strato-iphone-1.sip.1und1.de. A IN 300 rdlen=4 [m[mANSWER RR received strato-iphone-1.sip.1und1.de. A IN 300 rdlen=4 [m[mANSWER RR received strato-iphone-1.sip.1und1.de. A IN 300 rdlen=4 [m[mANSWER RR received strato-iphone-1.sip.1und1.de. A IN 300 rdlen=4 [m[mANSWER RR received strato-iphone-1.sip.1und1.de. A IN 300 rdlen=4 [m[mANSWER RR received strato-iphone-1.sip.1und1.de. A IN 300 rdlen=4 [m[mANSWER RR received strato-iphone-1.sip.1und1.de. A IN 300 rdlen=4 [m[mANSWER RR received strato-iphone-1.sip.1und1.de. A IN 300 rdlen=4 [m[mAUTHORITY RR received 1und1.de. NS IN 84886 rdlen=15 [m[mAUTHORITY RR received 1und1.de. NS IN 84886 rdlen=6 [m[msres_resolver_receive(0x14da550, 0x7fa78805f990) id=36318 (from [127.0.0.1]:53) [m[mnta: strato-iphone-1.sip.1und1.de. IN A 212.227.18.136 [m[mnta(0x7fa7880435f0): A 212.227.18.137 [m[mnta(0x7fa7880435f0): A 212.227.18.197 [m[mnta(0x7fa7880435f0): A 212.227.18.205 [m[mnta(0x7fa7880435f0): A 212.227.18.206 [m[mnta(0x7fa7880435f0): A 212.227.67.131 [m[mnta(0x7fa7880435f0): A 212.227.67.132 [m[mnta(0x7fa7880435f0): A 212.227.67.134 [m[mnta(0x7fa7880435f0): A 212.227.67.201 [m[mnta(0x7fa7880435f0): A 212.227.67.202 [m[mnta(0x7fa7880435f0): A 212.227.67.204 [m[mnta(0x7fa7880435f0): A 212.227.18.135 [m[mtport_tsend(0x7fa788034fa0) tpn = udp/212.227.18.136:5060 [m[mtport_resolve addrinfo = 212.227.18.136:5060 [m[mtport_by_addrinfo(0x7fa788034fa0): not found by name udp/212.227.18.136:5060 [m[mtport_vsend(0x7fa788034fa0): 872 bytes of 872 to udp/212.227.18.136:5060 [m[mtport_vsend returned 872 [m[mnta: sent REGISTER (12582343) to udp/212.227.18.136:5060 [m[mtport_pend(0x7fa788034fa0): pending 0x7fa7880aaae0 for udp/217.172.171.13:5080 (already 0) [m[mnta: timer set to 32000 ms [m[mnta: timer shortened to 1000 ms [m[mtport_wakeup_pri(0x7fa788034fa0): events IN [m[mtport_recv_event(0x7fa788034fa0) [m[mtport_recv_iovec(0x7fa788034fa0) msg 0x7fa78001fd10 from (udp/217.172.171.13:5080) has 528 bytes, veclen = 1 [m[mtport_deliver(0x7fa788034fa0): msg 0x7fa78001fd10 (528 bytes) from udp/212.227.18.136:5080/sip next=(nil) [m[mnta: received 401 Unauthorized for REGISTER (12582343) [m[mnta: 401 Unauthorized is going to a transaction [m[mnta_outgoing: RTT is 10.162 ms [m[mtport_release(0x7fa788034fa0): 0x7fa7880aaae0 by 0x7fa7880435f0 with 0x7fa78001fd10 [m[mauth_digest_challenge_get(): got 3 [m[mauth_digest_a1() has A1 = MD5(thomas1:strato-iphone.de:meinpasswd) = c6c958107e411451fe8880d3e42330b1 [m[mA2 = MD5(REGISTER:sip:strato-iphone.de;transport=udp) [m[mauth_response: 66a53a7552eb95e388d9c88413d6f4da = MD5(c6c958107e411451fe8880d3e42330b1:4dd57d2cf24de219e3a4b67ee77b6fb7091d4fd9:a9fc154a8935968d2d7aca6dbd10faa6) (qop=NONE) [m[mnta: selecting scheme sip [m[msres_cache_get(0x14d52e0, SRV, "_sip._udp.strato-iphone.de.") called [m[msres_cache_get(0x14d52e0, SRV, "_sip._udp.strato-iphone.de.") returned 2 entries [m[mnta: for "strato-iphone.de" query "_sip._udp.strato-iphone.de" SRV (cached) [m[mnta: _sip._udp.strato-iphone.de IN SRV 0 0 5060 strato-iphone-1.sip.1und1.de. (udp) [m[mnta: _sip._udp.strato-iphone.de IN SRV 0 0 5060 strato-iphone-2.sip.1und1.de. (udp) [m[msres_cache_get(0x14d52e0, A, "strato-iphone-1.sip.1und1.de.") called [m[msres_cache_get(0x14d52e0, A, "strato-iphone-1.sip.1und1.de.") returned 12 entries [m[mnta: for "strato-iphone.de" query "strato-iphone-1.sip.1und1.de." A (cached) [m[mnta: strato-iphone-1.sip.1und1.de. IN A 212.227.18.137 [m[mnta(0x7fa780020130): A 212.227.18.197 [m[mnta(0x7fa780020130): A 212.227.18.205 [m[mnta(0x7fa780020130): A 212.227.18.206 [m[mnta(0x7fa780020130): A 212.227.67.131 [m[mnta(0x7fa780020130): A 212.227.67.132 [m[mnta(0x7fa780020130): A 212.227.67.134 [m[mnta(0x7fa780020130): A 212.227.67.201 [m[mnta(0x7fa780020130): A 212.227.67.202 [m[mnta(0x7fa780020130): A 212.227.67.204 [m[mnta(0x7fa780020130): A 212.227.18.135 [m[mnta(0x7fa780020130): A 212.227.18.136 [m[mtport_tsend(0x7fa788034fa0) tpn = udp/212.227.18.137:5060 [m[mtport_resolve addrinfo = 212.227.18.137:5060 [m[mtport_by_addrinfo(0x7fa788034fa0): not found by name udp/212.227.18.137:5060 [m[mtport_vsend(0x7fa788034fa0): 872 bytes of 872 to udp/212.227.18.137:5060 [m[mtport_vsend returned 872 [m[mnta: sent REGISTER (12582344) to udp/212.227.18.137:5060 [m[mtport_pend(0x7fa788034fa0): pending 0x152b3e0 for udp/217.172.171.13:5080 (already 0) [m[mnua(0x7fa78000d970): event r_register 100 Request Authorized by Cache [m[mnua: nua_application_event: entering [m[mnua: nua_handle_magic: entering [m[mtport_wakeup_pri(0x7fa788034fa0): events IN [m[mtport_recv_event(0x7fa788034fa0) [m[mtport_recv_iovec(0x7fa788034fa0) msg 0x7fa78001e570 from (udp/217.172.171.13:5080) has 445 bytes, veclen = 1 [m[mtport_deliver(0x7fa788034fa0): msg 0x7fa78001e570 (445 bytes) from udp/212.227.18.137:5080/sip next=(nil) [m[mnta: received 403 Contact User und Anrufernummer verschieden for REGISTER (12582344) [m[mnta: 403 Contact User und Anrufernummer verschieden is going to a transaction [m[mnta_outgoing: RTT is 9.805 ms [m[mtport_release(0x7fa788034fa0): 0x152b3e0 by 0x7fa780020130 with 0x7fa78001e570 [m[mnua(0x7fa78000d970): event r_register 403 Contact User und Anrufernummer verschieden [m[mnua(0x7fa78000d970): removing register usage [m[mnta_leg_destroy(0x7fa788057100) [m[mnua: nua_application_event: entering [m[31m2011-05-19 22:26:54.837925 [ERR] sofia_reg.c:1771 mobile1 Registration Failed with status Contact User und Anrufernummer verschieden [403]. failure #3 [m[mnua: nua_handle_magic: entering [m[35m2011-05-19 22:26:55.797927 [WARNING] sofia_reg.c:425 mobile1 Failed Registration [0], setting retry to 240 seconds. [m[mnta: timer set next to 4009 ms [m[mnta: timer K fired, terminate REGISTER (12582343) [m[moutgoing_reclaim_all((nil), (nil), 0x7fa78c8d7d00) [m[mnta_outgoing_timer: 0/0 resent, 0/0 tout, 1/2 term, 1/2 free [m[mnta: timer set next to 9 ms [m[mnta: timer K fired, terminate REGISTER (12582344) [m[moutgoing_reclaim_all((nil), (nil), 0x7fa78c8d7d00) [m[mnta_outgoing_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free [m[mnta: timer not set [m freeswitch@internal> /exit ubuntu:/tmp# exit Script done on Do 19 Mai 2011 22:28:40 CEST Can your help please? --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
You can add a caller from fs_cli with the "conference" command: conference <conf_name> dial sofia/external/foo@bar <caller id num> <caller id name> -MC On Wed, May 11, 2011 at 8:11 PM, fieldpeak <fieldpeak@gmail.com> wrote:
Hi Gurus,
i dial 666 and enter a conference, then i need call some body's phone number to join him into this conference... is there anyone can advise how can realize this scenario?
thanks.
Regards, Charles
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Michael, Thanks for your reply . Is it possible that when I press the phone number inside the conference the FS call the cmd api as you wrote below . Thanks. Regards, Charles 在 2011-5-13 上午12:33,"Michael Collins" <msc@freeswitch.org>写道:
You can add a caller from fs_cli with the "conference" command:
conference <conf_name> dial sofia/external/foo@bar <caller id num> <caller id name>
-MC
On Wed, May 11, 2011 at 8:11 PM, fieldpeak <fieldpeak@gmail.com> wrote:
Hi Gurus,
i dial 666 and enter a conference, then i need call some body's phone number to join him into this conference... is there anyone can advise how can realize this scenario?
thanks.
Regards, Charles
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
2011/5/12 fieldpeak <fieldpeak@gmail.com>
Hi Michael,
Thanks for your reply . Is it possible that when I press the phone number inside the conference the FS call the cmd api as you wrote below . Thanks.
Yes, but I highly recommend that you use the "bind_digit_application" app instead of the caller_controls in the conference profile. This is because if you use the caller_controls then *anyone* in the conference can do the magic dial-out thing if they know the DTMF sequence you've assigned. By applying bind_digit_action (BDA) items to *your* call into the conference you are the only one who has the ability to use the magic key sequence. Here are some tips: #1 - look up the BDA examples on the wiki so you get an idea of how they work #2 - remove at least one key from the caller controls in your conference profile. The caller control keys will hijack any BDA assignments you've made. Personally, I like to remove the * binding in the caller controls and then use *1, *2, etc. as the key sequences in my BDA assignments #3 - You'll need some sort of dialog to capture the digits used to dial out. Let's say you assign *1 as the magic key combo. When you dial *1 your BDA should do something like execute_extension or a lua script that lets you key in the phone number to dial out. The script (or extension) will need to execute the conference API to perform the dial out. You'll need to tinker around with all these pieces in order to make them into a working app. If you run into trouble email back and maybe in my spare time (haha) I'll write up a sample Lua script & corresponding dialplan entry. -MC
participants (5)
-
darknesslabs@gmail.com
-
fieldpeak
-
liuyp2
-
Michael Collins
-
Thomas Hoellriegel