All pastes #913201 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-02-21 22:01 UTC
rendered paste body

    * 72 (sipura) dials 74 (twinkle)
    * 74 enters dtmf **4318004664411*51
    * 72 is put on hold and 74 is connected to 18004664411
    * 74 does a transfer via GUI (sip refer) to extension 347
    * mod_fdial gives error, Could not perform attended transfer b/c there are 0 parked aliens


Here is the full output:

2008-02-21 13:06:55 [DEBUG] sofia.c:288 sofia_event_callback() event [nua_i_refer] status [202][Accepted] session: sofia/local/74
2008-02-21 13:06:55 [DEBUG] sofia.c:1779 sofia_handle_sip_i_refer() Process REFER to [347@192.168.1.101]
2008-02-21 13:06:55 [INFO] mod_fdial.c:1406 sip_attended_transfer() sip_attended_transfer called, cmd: ATTENDED_TRANSFER|WLAN

2008-02-21 13:06:55 [DEBUG] mod_fdial.c:185 fdial_main_seperate_function_call_data() ATTENDED CALL TRANSFER ...
2008-02-21 13:06:55 [DEBUG] mod_fdial.c:326 fdial_main_seperate_parameters() FMC User domain set to default (local)
2008-02-21 13:06:55 [DEBUG] mod_fdial.c:352 fdial_main_seperate_parameters() FMC member type is: "WLAN"
2008-02-21 13:06:55 [DEBUG] mod_fdial.c:1334 fdial_function() Channel variable "fdial_controller" found with value "72@local"
2008-02-21 13:06:55 [DEBUG] config.c:28 fdial_config_get_user_id_by_number() Looking for user with number "74" (type: gsm)
2008-02-21 13:06:55 [DEBUG] switch_regex.c:198 switch_regex_match() number of matches: -1
2008-02-21 13:06:55 [DEBUG] switch_regex.c:198 switch_regex_match() number of matches: -1
2008-02-21 13:06:55 [DEBUG] switch_regex.c:198 switch_regex_match() number of matches: 1
2008-02-21 13:06:55 [DEBUG] config.c:67 fdial_config_get_user_id_by_number() Found user "74" (type: gsm) - Number [74] found in [sofia/gateway/gw_phone74/18314642625].
2008-02-21 13:06:55 [DEBUG] controller.c:478 fdial_controller_find() Finding controller with hash "72@local" ...
2008-02-21 13:06:55 [DEBUG] mod_fdial.c:442 fdial_main_find_controller() Found controller for specified user!
2008-02-21 13:06:55 [DEBUG] features.c:428 fdial_features_attended_call_transfer() fdial_features_attended_call_transfer
2008-02-21 13:06:55 [WARNING] features2.c:42 fdial_features2_attended_transfer() (wlan): "#0/72@local" -- Could not perform attended transfer b/c there are 0 parked aliens.  Feature requires exactly 1 parked alien


so when this goes into fdial, I believe it is using "74" as the member (who is not the originator),
and for that reason it is not seeing any parked aliens. 

So from within fdial, I need to be able to find the originator member (eg, 72) and use that
from then on.